A PLT file is not a picture; it is a script. It contains a sequence of commands in HPGL, the Hewlett-Packard Graphics Language, that tell a plotter exactly where to move, when to lower the pen and when to lift it. Once you see a pattern file as a list of instructions rather than an image, the behavior of plotters starts to make sense.
This article walks through the handful of HPGL commands that matter for pattern plotting, explains the plot unit that governs scale, and shows why an incorrectly configured origin or unit sends a pen off the edge of the media. The goal is enough working knowledge to diagnose a bad plot rather than reprint blindly.
HPGL is a movement language
HPGL describes a drawing as pen movements across a coordinate grid. The pen either travels lifted, leaving no mark, or lowered, drawing a line. A pattern outline is nothing more than a long ordered sequence of these moves, closing each piece back to its start.
Because the language predates modern raster formats, it is compact and deterministic. The same file drives the same strokes on any compliant plotter, which is exactly what production needs: a pattern that plots identically today and next year.
The core commands you will meet
- PU, pen up: lift the pen and move without drawing, used to travel between pieces.
- PD, pen down: lower the pen and draw along the coordinates that follow.
- PA, plot absolute: interpret following coordinates as absolute positions on the grid.
- PR, plot relative: interpret coordinates as offsets from the current position.
- SP, select pen: choose a pen or, on modern devices, a line color or tool.
- IN, initialize: reset the plotter to a known default state at the start of a job.
Pro tip
A stray PU where a PD belongs leaves a gap in a piece outline; a missing pen-up between pieces draws a phantom line connecting them.
Plot units and why scale depends on them
HPGL positions are expressed in plot units. The classic convention is 1016 plot units per inch, or 40 units per millimeter, and the whole scale of a plotted pattern rests on the plotter and the file agreeing on that value. If the file was written assuming one unit definition and the plotter assumes another, every piece prints proportionally wrong.
This is the mechanism behind a pattern that plots at, say, a slightly wrong size with no obvious error. Nothing is broken; the two ends simply disagree on how many plot units make a millimeter. Confirming the unit assumption is the first step when plotted pieces measure incorrectly.
Origin, media and clipping
The plotter has an origin, the point it treats as coordinate zero, and a hard clip area defined by the loaded media width. Coordinates outside that area are clipped, so a piece positioned off-sheet in the file is simply not drawn where you expect. A pattern that plots half-missing usually has a piece placed beyond the media boundary.
Matching the file's assumed media width to the physical roll matters. Pattern nests are laid out for a specific plotting width, and loading a narrower roll pushes pieces past the clip boundary. Check the intended width before loading media rather than after a failed plot.
Diagnosing a bad plot
- 1.Confirm the plotter and file agree on plot units before blaming the geometry.
- 2.Check that the loaded media width matches the width the nest was built for.
- 3.Look for gaps in outlines, a sign of a misplaced pen-up command.
- 4.Look for phantom lines between pieces, a sign of a missing pen-up.
- 5.Measure a plotted reference dimension and compare it to the pattern's stated size.
PLT in a professional workflow
PLT remains a workhorse because it is simple, predictable and universally supported by pen plotters and many cutters. It carries geometry and pen selection but not the rich apparel metadata of DXF AAMA, so it is a plotting and cutting format rather than an editing format. Keep an editable master in DXF and generate PLT for output.
Minerva Patterns supplies made-to-measure patterns in DXF AAMA, PLT and PDF, so the PLT is ready to send straight to a plotter while the DXF remains available for anyone who needs to edit the geometry first.
Frequently asked questions
What is the difference between PLT and HPGL?
HPGL is the command language; PLT is the common file extension for a file written in that language. In practice the terms are used interchangeably for plotter-ready pattern files.
Why does my PLT plot at slightly the wrong size?
The plotter and file probably disagree on plot units, typically 1016 units per inch or 40 per millimeter. Align the unit assumption and reprint a measured reference dimension to confirm.
Can I edit a PLT file's pattern shapes?
Not conveniently. PLT stores pen movements, not editable pattern entities. Edit the DXF master and regenerate the PLT for output rather than trying to modify the plot file directly.
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