I am installing the printers using the following command
net stop spooler
reg.exe ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ports" /v \\MyPrinterserver\2F26P-CLR /t REG_SZ /f
reg.exe ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ports" /v \\MyPrintserver\2F26P-BW /t REG_SZ /f
net start spooler
rundll32 printui.dll PrintUIEntry /if /b "2F26P-CLR" /r "\\MyPrintserver\2F26P-CLR" /m "HP LaserJet P3011/P3015 PCL6"
rundll32 printui.dll PrintUIEntry /if /b "2F26P-BW" /r "\\MyPrintserver\2F26P-BW" /m "HP LaserJet P3011/P3015 PCL6"
rundll32 printui.dll PrintUIEntry /y /n "2F26P-BW"

Everything is working great, except for the 2F26-BW queue, the driver is defaulting to color, I would like it to be grayscale. I need to do this via command line because I have a lot of stations to run this script on.
This post has been edited by clivebuckwheat: 14 August 2012 - 06:38 PM



Help

Back to top









