HP2XX : An HPGL → EPS G-Code conversion tool
31-color patch kit for hp2xx-3.4.4 and executables for MS-DOS
HP2XX
Example
# 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 chart
Index | Pen color | Color name | Color code | R | G | B |
1 | | Black | #000000 | 0 | 0 | 0 |
2 | | Red | #FF0000 | 255 | 0 | 0 |
3 | | Grass Green | #5BBF00 | 91 | 191 | 0 |
4 | | Blue | #0000FF | 0 | 0 | 255 |
5 | | Cyan | #00BFBF | 0 | 191 | 191 |
6 | | Fuchsia | #FF00FF | 255 | 0 | 255 |
7 | | Olive Green | #7F7F00 | 127 | 127 | 0 |
8 | | Violet | #BF00FF | 191 | 0 | 255 |
9 | | Orange | #FF7F00 | 255 | 127 | 0 |
a | | Azure | #007FFF | 0 | 127 | 255 |
b | | Rose Madder Lake | #FF007F | 255 | 0 | 127 |
c | | Sunflower | #FFBF00 | 255 | 191 | 0 |
d | | Prussian Blue | #003F7F | 0 | 63 | 127 |
e | | Burnt Sienna | #B25532 | 178 | 85 | 50 |
f | | Tea Rose | #FF88C5 | 255 | 136 | 204 |
g | | Hyacinth | #7F00FF | 127 | 0 | 255 |
h | | Crimson Lake | #880024 | 136 | 0 | 36 |
i | | Permanent Green | #216600 | 33 | 102 | 0 |
j | | Deep Cobalt Green | #005361 | 0 | 83 | 97 |
k | | Sepia | #6F4E27 | 111 | 78 | 39 |
l | | Cerulean Blue | #00A2D9 | 0 | 162 | 217 |
m | | Cobalt Blue | #6166FF | 97 | 102 | 255 |
n | | Vermilion | #FF3000 | 255 | 48 | 0 |
o | | Ocher | #CC7722 | 204 | 114 | 34 |
p | | Burnt Umber | #8A3324 | 138 | 51 | 36 |
q | | Jazzberry Jam | #BF0069 | 191 | 0 | 105 |
r | | Lavender Rose | #EE99FF | 238 | 153 | 255 |
s | | Coral Pink | #F88379 | 255 | 175 | 207 |
t | | Lemon | #FDE910 | 253 | 233 | 16 |
u | | Pear | #D1E231 | 209 | 226 | 49 |
v | | Gray | #AAAAAA | 170 | 170 | 170 |
Note : Color names and color codes are defined independently and do not follow any particular standard.
© 2000 Takayuki HOSODA.