Page 1 of 1 1
Topic Options
#121965 - 2004-06-29 05:13 PM AddPrinterConnection
gjaquay Offline
Lurker

Registered: 2004-06-29
Posts: 1
We are using the AddPrinterConnection and DelPrinterConnection commands in our kixtart script and they work fine in Windows 2000 but not in Windows XP. Is there a different command to use or is there a different syntax to use with Windows XP? Any ideas would be greatly appreciated.
Top
#121966 - 2004-06-29 07:24 PM Re: AddPrinterConnection
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
Are you sure the printer drivers that work on 2K are compatible with win XP? There should be no difference in the way the function is called, syntax wise.
Top
#121967 - 2004-06-30 01:32 AM Re: AddPrinterConnection
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Trap the error your getting from AddPrinterConnection and report back. Trace it like this:

$Error = AddPrinterConnection(...)

?"ERROR=" + $Error


Top
#121968 - 2004-06-30 04:18 AM Re: AddPrinterConnection
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Articles that maybe of interest in your troubleshooting. The second is probably the most suspicous...
How to troubleshoot network printing problems in Windows XP

Non-Administrators Cannot Remap an LPT Port to a Network Printer

You Are Prompted for Administrator Credentials When You Try to Install a Plug and Play Printer

HTH,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Henriques) and 2516 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.103 seconds in which 0.077 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org