LEICHTER-JERRY@YALE.ARPA.UUCP (06/03/87)
Your message of Wed, 13 May 87 18:42 PDT, contained the necessary command files and setup modules for an HP LaserJet +. (Note: As far as I can see, none of the special features that come with a "+" are used - this should work as well on a simple LaserJet). There is a typo in one of the setup modules: landscape.txt has the following ONE LINE <esc>E<esc>&l10<esc>&l55F<esc>(8U<esc>(s0p10h12v0s0b3T ^ Should be letter O, not digit 0 Using the definition as posted doesn't successfully shift to landscape mode, but does reset the apparent page size. The result is one confused printer. Just to avoid all the requests that are likely to show up from people who missed or didn't save the original mailing, I've included a copy below, with the typo corrected. The following may not have been clear: For mailing, all ESCAPE characters have been replaced by <esc>, and some lines in the setup modules that were then very long were folded over. You must edit the text to put the ESCAPE's back in, and combine the folded lines back so that each of the .TXT files contains exactly one line. -- Jerry Date: Wed, 13 May 87 18:42 PDT From: Portia 616-2635 <PORTIA@ENGVAX.SCG.HAC.COM> Subject: re: setting up HP laserjet + In response to the person asking about setup modules etc for the laserjet+ This is how we set up our HP laser jet + on our microvax II. in systartup.com we have: $define/system laserjet $terminal7: ! substibute your terminal line here $set terminal laserjet/perm/nobroadcast/notypeahead/nowrap - /speed=9600/width=80/page=0/device_type = unknown $set device /spooled=(sys$print, sys$sysdevice:) laserjet $initialize/queue/start/lib=laserjetlib/separate=(reset=reset) - /on=laserjet/default=flag sys$print $define/form/stock=default portrait 1 /desc="Portrait Courier" - /setup=(portrait) /length=60/wid=80/margin=(bottom=0)/nowrap/notrunc $define/form/stock=default landscape 2 /desc="Landscape"/setup=(landscape) - /length=45/wid=132/margin=(bottom=0)/nowrap/notrunc $define/form/stock=default compressed 3 /desc="Compressed Portrait" - /setup=(compressed) /length=80/wid=120/margin=(bottom=0) - /nowrap/notrunc and we have the following modules in sys$library:laserjetlib.tlb COMPRESSED,LANDSCAPE,PORTRAIT,RESET where compressed.txt has the following ONE line <esc>E<esc>&l0O<esc>&a5l80M<esc>&a0R<esc>&l8D<esc>&l80F<esc>(8U<esc>(s0p16.66h 8.5v0s0b0T landscape.txt has the following ONE LINE <esc>E<esc>&l1O<esc>&l55F<esc>(8U<esc>(s0p10h12v0s0b3T portrait.txt has the following ONE line <esc>E<esc>&l0O<esc>&a5180M<esc>&a0R<esc>&l60F<esc>(8U<esc>(s0p10h12v0s0b3T and reset.txt has the following line <esc>E -- Portia Shao UUCP -- {allegra|ihnp4}!scgvaxd!engvax!portia Hughes Aircraft Co. ARPA -- portia@engvax.scg.hac.com or -- portia%engvax.uucp@oberon.usc.edu (213) 616-2635 -------