Using the PRINT Command to Send Files for Printing from the Command Line


By Dan DiNicolo, April 17th, 2007 Posted in Windows Commands. Subscribe to our RSS Feed



Rather Have Fast and Secure Remote Control?

 Securely access PCs and servers worldwide through any firewall. Try it and see for yourself!

Most users are familiar with the standard GUI-based methods of sending a file to a printer, including the File > Print menu in most applications, or the CTRL+P keyboard shortcut. However, it’s also possible to send a text document to a configured serial or parallel port printer from the command line via the PRINT utility. To do so, simply issue the command PRINT /D:device followed by the name of the file to print.

An example of sending a file named test.txt to a printer connected to port LPT1 would be accomplished via the command PRINT /D:LPT1 c:\test.txt.

Written by Dan DiNicolo - Visit Website

Print This Post Print This Post













All Tutorials by Category:















Entire site Copyright © 1999-2007 2000Trainers.com, all rights reserved.
Content on this site may not be copied or reproduced in any way without permission.





IT Showcase


Text Link Ads

View all Tutorials by Category: