Table | HP PCL 5 Commands (continued) |
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
| |
FUNCTION |
| PARAMETER | COMMAND |
| DECIMAL VALUE |
|
|
| HEXADECIMAL VALUE |
| |
|
|
|
|
| Orientation |
|
|
|
|
|
|
Orientation |
| Portrait | ?&l0O | (o) | 027 038 108 048 079 | (111) | 1B | 26 | 6C | 30 4F | (6F) |
|
| Landscape | ?&l1O | (o) | 027 038 108 049 079 | (111) | 1B | 26 | 6C | 31 4F | (6F) |
|
| Reverse Portrait | ?&l2O | (o) | 027 038 108 050 079 | (111) | 1B | 26 | 6C | 32 4F | (6F) |
|
| Reverse | ?&l3O | (o) | 027 038 108 051 079 | (111) | 1B | 26 | 6C | 33 4F | (6F) |
|
| Landscape |
|
|
|
|
|
|
|
|
|
Print Direction |
| # Degrees of | ?&a#P | (p) | 027 038 097 #...# 080 | (112) | 1B | 26 | 61 #...# 50 | (70) | |
|
| Rotation (counter- |
|
|
|
|
|
|
|
|
|
|
| clockwise, |
|
|
|
|
|
|
|
|
|
|
| 90° increments |
|
|
|
|
|
|
|
|
|
|
| only) |
|
|
|
|
|
|
|
|
|
Character Text |
| Horizontal | ?&c0T | (t) | 027 038 099 048 084 | (116) | 1B | 26 | 63 30 54 | (74) | |
Path Direction |
| Vertical Rotated | (t) | 027 038 099 045 049 084 | (116) | 1B | 26 | 63 2D 31 54 | (74) | ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Margins and Text Length |
|
|
|
|
|
| |
Top Margin |
| # of Lines | ?&l#E | (e) | 027 038 108 #...# 069 | (101) | 1B | 26 | 6C | #...# 45 | (65) |
Text Length |
| # of Lines | ?&l#F | (f) | 027 038 108 #...# 070 | (102) | 1B | 26 | 6C | #...# 46 | (66) |
Left Margin |
| # of Columns | ?&a#L | (l) | 027 038 097 #...# 076 | (108) | 1B | 26 | 61 #...# 4C | (6C) | |
Right Margin |
| # of Columns | ?&a#M | (m) | 027 038 097 #...# 077 | (109) | 1B | 26 | 61 #...# 4D | (6D) | |
Clear Horizontal |
| — | ?9 |
| 027 057 |
| 1B | 39 |
|
|
|
Margins |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Perforation Skip Mode |
|
|
|
|
|
| |
Perforation Skip |
| Disable | ?&l0L | (l) | 027 038 108 048 076 | (108) | 1B | 26 | 6C | 30 4C | (6C) |
|
| Enable | ?&l1L | (l) | 027 038 108 049 076 | (108) | 1B | 26 | 6C | 31 4C | (6C) |
|
|
| Horizontal Column Spacing |
|
|
|
|
|
| ||
Horizontal Motion | # of 1/120" | ?&k#H | (h) | 027 038 107 #...# 072 | (104) | 1B | 26 | 6B | #...# 48 | (68) | |
Index (HMI) |
| Increments |
|
|
|
|
|
|
|
|
|
|
|
|
| Vertical Line Spacing |
|
|
|
|
|
| |
Vertical Motion In- | # of 1/48" | ?&l#C | (c) | 027 038 108 #...# 067 | (99) | 1B | 26 | 6C | #...# 43 | (63) | |
dex (VMI) |
| Increments |
|
|
|
|
|
|
|
|
|
Line Spacing |
| 1 line/inch | ?&l1D | (d) | 027 038 108 049 068 | (100) | 1B | 26 | 6C | 31 44 | (64) |
(Lines per inch) |
|
|
|
|
|
|
|
|
|
|
|
|
| 2 lines/inch | ?&l2D | (d) | 027 038 108 050 068 | (100) | 1B | 26 | 6C | 32 44 | (64) |
|
| 3 lines/inch | ?&l3D | (d) | 027 038 108 051 068 | (100) | 1B | 26 | 6C | 33 44 | (64) |
|
| 4 lines/inch | ?&l4D | (d) | 027 038 108 052 068 | (100) | 1B | 26 | 6C | 34 44 | (64) |
|
| 6 lines/inch | ?&l6D | (d) | 027 038 108 054 068 | (100) | 1B | 26 | 6C | 36 44 | (64) |
|
| 8 lines/inch | ?&l8D | (d) | 027 038 108 056 068 | (100) | 1B | 26 | 6C | 38 44 | (64) |
|
| 12 lines/inch | ?&l12D | (d) | 027 038 108 049 050 068 | (100) | 1B | 26 | 6C 31 32 44 | (64) | |
|
| 16 lines/inch | ?&l16D | (d) | 027 038 108 049 054 068 | (100) | 1B | 26 | 6C 31 36 44 | (64) | |
|
| 24 lines/inch | ?&l24D | (d) | 027 038 108 050 052 068 | (100) | 1B | 26 | 6C 32 34 44 | (64) | |
|
| 48 lines/inch | ?&l48D | (d) | 027 038 108 052 056 068 | (100) | 1B | 26 | 6C 34 38 44 | (64) | |
|
|
|
| ALPHANUMERIC ID |
|
|
|
|
|
| |
Alphanumeric ID |
| # of bytes | ?&n#W[operation] |
| 027 038 110 #...# 087 |
| 1B | 26 | 6E | #...# 57 |
|
|
|
| [String] |
|
|
|
|
|
|
|
|