J
Jeff Needle
Is there a freeware way to trick an old DOS program into printing to the
a printer plugged into the USB port?
Thanks.
Jeff Needle
a printer plugged into the USB port?
Thanks.
Jeff Needle
I just read this. I have a dos program I haven't been able to print fromMaybe this way.
If you don't want another program, here's 2 batch files, one for
creating a .txt file, the other sends it straight to the printer.
Open Notepad (only), type in **exactly** (or copy/paste from here)
For the .txt file:
dir %1 > C:\list.txt: cls
& save as: textdir.bat
For the printer:
dir %1 > lpt1: cls
& save as: printdir.bat
Save these two files in a "Send to" folder, that way you can just right
click on the folder to execute.
Maybe this way.
If you don't want another program, here's 2 batch files, one for
creating a .txt file, the other sends it straight to the printer.
Open Notepad (only), type in **exactly** (or copy/paste from here)
For the .txt file:
dir %1 > C:\list.txt: cls
& save as: textdir.bat
For the printer:
dir %1 > lpt1: cls
& save as: printdir.bat
Save these two files in a "Send to" folder, that way you can just right
click on the folder to execute.
G'day Jeff, how did you go, L'D' emailed me & I included screenshots of
the above, can do the same for you, if needed.
John.
Here is some extra info.
Unable to Print from Command Prompt or MS-DOS Program with USB Printer
http://support.microsoft.com/kb/q259939/
HOWTO: Print to a USB Printer from DOS in Windows XP
http://www.geekswithblogs.net/dtotzke/articles/26204.aspx