The NET PRINT command is used to manage Network
Print jobs. This command was deprecated in Windows 7 and removed completely in Windows 10. However, you can perform many of the same tasks using Windows PowerShell cmdlets, VB Script, Prnjobs.vbs or Windows Management Instrumentation (WMI)
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"
Related:
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.