G From:	CSBVAX::MRGATE!info-vax-request@kl.sri.com@SMTP 16-FEB-1988 04:05  To:	ARISIA::EVERHART# Subj:	Re: Problem with  define/form     U Received: from ucbvax.Berkeley.EDU by KL.SRI.COM with TCP; Fri 12 Feb 88 06:41:33-PST , Received: by ucbvax.Berkeley.EDU (5.58/1.26)( 	id AA24259; Fri, 12 Feb 88 06:14:16 PST9 Received: from USENET by ucbvax.Berkeley.EDU with netnews . 	for info-vax@kl.sri.com (info-vax@kl.sri.com); 	(contact usenet@ucbvax.Berkeley.EDU if you have questions)  Date: 11 Feb 88 23:25:01 GMTB From: unmvax!nmtsun!hydrovax@ucbvax.Berkeley.EDU  (M. Warner Losh)# Organization: NMT Hydrology program & Subject: Re: Problem with  define/form! Message-Id: <1378@nmtsun.nmt.edu> 4 References: <8802110418.AA13011@ucbvax.Berkeley.EDU># Sender: info-vax-request@kl.sri.com  To: info-vax@kl.sri.com   W In article <8802110418.AA13011@ucbvax.Berkeley.EDU>, JEREMYM@EPVAX.SUSSEX.AC.UK writes: C > I am using a laserjet II, and have defined setups for the various F > fonts that we wish to use. The modules in the device control library= > contain just the escape sequence to initialize the printer.   K We have a LaserJet+ hooked to our system and are about to get a LaserJet II 9 There were some initial problems, but not it works great.   J > All works fine, but I get a blank sheet of paper printed for each of theA > setup and reset sequences.  Is there anyway to get around this?   1 There is a way, but it is gross beyond belief :-)    >  > These are the setups we use: > 3 > $ set printer/cr/lowercase/printall/passall lca0:   N Good.  This is correct.  We have modem enabled on ours so that it barf at 96006 baud.  Never could get flow control working correctly.  4 > $initialize/queue/start/lib=laserjetlib/on=lca0: -6 >     /separate=(reset=reset,noburst,noflag,notrailer)@ >        /default=(noflag,noburst,notrailer,form=prestige) laser Ditto the good here.C > $define/form/stock=default prestige 1 /desc="Portrait Prestige" - N >         /setup=(prestige) /length=70/wid=96/margin=(bottom=0)/nowrap/notrunc  I Here is where you run into problems.  I did this on our system for a long I time until the users started complaining about extra pages coming out.  I K did a lot of things to try to fix it, even writing a custom print symbiont.  All except one failed.  L First some background.  In the Orange doc set (System management AND releaseM notes) it tells how to set this stuff up.  There is a comment that files that K have what looks like printable text in the setup module will force an extra I page (bug or feature?  You decide).  The problem is that HP uses non-ANSI M escape sequences for their printers.  So, VMS's symbiont thinks that there is L some garbage that the user wants on the first page.  Well, in this case thatK is not correct, since the "garbage" isn't printing.  This is the point that H we stayed at for months while I tried various different (and wrong) ways4 of getting the printer to stop printing extra pages.  K Then it hit me, why not have a setup for each page of the print-out so that M you don't get these extra pages?  This is what we have been doing now for the K past few months.  The only time we EVER get a blank page is when the system $ reboots or when the SYMBIONT starts.  $ Here's the commands for the curious:  C $ DEFINE/FORM/DESCRIPTION="Compressed output"/LENGTH=82/WIDTH=132 - 0 	/PAGE_SETUP=COMPRESS/STOCK=DEFAULT COMPRESS 100  G Notice the use of /PAGE_SETUP instead of /SETUP.  VMS doesn't care what B you place in this module, so it doesn't do anything special to it.   I hope that this helps.  --  ' bitnet:	losh@nmt.csnet			M. Warner Losh F 	warner@hydrovax.nmt.csnet    ! Don't know if this works, let me know. csnet:	warner@hydrovax.nmt.edu: uucp:	...{cmcl2, ihnp4}!lanl!unmvax!nmtsun!warner%hydrovax