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
CON2PRT - Connect or disconnect a Printer
PRNCNFG - Display, configure or rename a printer
PRNJOBS - Pause, resume, cancel, or list print jobs
PRNMNGR - Add, delete, or list print connections, set the default printer
VB Script: Add printer connection
VB Script: List printers
VB Script: Set default printer
Equivalent bash command (Linux): lpc - Line printer control program