net print
IMPORTANT: This command has been deprecated. Windows commands reference
On Windows
Windows
IMPORTANT: This command has been deprecated. However, you can perform many of the same tasks using the prnjobs command, Windows Management Instrumentation (WMI), PrintManagement in Powershell. Displays information about a specified printer queue or a specified print job, or controls a specified print job.
net print {\<computername>\<sharename> | \<computername> <jobnumber> [/hold | /release | /delete]} [help]printers at \\PRODUCTIONName Job # Size Status-----------------------------LASER Queue 3 jobs printer activeUSER1 84 93844 printingUSER2 85 12555 WaitingUSER3 86 10222 WaitingJob # 35Status WaitingSize 3096remark
\<computername>\<sharename>Specifies (by name) the computer and print queue about which you want to display information.\<computername>Specifies (by name) the computer that hosts the print job you want to control. If you do not specify a computer, the local computer is assumed. Requires the <jobnumber> parameter.<jobnumber>Specifies the number of the print job you want to control. This number is assigned by the computer that hosts the print queue where the print job is sent. After a computer assigns a number to a print job, that number is not assigned to any other print jobs in any queue hosted by that computer. Required when using the \<computername> parameter.[/hold | /release | /delete]Specifies the action to take with the print job. If you specify a job number, but don't specify any action, information about the print job is displayed.
- /hold - Delays the job, allowing other print jobs to bypass it until it is released.
- /release - Releases a print job that has been delayed.
- /delete - Removes a print job from a print queue.helpDisplays help at the command prompt.