Forcing a printer online using a script:

printer_iconRecently 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

Related Posts

Igel Database command mistake. Despite Igels better judgement, the command they have published in their documentation to create an SQL database does not work. The command itself can...
Unattended install of AppV Lightweight streaming s... I set about rolling out appv light weight streaming server recently, its the new version of app that requires no database, management server, console....
Enteo: What the hell is a mscreate.dir folder? We are using Enteo as a deployment method for our new citrix farms at present, we are having one or two bugs but over all I'm greatly impressed with...

Leave a Reply