🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #2538

redirection of LPT1 to a file

#2538
From: Anton Greil
Date: Mon, 08 Oct 1990 13:33
27 lines
1261 bytes
Hallo MS-DOS Cracks!

My Question:
   I use a program which is fixed to print to LPT1. How can I redirect the 
   output for LPT1 to a file, by means of MS-DOS on the command level ?

Context:
   The graphic program "Dr. HALO III"  can send the output for the printer
   only to the printer itself but not to a file ("PRN file"). Other programs
   like WORDSTAR or PageMaker can do that (default filename "OUTPUT.PRN").

   I need this file as an interface for a further graphic program.


Wanted Functionality in Analogy:

   MODE LPT1:=<file_name>   (start of redirection)
   DRHALO                   (program with fixed printer output to LPT1)
   MODE LPT1:=LPT1          (end of redirection)

what a pitty that the MODE command can't do this!


Thank you for your tips!

-Toni Greil      Usenet/EUnet: greil@guug.uucp
Technical Details
Message-ID: <144@guug.guug.de>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!unido!fauern!tumuc!guug!greil

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!unido!fauern!tumuc!guug!greil
From: greil@guug.guug.de (Anton Greil)
Newsgroups: comp.os.msdos.programmer,comp.os.msdos.apps,comp.os.msdos.misc
Subject: redirection of LPT1 to a file
Keywords: redirection, printer
Message-ID: <144@guug.guug.de>
Date: 8 Oct 90 13:33:34 GMT
Sender: greil@guug.guug.de (Anton Greil)
Organization: GUUG e.V., Munich, W.-Germany
Lines: 27