Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Command Line Print

Status
Not open for further replies.

mveilleu

Programmer
Jul 23, 2004
13
US
I am looking for a way to print a text file from the command line. I have tried the following.

notepad /p textfile.txt

And this works, but my problem is that this command only prints to the default printer. I would like to specify the printer name and then print the file.

Thank you in advance!
 
Use the print command? (print /? for parameters)
 
I didn't think I could use the print command with a network printer but i finally got it working. Thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top