From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,123e3baf2e4c9c19 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1995-01-10 13:02:12 PST Newsgroups: comp.sys.dec Path: nntp.gmd.de!newsserver.jvnc.net!howland.reston.ans.net!news.sprintlink.net!news.dorsai.org!amanda.dorsai.org!opopper From: Oren Popper Subject: Re: Help! HP laserjet 4 forms control In-Reply-To: <199501102036.OAA18346@flowbee.interaccess.com> Content-Type: TEXT/PLAIN; charset=US-ASCII Message-ID: Sender: news@dorsai.org (Keeper of the News) Organization: The Dorsai Embassy - New York References: <199501102036.OAA18346@flowbee.interaccess.com> Mime-Version: 1.0 Date: Tue, 10 Jan 1995 21:02:12 GMT On Tue, 10 Jan 1995, William Zandrew wrote: > > Thanks for the info. I appreciate it. Now all I have to do is get > connected to compuserve. I take it I can't just telnet over there. > You could telnet to cis.com but you have to have an account with them in order to be able to access compuserve. I have found the file I have downloaded and am enclosing it here for those who do not have Compuserve accounts. Oren. P.S. You don't have to use everything in the file, some of the commands are not necessary if you have the printer set to the default. ------------------------------------------------------------------------------ Blank Page Problem on HP Laserjet Printers. TO ANYONE TRYING TO SETUP AN HPLASERJET ON A VAX QUEUE: After years of struggling with trying to eliminate the blank page HP Laserjet/VMS problem with Vax print queues we finally came up with a setup that eliminates the blank pages. This setup is a combination of things I learned from others on Compuserve, various technical calls to DEC, and experimenting with the queues. Please feel free to comment on what we have done. My purpose in providing this text file is to hopefully allow others to avoid re-inventing all this logic. 1.0 The first thing that is required is to build a VAX/VMS library to contain all font files. Here is the code and sample fonts to do this: Place the font files in the sys$library area as "fontname.txt". You can recreate the library as many times as needed if you are debugging new fonts. One thing to remember is that the print symbiont will retain the library from the last time it started so if you update the library make sure that you are starting with a new print symbiont. In our case, we simply stopped the process since the first print job will recreate it. $!*************************************************************************** $! LIB_CREATE.COM - Create the laserjet printer library. $! $! $! $!*************************************************************************** $! $ set verify $ delete sys$library:hplaser.tlb;* /log $ library /create /text sys$library:hplaser $! $ library /text /insert sys$library:hplaser /module=courier - sys$library:courier.txt $! $ library /text /insert sys$library:hplaser /module=lcourier - sys$library:lcourier.txt $! $ library /text /insert sys$library:hplaser /module=compressed - sys$library:compressed.txt $! $ library /text /insert sys$library:hplaser /module=lcompressed - sys$library:lcompressed.txt $! $ library /text /insert sys$library:hplaser /module=reset - sys$library:reset.txt $! $ set noverify $ EXIT ! END OF LIB_CREATE.COM Here are the sample font files please substitute "" for the escape sequence (In EDT Control 3 twice will generate it.). courier.txt - portrait courier 12. P&l0O&l2a8.0C(s0P(10U(s10H12V0S0B3T\ lcourier.txt - landscape courier 12 P&l1O&l2a8.0C(s0P(s10H(s12V0S0B3T\ compressed.txt - portrait compressed P&l0O&l2a6.0C(8U(s0P(s16.6H8.5V0B0T\ lcompressed.txt - landscape compressed P&l1O&l2a4.50C(8U(s0P16.6H8.5V0B0T\ reset.txt - reset the printer. ]VMS;2\PE\ These four fonts plus the reset will give you the basic set of printer fonts available in all laserjets. If you want to add additional fonts simply create modules (.txt) for them and surround them with the "P font_goes_here \" sequence. 2.0 Setup the forms types. $! $ DEFINE /FORM /STOCK=DEFAULT courier 3001 /DESC="Courier - Portrait" - /SETUP=(courier) /LENGTH=60 /WIDTH=81 /MARGIN=(BOTTOM=0) - /WRAP /NOTRUNC $! $ DEFINE /FORM /STOCK=DEFAULT lcourier 3002 /DESC="Courier - Landscape" - /SETUP=(lcourier) /LENGTH=45 /WIDTH=133 /MARGIN=(BOTTOM=0) - /WRAP /NOTRUNC $! $ DEFINE /FORM /STOCK=DEFAULT compressed 3003 /DESC="Compressed - Portrait" - /SETUP=(compressed) /LENGTH=80 /WIDTH=140 /MARGIN=(BOTTOM=0) - /WRAP /NOTRUNC $! $ DEFINE /FORM /STOCK=DEFAULT lcompressed 3004 /DESC="Compressed - Landscape" - /SETUP=(lcompressed) /LENGTH=64 /WIDTH=250 /MARGIN=(BOTTOM=0) - /WRAP /NOTRUNC $! $ EXIT 3.0 Next we must setup the lat port and printer queue. $ SET NOON $ SET TERMINAL LTA2: /PERMANENT /NOBROADCAST /NOTYPEAHEAD - /NOWRAP /SPEED=19200 /WIDTH=300 /PAGE=66 /TTSYNC /HOSTSYNC- /NOREADSYNC /EIGHTHBIT /DEVICE_TYPE=UNKNOWN $! $ SET PROTECTION=(S:RWLP,O,G,W) /DEVICE LTA2: $! $ SET DEVICE /SPOOLED=(laser41, SYS$SYSDEVICE:) lta2: $! $ INITIALIZE /QUEUE /START /LIB=hplaser /SEPARATE=(NOFLAG,RESET=reset) - /DEFAULT=(NOFEED, NOBURST,NOFLAG, FORM=courier) laser41 /ON=sol::lta2 $ EXIT This technique is in use on all our HP lasers including Series II, III, IIID, and Laserjet 4M printers. These are the steps that worked for us here at Maritime Electric. If anyone has any questions or comments please feel free to contact me either voice at (902) 566-1599 or email at 70363,2474 or via internet at carfeeha@upei.ca. Rob Feehan