From: SMTP%"RELAY-INFO-VAX@CRVAX.SRI.COM" 25-JUN-1993 09:47:49.91 To: EVERHART CC: Subj: RE: HP LaserJet IIIp forms Date: Thu, 24 Jun 1993 18:35:16 EDT From: Mighty Firebreather To: faber@nbivax.nbi.dk CC: info-vax@sri.com Message-ID: <0096E846.C5C0CCA0.26181@nscvax.princeton.edu> Subject: RE: HP LaserJet IIIp forms faber@nbivax.nbi.dk (Bernhard Fabricius) writes: > I'm in the process of setting up an HP LaserJet IIIp as the line >printer on an Alpha/VMS system via LAT to a DECserver 200. Does anyone have >(or know of) a set of form definitions etc suitable for this configuration ? >We'd like to be able to print ordinary text (80 columns by, say, 66 lines) >and wide source listings (132 columns), and we need to use the ISO Latin 1 >encoding scheme (which the printer handles). [I'd also like some means of >making the PCL5 printer understand DECLineGraphics for boxes and standard >ANSI sequences for bold, underline and so on, but that is not essential.] > From a very old posting to this list.... >The following JCL is due to Jerry Leichter . > >$ DEFINE /SYSTEM SYS$LASERJET CSA0: >$ SET TERMINAL SYS$LASERJET /PERMANENT /NOBROADCAST /NOTYPEAHEAD - > /NOWRAP /SPEED=9600 /WIDTH=80 /PAGE=0 /DEVICE_TYPE=UNKNOWN >$ SET DEVICE /SPOOLED=(SYS$PRINT, SYS$SYSDEVICE:) SYS$LASERJET >$ INITIALIZE /QUEUE /START /LIB=LASERJETLIB /SEPARATE=(RESET=RESET) - > /ON=SYS$LASERJET /DEFAULT=(FLAG, FORM=PORTRAIT) SYS$PRINT >$ DEFINE /FORM /STOCK=DEFAULT PORTRAIT 1 /DESC="Portrait Courier" - > /SETUP=(PORTRAIT) /LENGTH=60 /WIDTH=80 /MARGIN=(BOTTOM=0) - > /WRAP /NOTRUNC >$ DEFINE /FORM /STOCK=DEFAULT LANDSCAPTE 2 /DESC="Landscape" - > /SETUP=(LANDSCAPE) /LENGTH=45 /WIDTH=132 /MARGIN=(BOTTOM=0) - > /WRAP /NOTRUNC >$ DEFINE /FORM /STOCK=DEFAULT COMPRESSED 3 /DESC="Compressed Portrait" - > /SETUP=(COMPRESSED) /LENGTH=80 /WIDTH=120 /MARGIN=(BOTTOM=0) - > /WRAP /NOTRUNC >$ DEFINE /FORM /STOCK=DEFAULT CLANDSCAPE 4 /DESC="Compressed Landscape" - > /SETUP=(CLANDSCAPE) /LENGTH=64 /WIDTH=176 /MARGIN=(BOTTOM=0) - > /WRAP /NOTRUNC > >The following is due to Portia Shao of Hughes >Aircraft. It goes in SYS$LIBRARY:LASERJETLIB.TLB, each line is a single >record and a single file in the library. must be changed to a real >escape character. The lines are in the following order: COMPRESSED, >LANDSCAPE, PORTRAIT, RESET. > >E&l0O&a5l80M&a0R&l8D180F(8U(s0p16.66h8.5v0s0b0T > >E&l1O&l55F(8U(s0p10h12v0s0b3T > >E&l0O&a5180M&a0R&160F(8U(s0p10h12v0s0b3T > >E > >Note carefully the difference between lower case l and numeral 1, also the >difference between upper case O and numeral 0. There is even a program available that purports to translate sixel graphics so that an H-P printer can print them. I've never tried it and can't say how well it works (or does not). You can get it from CompuServe's VAX Forum. I believe that the file is called HPSIXE.TLB. The .TLB contains source code in BASIC and C plus the object files, a readme file, etc. ************************************************************************* * * * Here, there be dragons! * * dragon@nscvax.princeton.edu * * 76702.1567@CompuServe.Com * * * * Richard B. Gilbert * * Asst. Sysop * * VAX Forum * * * * I'm job hunting. Any offers or leads will be appreciated. * * Thanks! * *************************************************************************