Redirect screen output to printer
Results 1 to 8 of 8

Thread: Redirect screen output to printer

Hybrid View

  1. #1
    Join Date
    Jun 2001
    Location
    Jacksonville,Fl,USA
    Posts
    341

    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.

  2. #2
    Join Date
    Apr 2005
    Location
    Maryland, USA
    Posts
    17,806
    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

  3. #3
    Join Date
    Jun 2001
    Location
    Jacksonville,Fl,USA
    Posts
    341
    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.

  4. #4
    Join Date
    Jun 2001
    Location
    abington, ma, usa
    Posts
    997
    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

  5. #5
    Join Date
    Apr 2005
    Location
    Maryland, USA
    Posts
    17,806
    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.

  6. #6
    Join Date
    Oct 1999
    Location
    Huntington Beach, CA, USA
    Posts
    3,137
    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

  7. #7
    Join Date
    Jun 2003
    Location
    Hollywood, CA
    Posts
    218
    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

  8. #8
    Join Date
    Apr 2005
    Location
    Maryland, USA
    Posts
    17,806

    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
  •