Credits | Overview | Plotting Styles | Commands | Terminals
--- | --- | --- | --- | ---

## hpgl

Syntax:

          set terminal hpgl {<number_of_pens>} {eject} {fontscale <scale>}

The hpgl driver produces HPGL output for Hewlett Packard pen plotters like the HP7475A and many other plotters dating back to the 1970s. Also, HPGL graphics can be imported by many software packages. The HPGL command language was largely superseded in later printers by the PCL command language. See set term pcl5.

Terminal options control the number of pens used and whether or not the plotter ejects a page when done. The default is to use 6 pens and not eject the page.

All text is drawn in a uniform size. The fontscale option applies a scale factor to make this size larger or smaller. If gnuplot's current encoding is set to either iso_8859_1 cp850, non-ascii characters are translated for handling by some printer models that support the corresponding character set. If your printer model does not support this, do not set these encodings.