IsraelTorres
(Lurker)
2007-07-11 01:27 PM
Problem with UDF Library : AddPrinter() - Add IP,LPT, or COM Printers

Hello,

I use Kix32 in my company to add network units and printers. Last week I tried to add IP printers with this Library:

http://kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=84165&gonew=1#UNREAD

but I had a problem:

The first time that I execute it the script ask me for the route of the driver (I've add this route in the command line and it's correct) if I close this windows the script doesn't add any printer.

The second time that I execute it the script works correctly and add each printer 2 times.

If I execute the script 3 times I have the first time error again.

How could I know what is the problem?

Thanks a lot!!


AllenAdministrator
(KiX Supporter)
2007-07-11 03:06 PM
Re: Problem with UDF Library : AddPrinter() - Add IP,LPT, or COM Printers

Can you provide the relevant part of the script where it is not working? Also, have you added any error checking? For example put this

@serror + " - " + @error
right after the line in question.

Are the users admins? What OS?