HP2XX : An HPGL → EPS G-Code conversion tool

31-color patch kit for hp2xx-3.4.4 and executables for MS-DOS

color pallette of the HP2XX / 31-color extention
Revised 2026-03-16
2022-04-11
Takayuki HOSODA

Overview

This patch kit for hp2xx-3.4.4 is primarily designed to convert HPGL-format plot files created during the MS-DOS 3.1 era into 31-color EPS files. We have selected a set of colors that we believe look beautiful and are well-suited for printing on paper or saving as PDFs.

HP2XX Files

Examples

The input.hpg is converted to EPS and output to output.eps.
The default colors cyan and orange in pens 5 and 9 have been replaced by cerulean blue and vermillion respectively.

hp2xx -c1234l678nabcdef -m eps input.hpg -f output.eps

Fit picture into center of ISO A4 (i.e. 210×297 mm) rectangle.
Leave pens 13 and 14 at their default pensize 1 and change the other pensizes to 2.

hp2xx -p222222222222112 -h 210.0 -w 297.0 -m eps -C input.hpg -f output.eps 

Color plot example

Color plot of an old schematic
Schematics: 4-1/2 digits Digital Panel Meter

Color chart

No. Sample Name Hex R G B
1Black#000000000
2Red#FF000025500
3Grass Green#5BBF00911910
4Blue#0000FF00255
5Cyan#00BFBF0191191
6Fuchsia#FF00FF2550255
7Olive Green#7F7F001271270
8Violet#BF00FF1910255
9Orange#FF7F002551270
aAzure#007FFF0127255
bRose Madder Lake#FF007F2550127
cSunflower#FFBF002551910
dPrussian Blue#003F7F063127
eBurnt Sienna#B255321788550
fTea Rose#FF88C5255136204
gHyacinth#7F00FF1270255
hCrimson Lake#880024136036
iPermanent Green#216600331020
jDeep Cobalt Green#00536108397
kSepia#6F4E271117839
lCerulean Blue#00A2D90162217
mCobalt Blue#6166FF97102255
nVermilion#FF3000255480
oOcher#CC772220411434
pBurnt Umber#8A33241385136
qJazzberry Jam#BF00691910105
rLavender Rose#EE99FF238153255
sCoral Pink#F88379255175207
tLemon#FDE91025323316
uPear#D1E23120922649
vGray#AAAAAA170170170
Note : Color names and color codes are defined independently and do not follow any particular standard.

www.finetune.co.jp [Mail] yokohamaat finetune dotco dotjp © 2000 Takayuki HOSODA.