I am trying to create a batch file for my helpdesk that is going to be used to test zebra printers.
Here is the batch that i created
set /p %zebra= Enter Printers name -
set /p %server= Enter Server name -
rundll32 printui.dll,PrintUIEntry /in /n\\%server%\%zebra%
mspaint /p test.bmp /pt %zebra%
rundll32 printui.dll,PrintUIEntry /dl /n %zebra% /q
two things are wrong with this
mspaint /p test.bmp /pt "network printer"
tells me that the specified printer is invalid. The printer is there. and,rundll32 printui.dll,PrintUIEntry /dl /n %zebra% /q
doesn't delete the printer that is added. i have also tried using/dn %zebra%
and that didn't work either.
any suggestions?