[comp.os.msdos.misc] redirection of LPT1 to a file

greil@guug.guug.de (Anton Greil) (10/08/90)

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

j-towns@uiuc.edu (John Towns) (10/10/90)

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	   
	--

ts@uwasa.fi (Timo Salmi) (10/10/90)

In article <144@guug.guug.de> greil@guug.guug.de (Anton Greil) writes:
>   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 ?

Have you tried /pc/pd2/lptx.zip available by anonymous ftp or mail
server from chyde.uwasa.fi. 

...................................................................
Prof. Timo Salmi        (Moderating at anon. ftp site 128.214.12.3)
School of Business Studies, University of Vaasa, SF-65101, Finland
Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun

jstone@world.std.com (Jeffrey R Stone) (10/10/90)

greil@guug.guug.de (Anton Greil) writes:
>   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 ?

I use PRN2COM.COM from PC-magazine -- works fine for me.  It can be turned
on and off, and redirected to different files.  Available at fine stores
near you.

-jeff-

steveha@microsoft.UUCP (Steve Hastings) (10/12/90)

In article <1990Oct9.184414.18118@ux1.cso.uiuc.edu> j-towns@uiuc.edu (John Towns) writes:
>In article <144@guug.guug.de>, greil@guug.guug.de (Anton Greil) writes:
>>    How can I redirect the output for LPT1 to a file
>> Context:
>>    The graphic program "Dr. HALO III"
>
>	I have a PD program called LPTX that I believe will do just what
>you are asking.

I have a copy of LPTX, and it is a handy utility for capturing text.
However, the version I have is not useful for graphics.  The file produced
by it is always a multiple of 512 bytes long, and after the actual data
there is random garbage.  There is an end-of-file marker, but it is useless
in a graphics file.  My copy is version 2.00, dated 1985!

If there is a newer copy of LPTX that works better, or if there is some
other program that works better, I would like a copy, too.
-- 
Steve "I don't speak for Microsoft" Hastings    ===^=== :::::
uunet!microsoft!steveha  steveha@microsoft.uucp    ` \\==|

j-towns@uiuc.edu (John Towns) (10/16/90)

In article <58158@microsoft.UUCP>, steveha@microsoft.UUCP (Steve Hastings)
writes:
> In article <1990Oct9.184414.18118@ux1.cso.uiuc.edu> j-towns@uiuc.edu (John Towns) writes:
> >In article <144@guug.guug.de>, greil@guug.guug.de (Anton Greil) writes:
> >>    How can I redirect the output for LPT1 to a file
> >> Context:
> >>    The graphic program "Dr. HALO III"
> >
> >	I have a PD program called LPTX that I believe will do just what
> >you are asking.
> 
> I have a copy of LPTX, and it is a handy utility for capturing text.
> However, the version I have is not useful for graphics.  The file produced
> by it is always a multiple of 512 bytes long, and after the actual data
> there is random garbage.  There is an end-of-file marker, but it is useless
> in a graphics file.  My copy is version 2.00, dated 1985!
> 
> If there is a newer copy of LPTX that works better, or if there is some
> other program that works better, I would like a copy, too.
> -- 
> Steve "I don't speak for Microsoft" Hastings    ===^=== :::::
> uunet!microsoft!steveha  steveha@microsoft.uucp    ` \\==|


	Just so you know.. the version of LPTX that I have is v7.00.. I have
had a number of requests for it..  if anyone else wants it I can mail it
to them.. it is small.. but effective...

		John Towns
		j-towns@uiuc.edu
--

ts@uwasa.fi (Timo Salmi) (10/17/90)

In article <1990Oct15.181731.14758@ux1.cso.uiuc.edu> j-towns@uiuc.edu (John Towns) writes:
>
>	Just so you know.. the version of LPTX that I have is v7.00.. I have
>had a number of requests for it..  if anyone else wants it I can mail it
>to them.. it is small.. but effective...
>
>		John Towns
>		j-towns@uiuc.edu
>--

> From: jtowns@ncsa.uiuc.edu (John Towns)
> Subject: Re: redirection of LPT1 to a file
> To: ts@uwasa.fi
> Date: Tue, 16 Oct 90 14:04:03 CDT
>
>         Here ya go... hope it is of help to you....
>                 John Towns
>                 j-towns@uiuc.edu
> PS. When it is available on chyde.uwasa.fi, please post it on the net
> I didn't realize so many people would want the darn thing..  THANKS MUCH!!
> section 1 of uuencode 4.01 of file LPTX700.ZIP    by R.E.M.
> begin 644 LPTX700.ZIP

Wed 17-Oct-90: The printer to file rediction utility version 7.00
dating back to 1987 (/pc/pd2/)lptx700.zip is now available from
chyde.uwasa.fi.  If anyone knows of a more recent version, please
let me know, and have it so, I can make it available to the net.  I
am not deleting (yet) the (/pc/pd2/)lptx.zip version 6.00, because,
in the words of the author, the different versions are rather
parallel (there is a underlying pun there somewhere) than upgrades. 

The wares are available by anonymous ftp from chyde.uwasa.fi, Vaasa,
Finland, 128.214.12.3, or by using our mail server (use the latter
if, and only if you don't have anonymous ftp).  If you are not
familiar with anonymous ftp or mail servers, I am prepared send
prerecorded instructions on request (provided that your email
address is reachable). 

...................................................................
Prof. Timo Salmi        (Moderating at anon. ftp site 128.214.12.3)
School of Business Studies, University of Vaasa, SF-65101, Finland
Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun