🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: redirection of LPT1 to a file

#2539
From: John Towns
Date: Tue, 09 Oct 1990 18:44
37 lines
1714 bytes
In article <144@guug.guug.de>, greil@guug.guug.de (Anton Greil) writes:
> 
> 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


	I have a PD program called LPTX that I believe will do just what
you are asking..  I could UUENCODE it and mail it to you if you like..  l;et
me know...

		John Towns
                j-towns@uiuc.edu	   
	--
Technical Details
Message-ID: <1990Oct9.184414.18118@ux1.cso.uiuc.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!dino!ux1.cso.uiuc.edu!news
References: <144@guug.guug.de>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!dino!ux1.cso.uiuc.edu!news
From: j-towns@uiuc.edu (John Towns)
Newsgroups: comp.os.msdos.programmer,comp.os.msdos.apps,comp.os.msdos.misc
Subject: Re: redirection of LPT1 to a file
Message-ID: <1990Oct9.184414.18118@ux1.cso.uiuc.edu>
Date: 9 Oct 90 18:44:14 GMT
References: <144@guug.guug.de>
Sender: news@ux1.cso.uiuc.edu (News)
Reply-To: j-towns@uiuc.edu (John Towns)
Organization: University of Illinois at Urbana
Lines: 37