Re: Printing to USB port instead of LPT1



In uk.comp.misc message <e707o3l63t4ekei4b6kqnjmedledhaja1l@xxxxxxx>,
Tue, 8 Jan 2008 13:58:24, Afton <afton2007@xxxxxxxxxxx> posted:
Even my old MSDOS Q-Edit and LIST.COM work well. I do quite a bit of
file copying, erasing, moving etc at the command prompt as it's much
faster than using the cumbersome drag-and-drop of the GUI.

Printing is another matter. Although I have a parallel port built in,
my printer is a USB only device. But had I a parallel printer connected,
I have little doubt that it could be used with something like

C:\>type testfile.txt>LPT1
or
C:\>dir c:\utils>LPT1


PRINTEXT, via sig line 3 when the server's up, accepts ordinary DOS text
and sends it to the Windows printer :

dir /b scr*.* | PRINTEXT /C4

will list the filenames of all files matching scr*.* in a 4-column
format.

--
(c) John Stockton, Surrey, UK. ?@merlyn.demon.co.uk DOS 3.3, 6.20; WinXP.
Web <URL:http://www.merlyn.demon.co.uk/> - FAQqish topics, acronyms & links.
PAS EXE TXT ZIP via <URL:http://www.merlyn.demon.co.uk/programs/00index.htm>
My DOS <URL:http://www.merlyn.demon.co.uk/batfiles.htm> - also batprogs.htm.
.