Hewlett-Packard Deskjet or Laserjet

Supported device
Hewlett-Packard LaserJet, LaserJet+, or LaserJet II. DeskJet, DeskJet Plus, DeskJet 500.
Device type code
/HJ.
Default device name
PGPLOT.HJPLT.
Default view surface dimensions
Depends on which driver settings are chosen, via environment variables PGPLOT_HJ_MODE, PGPLOT_HJ_MAR, PGPLOT_HJ_SIZE, and PGPLOT_HJ_PAGE.
Resolution
Depends on which driver settings are chosen, via logical names PGPLOT_HJ_MODE or PGPLOT_HJ_RES.
Color capability
Color indices 0 (erase, white) and 1 (black) are supported. It is not possible to change color representation.
Input capability
None.
File format
See the LaserJet andDeskJet Printer Technical Reference Manuals for details of the file format.
Obtaining hardcopy
VMS: use the command PRINT/PASSALL.
Environment variables
use DEFINE in VMS, setenv in Unix to define the following environment variables or logical names. PGPLOT_HJ_MODE = xxxx where xxxx is one of the entries in the following table. PHOT puts out bitmaps suitable for inclusion in TeX output if you are using the Arbortext DVIHP program. The only options that will work with unexpanded LaserJet are HJ08 and HJ09. The other seven options require a LaserJet Plus or LaserJet II. Do NOT attempt to send grayscale plots to the drivers that use the optimized bitmap dumps. Terrible things will happen.
      Option  Equiv         Size (H x V)          Resolution
      ------  -----     ---------------------    ----------
       HJ01   LHOR        10.25 by  8.00 inches   300 DPI
       HJ02   PHOR         8.00 by 10.25 inches   300 DPI
       HJ03   PHOT         8.00 by 10.25 inches   300 DPI
       HJ04   LHBR         6.54 by  4.91 inches   300 DPI
       HJ05   PHBS         5.65 by  5.65 inches   300 DPI
       HJ06   LMBR        10.25 by  8.00 inches   150 DPI
       HJ07   PMBR         8.00 by 10.25 inches   150 DPI
       HJ08   PMBS         4.48 by  4.48 inches   150 DPI
       HJ09   PLBS         6.00 by  6.00 inches   100 DPI
The following logical names will override the PGPLOT_HJ_MODE settings, if used. PGPLOT_HJ_RES =
         H or HIGH     for 300 bpi
         M or MEDIUM   for 150 bpi
         L or LOW      for 100 bpi
         V or VERYLOW  for  75 bpi
PGPLOT_HJ_MAR = ``xx.xx,yy.yy'' where ``xx.xx'' and ``yy.yy'' are the vertical and horizontal margin dimensions in inches. The number of characters, including spaces preceding and following the comma, should not exceed five. PGPLOT_HJ_SIZE = ``xx.xx,yy.yy'' where ``xx.xx'' and ``yy.yy''are the vertical and horizontal plot dimensions in inches. The number of characters, including spaces preceding and following the comma, should not exceed five. PGPLOT_HJ_TEX: if this is defined with any value, TeX mode (see above) will be used. PGPLOT_HJ_NOFF: if this is defined with any value, the form feed needed to eject the final page will be omitted. This is useful for spooled printers -- it prevents wasted (blank) pages. PGPLOT_HJ_PAGE = L (or LANDSCAPE) for Landscape mode, P (or PORTRAIT) for Portrait mode. PGPLOT_HJ_OPT = O (or OPTIMIZE) so that bitmap will be ``optimize,'' pr C (or COMPRESS) so that bitmap will be ``compressed.'' Optimized mode minimizes the memory usage for the LaserJet devices. This sometimes leads to a larger file than if optimization is not used. Optimized mode may not be used with the DeskJet devices. Compressed mode decreases the size of the bitmap file for later model HP devices, particularly the DeskJet devices.
Author
S. C. Allendorf, 1989; B. H. Toby, 1991.