A Library by Ciaron Linstead for the Processing programming environment.
Last update, 12/03/2017.

Record sketches to HPGL files, suitable for pen plotters like the Roland DXY-1350A.

This library implements HPGL (Hewlett-Packard Graphics Language) file creation from Processing sketches. It works in much the same way as the PDF Export and DXF Export libraries bundled with Processing.


Download HPGLGraphics version 1.0.4 (5) in .zip format.


Unzip and put the extracted hpglgraphics folder into the libraries folder of your Processing sketches. Reference and examples are included in the hpglgraphics folder.

Getting Started

You will find a basic introduction to HPGLGraphics here.

Keywords. hpgl,plotting

Reference. Have a look at the javadoc reference here. A copy of the reference is included in the .zip as well.

Source. The source code of HPGLGraphics is available at GitHub, and its repository can be browsed here.


Find a list of examples in the current distribution of HPGLGraphics, or have a look at them by following the links below.


Platform osx,windows,linux
Processing 3.3.5
Dependencies ?