|
-
May 17th, 2005, 11:11 AM
#1
Redirect screen output to printer
I have a notebook running pure DOS 6.22 and the display has gone out. I need to run a couple of simple commands. Is there some way to redirect the screen output to the printer? I looked at the MODE and CTTY commands, but those don't seem to cover this particular problem.
Thanks all.
-
May 18th, 2005, 03:09 AM
#2
Depends on the commands and their output. If somthing simple like a DIRectory listing, you could append a ">prn" (or ">lpt1") to the end of the command.dir c:\*.* /a /s > prn
-
May 18th, 2005, 09:05 AM
#3
Yeah, I was able to do that to some extent, but I need to run a simple program that's on there where that won't be possible. I know that "CTTY" will allow you to designate a different input device. I was hoping for a similar output command.
-
May 18th, 2005, 01:20 PM
#4
Under pure DOS, the PRINT SCREEN key should work (to the right of the F12 key). The printer has to be directly attached (not a network printer).
Hope this helps
-
May 20th, 2005, 03:13 AM
#5
This should work while working at the DOS or DEBUG prompt ... don't know about within your program though.
Press [Ctrl-P] to toggle the printer on, do whatever, then press [Ctrl-P] once again to toggle the printer back off.
-
May 22nd, 2005, 12:15 AM
#6
The limitation will probably be the printer itself. A lot of the low end printers are "Windows only". They cannot be used with a DOS program and that goes to the "Print Screen" key as well. It must be a parallel port printer with DOS capability.
------------------
My
Two Cents
Dennis
Visit Politalk
-
May 22nd, 2005, 12:46 AM
#7
The HP LaserJets up to (and including) model 1200 would still handle raw DOS, but I haven't been shopping lately. Everybody has an old EPSON LQ-850 in the closet -- that will work (no matter how dusty it is).
Jerry
-
May 22nd, 2005, 02:26 AM
#8
Redirect screen output to printer
Last edited by SpywareDr; May 22nd, 2005 at 02:29 AM.
Reason: Wrong
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|