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:

  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

May be interested

  • Sub-commands in nslookup Windows command (Part 3)Sub-commands in nslookup Windows command (Part 3)
    nslookup set recurse, nslookup set retry, nslookup set root, nslookup set search, nslookup set srchlist, nslookup set timeout, nslookup set type, nslookup set vc, and nslookup view in windows
  • Command at in WindowsCommand at in Windows
    the at command schedules commands and programs to run on a computer at a specified time with a specific date. you can only use the command at when schedule service is running.
  • How to restart the Print Spooler service on WindowsHow to restart the Print Spooler service on Windows
    service print spooler is an essential for printing documents on any windows operating system. it is responsible for managing print jobs sent from the computer to the printer and can be dysfunctional due to errors or corrupted files.
  • Set command in WindowsSet command in Windows
    the set command helps show, set or remove cmd.exe environment variables.
  • Del command in WindowsDel command in Windows
    the del command deletes one or more files. this command is the same as the eraser command.
  • Word tips: Avoid printing unwanted textWord tips: Avoid printing unwanted text
    you can still edit documents every day with a word program, but because the information security requirements you absolutely cannot print once it is not needed. however, the print function on the word toolbar is always available to execute the print command for d & ugr
  • 10 useful commands in Windows you should know10 useful commands in Windows you should know
    command prompt is used to execute batch files, perform tasks quickly, help you troubleshoot and solve some windows problems when the system crashes. however, not all commands in windows are useful and must be done regularly. with the 10 command lines in the following article it is very useful even if you are not an administrator.
  • Relax with 3 ways to print in this simple reverse orderRelax with 3 ways to print in this simple reverse order
    there is always a right way to print your documents. some inkjet printers print pages from the top, which means you have to manually reverse the print order. this is not a problem when printing only a few pages, but when you print a few hundred pages of documents then you need a trick to print them in reverse order so you can arrange them neatly.
  • How to save command line output to file on Windows, Mac and LinuxHow to save command line output to file on Windows, Mac and Linux
    when you run a terminal command, it will usually print the output in the terminal so you can read it immediately. however, sometimes you will want to save the output for later analysis or combination with another tool.
  • How to use Share 2 Print images, content on Windows 10How to use Share 2 Print images, content on Windows 10
    share 2 print adds printing to uwp applications that are not supported for printing on windows 10.