From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,31b865829d6ab2b9 X-Google-Attributes: gid1164f8,public From: oipjenny@shell02.ozemail.com.au (Jennifer Hayes) Subject: Re: LN03a Escape seq questions Date: 1995/08/30 Message-ID: <421amf$6ca@oznet07.ozemail.com.au>#1/1 X-Deja-AN: 109152099 references: <41fhfj$16qt@darwin.nbnet.nb.ca> organization: OzEmail Pty Ltd - Australia newsgroups: comp.sys.dec 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 : [!p[23? J[15m1;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 ( [!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