PRINT

Posted On 2007-04-24 by FortyPoundHead
Keywords: COMMAND REFERENCE
Tags: Windows Commandline Windows
Views: 1476


Print a file or files to a local or network printer.


syntax
PRINT [/D:device] [pathname(s)]

key
device : either a local printer (LPTx, COMx )
or a network printer by its sharename (\\servername\print_share)

pathname : The file or files to be printedThe default device is PRN. The values PRN and LPT1 refer to the same parallel port.

To delete a print job:

Use Control Panel, Printers (GUI) or use
NET PRINT job# /DELETE

It is possible to delete the relevant .spl and .shd files from
%SystemRoot%\system32\spool\PRINTERS
but the .spl file for a print job at the top of the print queue cannot be deleted.

Printing requires the Spooler service to be running


About the Author

FortyPoundHead has posted a total of 1974 articles.


Comments On This Post

No comments on this post yet!


Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.


Your IP address is:54.234.65.78

Before you can post, you need to prove you are human. If you log in, this test goes away.




Code Links