JSI Tip 6629. What tools are available for Windows Server 2003 command-line printing?

All the command-line print tools are Visual Basic scripts. The folllowing tools are available in the %SystemRoot%\System32 folder (See Help and Support for more details):

Prncnfg:
      A printer configuration script for Windows Management Instrumentation (WMI)
              that is used to RENAME AND receive and set a printer configuration.

Prndrvr:      A driver script for WMI that is used to add, delete, and list drivers.

Prnjobs:      A job control script for WMI that is used to pause, resume, cancel, and list jobs.

Prnmngr:      A printer script for WMI that is used to add, delete, and list printers and connections.
                     This script can receive and set the default printer.

Prnport:      A port script for WMI that is used to add, delete, and list ports.
                     This script can receive and set the port configuration.

Prnqctl:      A printer control script for WMI that is used to pause, resume, and purge a printer. 
                     This script can print a test page on a printer.
Additional tool are available in the Support Tools folder of the Windows Server 2003 CD-ROM and in the Resource Kit.

NOTE: To run these tools, the syntax is cscript script_name.vbs \[arguments\]. If you set the default script to Cscript, you can run script_name.vbs \[arguments\].



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish