The NET command is used to manage Network Print jobs. This command has been deprecated in Windows 7 and Windows Server 2008 R2. However, you can perform many of the same tasks using Prnjobs.vbs, Windows Management Instrumentation (WMI), or Windows PowerShell cmdlets.

Display the job# of current print jobs
NET PRINT \\ComputerName\ShareName

Hold a print job waiting in the printer queue
NET PRINT [\\ComputerName] job# /HOLD

Release a print job that has been held.
NET PRINT [\\ComputerName] job# /RELEASE

Delete a print job from a printer queue.
NET PRINT [\\ComputerName] job# /DELETE

List all available printers
NET VIEW \\MyServer |find "Print"


NET - Manage network resources.
PRINTBRM - Print queue Backup/Recovery.
PRNCNFG - Display, configure or rename a printer.
PRNJOBS - Pause, resume, cancel, or list print jobs.
PRNMNGR - Add, delete, list printers and printer connections.
VB Script: Add printer connection
VB Script: List printers
VB Script: Set default printer
Equivalent bash command (Linux): lpc - Line printer control program

© Copyright 1999-2016
Some rights reserved