🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: using DR DOS 6 Script utility

#1242
From: Frotz
Date: Wed, 02 Sep 1992 20:55
33 lines
1994 bytes
Marco Simionato <simion@iveuncc.unive.it> writes:

]I have DR DOS 6 on my 386sx machine, which is connected to a PostScript
]Apple Personal LaserWriter NTR. The Script utility allows me to print
]text files from the Dos command line. This utility can be installed as
]TSR, so that it will intercept and elaborate all jobs directed to the
]printer. Despite this, I cannot have files printed from basic Dos apps,
]such as MS Edit or DR DOSBOOK. The fact is that, to be installed as a
]TSR, Script requires two parameters: an input peripheral and an output
]peripheral. The two parameters cannot be the same. Now, my printer is
]connected to LPT1. If we assume that, for example, MS Edit prints by
]default to LPT1, I would have to tell Script to take all jobs directed to
]LPT1, elaborate them and send them to, say, LPT2 - which I just don't
]have.

I see the confusion.  I use it all the time and don't pay attention to
the manual or the usage;-}

The correct usage on a single port machine for script is:

	SCRIPT LPT1

This takes all data sent to LPT1, converts it to postscript and then
outputs it to the actual port.  I believe that the interception point
is INT17.  Anyone writing to the port below this will probably bypass
SCRIPT, but you'd have to check the trapped interrupts to verify that.
--
John "Frotz" Fa'atuai	frotz@novell.com		(email@domain)
Desktop Systems		uunet!novell.com!frotz		(bang address)
  Group/Novell		NOVELL:FROTZ  or  FROTZ@NOVELL	(MHS address)
c/o TS Dept.		408/645-2067			(vmail)
80 Garden Court		408/649-8209			(fax)
Monterey, CA  93940
Technical Details
Message-ID: <M9YPBLY@dri.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!drivax!frotz
References: <1992Aug17.150555.391@cine88.cineca.it>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!drivax!frotz
From: frotz@dri.com (Frotz)
Subject: Re: using DR DOS 6 Script utility
Message-ID: <M9YPBLY@dri.com>
Sender: frotz@novell.com
Reply-To: frotz@novell.com
Organization: Desktop Systems Group/Novell, Monterey CA/USA
References: <1992Aug17.150555.391@cine88.cineca.it>
Date: Wed, 2 Sep 92 20:55:19 GMT
Lines: 34