net print |
Manages printer queues and print jobs.
net print \ computername \ sharename net print [\ computername ] job# [/hold /release /delete]
Indicates the print server
Indicates share name of the printer
Represents identification number of print job
Holds a print job waiting in a queue and lets other jobs bypass it (use with job# )
Releases a job that is on hold
Deletes a job from the queue
Display jobs in print queue of printer HPLASERJ on print server TEST :
net print \test\hplaserj Printers at \test Name Job # Size Status ----------------------------------------------------- hplaserj Queue 1 jobs *Printer Active* administrator 3 17500 Printing The command completed successfully.
Look at details of job 3 earlier:
net print \test 3 Print job detail Job # 3 Status Printing Size 17500 Remark Untitled - Notepad Submitting user administrator Notify administrator Job data type NT EMF 1. Job parameters Additional info The command completed successfully.
Delete job 3 from the queue:
net print \test 3 /delete The command completed successfully.
To find the share name of your shared printer, type net share at the command line.
If a print server has multiple shared printers, each printer has its own print queue. However, jobs in different print queues on the same server can't have the same job ID number.
Printing