The net print command in Windows
(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:
- Netcfg command in Windows
- Nbtstat command in Windows
- Bitsadmin create command in Windows
- Bcdboot command in Windows
- The bcdedit command in Windows
You should read it
- The print command in Windows
- PHP syntax
- How to print the folder content structure in Windows 10
- Relax with 3 ways to print in this simple reverse order
- How to cancel a print job on Word, Excel
- Steps to disable Print Spooler on Windows 10
- How to print web pages without ads
- How to print Excel, print Excel spreadsheets fast, standard
- How to print A4 to A5 in PDF simple and fast
- How to cancel a print job in Windows 8
- How to Print Part of an Excel Spreadsheet
- Print () function in Python