Printing Via Scripit

  • Thread starter Thread starter Jamie Ewart
  • Start date Start date
J

Jamie Ewart

Hi

I used to have win2k clients and I had a batch file that configured
printers for them using the following command:

rundll32 Printui.dll PrintUIEntry /c \\exchsrv /in /n
\\exchsrv\ict1Ljet

when this command was run the printers appeared and you could print to them

now that I have upgraded my clients to winXP the command runs ok but the
printers do not appear and therefore I can not print to them. Any ideas.

Oh I have tried adding the switch /ga but this produces an error message on
the systems

Thanks in advance

Jamie
 
Jamie Ewart said:
Hi

I used to have win2k clients and I had a batch file that configured
printers for them using the following command:

rundll32 Printui.dll PrintUIEntry /c \\exchsrv /in /n
\\exchsrv\ict1Ljet

when this command was run the printers appeared and you could print to them

now that I have upgraded my clients to winXP the command runs ok but the
printers do not appear and therefore I can not print to them. Any ideas.

Oh I have tried adding the switch /ga but this produces an error message on
the systems

Thanks in advance

Jamie

Have you tried adding the /dl option if a local printer needs to be deleted
beforehand?

rundll32 Printui.dll PrintUIEntry /dl /c \\exchsrv /in /n \exchsrv\ict1Ljet

If you think that the problem is driver related and you do have an XP driver
installed for that printer queue, specify the driver with the /v switch.

rundll32 Printui.dll PrintUIEntry /dl /c \\exchsrv /in /n \exchsrv\ict1Ljet
/v "Windows XP"
 
Back
Top