NET HELP PRINT: displays print jobs and shared queues.For each queue, the display lists jobs, showing the size and status of each job, and the s ...
The command: "NET HELP PRINT" is on Windows 11, 10, .. available
The examples for the command "NET HELP PRINT"
The `NET PRINT`
command is used on the Windows command line to display information about printer queues or manage print jobs. Here are examples of using this command:
Example 1: View all printer queues on the computer
This command lists all printer queues on the local computer, including the names of the printers and the number of pending print jobs.
Example 2: View details about a specific print queue
net print "printer name"
A detailed list of pending print jobs for a specific printer named "Printer Name"
is displayed here.
Example 3: Send print job
echo test pressure > LPT1
net print /d:"Printer name" LPT1
This command sends a test print job to a printer named "printername"
. Note that "LPT1"
is an example of the printer port and should be replaced with the actual port.
Example 4: Delete print job
net print /delete "printer name" print job number
Here a pending print job for a specific printer with the name "Printer Name"
and the specified print job number is deleted.
Example 5: View information about a remote printer
net print \\RemoteComputer\printername
This command displays information about a printer queue on a remote computer with the name "RemoteComputer"
and the printer name "printername"
Example 6: Show print queue for a specific user
net print /user:"Username"
This shows the print queue for a specific user named "username"
Example 7: Delete print jobs for a specific printer
net print /purge "printer name"
This command deletes all pending print jobs for a specific printer named "printername"
Please note that the exact printer or queue names may vary depending on your system configuration. Use `NET PRINT /?`
in the command prompt to check the specific options and syntax details for your version of Windows.
"NET HELP PRINT" Excerpt from Microsoft Windows Help
Microsoft Windows [Version 10.0.19045.3693]
(c) Copyright 1985-2023 Microsoft Corp.
The syntax of this command is:
[\\computername] job# [/HOLD | /RELEASE | /DELETE]
NET PRINT displays print jobs and shared queues.
For each queue, the display lists jobs, showing the size
and status of each job, and the status of the queue.
\\computername Is the name of the computer sharing the printer
sharename Is the name of the shared printer queue.
job# Is the identification number assigned to a print
job. A computer with one or more printer queues
assigns each print job a unique number.
/HOLD Prevents a job in a queue from printing.
The job stays in the printer queue, and other
jobs bypass it until it is released.
/RELEASE Reactivates a job that is held.
/DELETE Removes a job from a queue.
NET HELP command | MORE displays Help one screen at a time.
Important information, tips for the "NET HELP PRINT" command
When using the `NET PRINT` command on the Windows command line, you should note the following points:
1. Administrative Privileges:
- Viewing printer queues and managing print jobs may require administrative permissions. Make sure you open Command Prompt as an administrator to access all necessary resources.
2. Use correct syntax:
- Be sure to use the correct syntax for the `NET PRINT` command. Incorrect syntax can lead to errors. You can use `NET PRINT /?` to check the specific options and syntax details.
3. Printer Drivers and Configuration:
- Check that the printer drivers and print queue configuration are correct, as problems in this area can cause print job problems.
4. Check Printer Status:
- Check the status of the printers to ensure they are operational and there are no errors.
5. Effects of print job deletion:
- Deleting print jobs with `NET PRINT /delete` can cause print jobs that have already started to be canceled. Make sure this is intentional before deleting print jobs.
6. Print Job Security:
- Pay attention to security aspects when viewing and deleting print jobs. Unauthorized changes to print jobs can impact the user experience.
7. Use in scripts or automation:
- When using `NET PRINT` in scripts or automation, ensure your script includes checks and logging to minimize unwanted effects.
8. Print jobs from remote computers:
- If you are viewing or managing print jobs on a remote computer, ensure that you have appropriate permissions and the network connection is reliable.
9. Version Compatibility:
- Note that the availability of certain options and the behavior of the command may vary depending on the version of Windows. Make sure your commands are compatible with the specific version of the operating system.
10. Logging and logging:
- Log actions if necessary to track changes and make them available for future review.
By keeping these points in mind, you can safely and effectively use the `NET PRINT` command in your environment to view printer queue information and manage print jobs.