Behind every PLT pattern file is HPGL, the Hewlett-Packard Graphics Language that tells a plotter exactly how to move. For pattern makers running a cutting plotter, a working grasp of HPGL turns the device from a black box into a predictable tool. You do not need to write HPGL by hand, but knowing what it does explains every scaling and pen problem you will ever hit.
This article covers the HPGL fundamentals that matter for patterns: the core commands, how plotter units lock scale, how pens map to operations, and a setup sequence that yields true-scale cuts.
What HPGL is
HPGL is a compact command language for plotters. Each instruction is a short mnemonic followed by parameters. The plotter reads the stream and executes physical movements, raising and lowering the pen or knife and traveling to coordinates. HPGL/2 is the later, more capable revision used by many modern devices.
Because HPGL describes motion in defined units, it is inherently vector and inherently scale-locked. There is no resolution to set and no image to render; there are only coordinates and pen states.
The core commands you will meet
A handful of commands do most of the work in a pattern file. Pen up and pen down control whether the tool is engaged. Plot absolute moves to a coordinate. Select pen chooses which tool or which cut or draw operation is active. Initialize resets the device to a known state.
You rarely type these yourself, but seeing them in a PLT explains its behavior. A piece outline is simply a pen-down followed by a series of plot-absolute moves and a pen-up at the end.
- Pen up and pen down: engage or disengage the tool
- Plot absolute: move to a specific coordinate
- Select pen: choose the active tool or operation
- Initialize: reset the plotter to defaults
Plotter units and true scale
Plotter units are why a PLT cuts at exact size. Classic HPGL defines one plotter unit as a small, fixed fraction of a millimeter, and every coordinate is a multiple of that unit. When the device honors this definition, the physical output matches the pattern dimension precisely.
Scale errors come from overriding the unit definition or applying a fit-to-media option. The remedy is always to leave units alone and disable scaling so the plotter reproduces the coordinates as written.
Pro tip
Disable every fit-to-page, scale-to-media and auto-fit option before plotting. These are document features that will silently resize a pattern.
Pen assignments and operations
In a pen plotter, different pens once meant different colors; in a cutting plotter, the same select-pen mechanism maps to different operations such as cut, crease or draw, or to different layers like cut line versus internal mark. The PLT assigns each part of the pattern to a pen number.
If lines go missing or the wrong operation runs, the pen mapping on the device does not match the file. Aligning the plotter's pen configuration with the pattern's pen assignments resolves most missing-line problems.
Setting up the plotter
- 1.Confirm the device speaks HPGL or HPGL/2 and the PLT targets that language.
- 2.Load media wide enough for the full pattern with no clipping.
- 3.Set the plotter to honor the file's units and disable all scaling.
- 4.Map pen numbers to the correct cut, crease or draw operations.
- 5.Send a small test, measure a known dimension, then run the full pattern.
Where the PLT comes from
A correct PLT begins with a correct export. The geometry, units and pen assignments are baked in when the pattern is generated, so a well-built PLT plots cleanly with minimal device fiddling. A poorly built one fights you at every step.
Minerva Patterns delivers every pattern as DXF AAMA, PLT and PDF, with the PLT prepared to drive a plotter directly. You can browse the catalog, download the PLT, and bring a production-ready file to your cutting plotter, keeping the DXF and PDF for editing and proofing.
Frequently asked questions
Do I need to learn HPGL to use a cutting plotter?
No. You send a ready-made PLT and the plotter interprets the HPGL. Understanding the basics, especially plotter units and pen assignments, simply helps you diagnose scaling and missing-line problems quickly.
Why are some lines missing when I plot?
The pen assignments in the file do not match the plotter's pen or tool configuration. Map the device's pen numbers to the correct cut, crease or draw operations so every part of the pattern is output.
How do I make sure the plot is true scale?
Let the plotter honor the file's plotter-unit definition and disable every fit-to-media or scale option. Then plot a small test, measure a known dimension, and confirm it matches before running the full pattern.
Minerva Patterns
Made-to-measure digital patterns, ready to cut
Every pattern is graded to your measurements and delivered as DXF AAMA, PLT and PDF files for cutting, plotting and 3D workflows.
Browse the catalog