Computing.Net > Forums > Disk Operating System > Notepad.exe from dos printing

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Notepad.exe from dos printing

Reply to Message Icon

Name: Ed
Date: January 2, 2003 at 07:18:10 Pacific
OS: DOS
CPU/Ram: PentiumII
Comment:

I am calling notepad.exe/p "filename" from the DOS prompt. This works great if you want to print the file to the default printer on the machine. Does anyone know how to print to a specific printer on the same machine. I need to specify a printer when calling this command. Any ideas would be greatly appreciated.
Thanks
Ed



Sponsored Link
Ads by Google

Response Number 1
Name: Hal
Date: January 2, 2003 at 09:36:28 Pacific
Reply:

If you know what port a device is on, you can try:

PRINT Filename >LPT2

Change LPT2 as needed i.e. COM1


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Notepad.exe from dos printing

Can't install windows from dos because of compressed c: drive www.computing.net/answers/dos/cant-install-windows-from-dos-because-of-compressed-c-drive/3638.html

printing from DOS programs w/ WindowsME www.computing.net/answers/dos/printing-from-dos-programs-w-windowsme/8460.html

Network Printing from DOS www.computing.net/answers/dos/network-printing-from-dos/6151.html