From: oipjenny@shell02.ozemail.com.au (Jennifer Hayes)
Subject: Re: LN03a Escape seq questions
Date: 1995/08/30 [thread overview]
Message-ID: <421amf$6ca@oznet07.ozemail.com.au> (raw)
In-Reply-To: 41fhfj$16qt@darwin.nbnet.nb.ca
Peter Macpherson (PETERMAC@MTT.CA) wrote:
: I need to setup an LN03a so it prints landscape, 3 lines down the page
: - can someone call me at (902) 487-4209 with the escape escape codes
: PLEASE
Hi, the following line will sets an LN03 printer into landscape
mode :
<esc>[!p<esc>[23? J<esc>[15m<esc>1;66r
where : !p is a (soft) reset ( just in case )
1;66r tells the printer to start at line 1 and make
the page 66 lines.
If you want to start at line 3 you either change this 3;66 or
in the file to be printed you have 3 lines empty at the beginning.
There are more escape sequences in the file SYS$SYSTEM:SMGTERMS.TXT
and also there is a way to use the LIBRARY utility to extract info
from certain system setup files ( I do not remember now, symbiont or
some other files; someone else from DEC knows I'm sure).
Well not to upset other people on the system , after you did your
print the printer have to reset to 'normal' portrait format
( <esc>[!p will do it ). To avoid editing files and put in this
escape sequences all the time one could set up a symbol to point
to a little com file which first send the 'landscape' to the printer
then prints the file in landscape mode and finally 'prints' the
reset sequence. I hope this helps.
Csaba Harangozo
oipjenny@ozemail.com.au
prev parent reply other threads:[~1995-08-30 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-08-23 4:00 LN03a Escape seq questions Peter Macpherson
1995-08-30 4:00 ` Jennifer Hayes [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox