Recently while installing Zetafax 11, we noticed that some of our maintenance scripts on our XenApp servers were causing the zetafax printer to fall offline on reboot. Below is a simple to use (built in to server 2003) script that can be used to force a printer online.
The Following will force “Printer Name” to work online:
cscript C:WINDOWSsystem32prncnfg.vbs -t -p “Printer Name” -workoffline
As an extra function, the below will rename a local printer:
Cscript %windir%system32Prncnfg.vbs -x -p “old printer name” -z newprintername