New Library for HPGL Pen Plotters

I’ve been working on a new library that allows for processing to interface with HPGL pen plotters.

Here is a link to the project page: Processing 2 hpgl
And here is the source code: GitHub - awdriggs/processing2hpgl: Processing Library to interface with HP pen plotters using HPGL

The goal here was to adhere as much as possible to the processing functions and allow the library to convert these commands for printings, keeping it as simple as possible.

So, as an example…

    line(10, 10, 100, 100); //draws a line to the screen
    plotter.drawLine(10, 10, 100, 100); //sends a command to the plotter

This library allows for direct communication with HPGL machines.

This is my first library so I’m open to any feedback and would love for any other pen plotter enthusiast to take it for a spin. The example doc shows all the current functionality of the library.

I would also love to see this up on the processing main page! What are the steps to add it there?

3 Likes