Page 1 of 1 1
Topic Options
#33704 - 2002-11-30 12:18 AM Problems with AddPrinterConnection
Grasshopper Offline
Fresh Scripter

Registered: 2002-11-29
Posts: 15
Loc: London, UK
We have recently renamed and moved our printers from an old NT print server to a W2K print server and are having problems with our test script to reconnect users to the new printers. We are currently using the con2prt utility from the NT4 resource kit but have found this to be very slow, since testing kix with addprinterconnection it seems to be twice as slow. It seems it downloads the driver everytime I log on and with 20 somethimg printers can take up to 15 minutes to process the login script. We have a mixed environment of NT and XP Professional machines and I am currently running the test script on my XP machine. Any suggestions of a way to speed things up ?? Also looking at a way for the user to define their own newly named default printer rather than one printer we allocate to them, I would like to do a kixform or something but like I say I am new to kix and have no idea at this stage.
Any help would be greatly appreciated.
Cheers,
Grasshopper.
_________________________
Just Another Aussie on Tour !

Top
#33705 - 2002-11-29 03:05 PM Re: Problems with AddPrinterConnection
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
check our udf library (link in my sig)

as the drivers really get installed again, you should give PriMapState() a go.
_________________________
!

download KiXnet

Top
#33706 - 2002-11-29 10:34 PM Re: Problems with AddPrinterConnection
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
I don't think that ADDPRINTERCONNECTION itself is responsible for the slowdown. I routinely log in with 10-12 connected printers and do not have any kind of slow-down. You might want to put timers into yoru script to see where it slows down.
_________________________
There are two types of vessels, submarines and targets.

Top
#33707 - 2002-11-29 10:38 PM Re: Problems with AddPrinterConnection
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
and as addition to jens post (why I always do this???)

running the script with xp is not good way to check real times.
if you have "stable" synchronously working test machine (nt/w2k) you should test with them to get real results.
_________________________
!

download KiXnet

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
0 registered and 952 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.103 seconds in which 0.079 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