The net print command in Windows

(Applies to Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012)

(Applies to Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012)

Displays information about specified printers or specified print jobs or controls the specified print job.For a better understanding, refer to examples of how to use this command in the example below.

attention:

This command was not accepted in Windows 7 and Windows Server 2008 R2.However, you can still do many other similar tasks by using prnjobs, Windows Management Instrumentation (WMI) or Windows PowerShell commands.For more information, see prnjobs, Windows Management Tools (https://go.microsoft.com/fwlink/?LinkID=29991), Windows PowerShell (https://go.microsoft.com/fwlink/? LinkID = 128426), and TechNet Script Central Library (https://go.microsoft.com/fwlink/?LinkId=164635).

Syntax

 Net print {| 

[/ hold | / release | / delete]} [help]

Parameters

Parameters

Describe

 

Specify (by name) computer and print queue (print queue) that you want to display information.

 

Specify (by name) computers that print jobs that you want to control.If you do not specify a computer, the local computer is assumed.There are required parameters.

Specify the number of jobs you want to control.This number is assigned by the computer that stores the print queue where the print job is sent.After the computer assigns each number to a print job, that number will not be assigned to any other print jobs in any queue stored by that computer.This parameter is required when using parameters.

[/ hold |/ release |/ delete]

Specifying the action to perform with the print job.

- The / hold parameter to delay the job, allowing other print commands to ignore the job until it is released.

- The parameter / release to release the print job has been delayed.

- The parameter / delete is responsible for deleting the print job from the queue.

If you have specified a job number, but do not specify any specific action, information about the job will be displayed.

help

Show help forNetcommandprint

Note

Net print displays information about the print job in the shared queue.The following is an example of a report for all print jobs in the queue for a shared printer named LASER:

 printers at PRODUCTION Job Name # Size Status ----------------------------- 
LASER Queue 3 jobs * printer active * USER1 84 93844 printing USER2 85 12555
USER Waiting3 86 10222 Waiting

The following is an example of a report for a print job:

 Job # 35 Status Waiting Size 3096 remark Submitting user USER2 Notify USER2 Job 
data type Job parameters additional info

For example:

This example shows how to list the contents of the queue in Dotmatrix on the computer Production:

 Net print ProductionDotmatrix 

This example shows how to display information about job number 35 on the Production computer

 Net print Production 35 

This example shows how to delay job number 263 on on Production computer

 Net print Production 263 / hold 

This example shows how to release job number 263 on the Production computer

 Net print Production 263 / release 

See more:

  1. Netcfg command in Windows
  2. Nbtstat command in Windows
  3. Bitsadmin create command in Windows
  4. Bcdboot command in Windows
  5. The bcdedit command in Windows
4.2 ★ | 5 Vote | 👨 1060 Views
« PREV POST
NEXT POST »