|
|
|
|
|
PCL command
|
Printer control
|
Printer command |
Decimal value |
Hex. value |
Printer feature |
Reset |
EcE |
027 069 |
1B
45 |
Self-Test |
Ecz |
027 122 |
1B
7A |
Paper input control (media source) |
Z-fold media (banners) HP Deskjet 680, 690 printers
only |
Ec&l-1H (h) |
027 038 108 046 072 (104) |
1B
26 6C 2E 48 (68) |
Eject page |
Ec&l0H (h) |
027 038 108 048 072 (104) |
1B
26 6C 30 48 (68) |
Feed from tray (cut sheet) |
Ec&l1H (h) |
027 038 108 049 072 (104) |
1B
26 6C 31 48 (68) |
Manual feed |
Ec&l2H (h) |
027 038 108 050 072 (104) |
1B
26 6C 32 48 (68) |
Envelope feed |
Ec&l3H (h) |
027 038 108 051 072 (104) |
1B
26 6C 33 48 (68) |
Media type |
Plain paper |
Ec&l0M (m) |
027 038 108 048 077 (109) |
1B
26 6C 30 4D (6D) |
Bond paper |
Ec&l1M (m) |
027 038 108 049 077 (109) |
1B
26 6C 31 4D (6D) |
Special paper |
Ec&l2M (m) |
027 038 108 050 077 (109) |
1B
26 6C 32 4D (6D) |
Transparency |
Ec&l3M (m) |
027 038 108 051 077 (109) |
1B
26 6C 33 4D (6D) |
Glossy paper |
Ec&l4M (m) |
027 038 108 052 077 (109) |
1B
26 6C 34 4D (6D) |
Underline |
Single fixed |
Ec&d1D (d) |
027 038 100 049 068 (100) |
1B
26 64 31 44 (64) |
Double fixed HP Deskjet 600, 660 printer |
Ec&d2D (d) |
027 038 100 050 068 (100) |
1B
26 64 32 44 (64) |
Single floating |
Ec&d3D(d) |
027 038 100 051 068 (100) |
1B
26 64 33 44 (64) |
Double floating DJ 600, 660 |
Ec&d4D (d) |
027 038 100 052 068 (100) |
1B
26 64 34 44 (64) |
Turn off |
Ec&d@ |
027 038 100 064 |
1B
26 64 40 |
Line termination |
CR
= CR; LF = LF; FF = FF |
Ec&k0G (g) |
027 038 107 048 071 (103) |
1B
26 6B 30 47 (67) |
CR
= CR + LF; LF = LF; FF = FF |
Ec&k1G (g) |
027 038 107 049 071 (103) |
1B
26 6B 31 47 (67) |
CR
= CR; LF = CR + LF; FF = CR + FF |
Ec&k2G (g) |
027 038 107 050 071 (103) |
1B
26 6B 32 47 (67) |
CR
= CR + LF; LF = CR + LF; FF = CR + FF |
Ec&k3G (g) |
027 038 107 051 071 (103) |
1B
26 6B 33 47 (67) |
PCL command
|
Printer control
|
Printer command |
Decimal value |
Hex. value |
End-of-line wrap |
Turn on |
Ec&s0C (c) |
027 038 115 048 067 (99) |
1B
26 73 30 43 (63) |
Turn off |
Ec&s1C (c) |
027 038 115 049 067 (99) |
1B
26 73 31 43 (63) |
Transparent Print mode |
Number of bytes |
Ec&p#X [data] (x) |
027 038 112 # 088 [data] (120) |
1B
26 70 # 58 [data] (78) |
Display Functions mode |
Turn on |
EcY |
027 089 |
1B
59 |
Turn off |
EcZ |
027 090 |
1B
5A |
Page control and page orientation |
Portrait |
Ec&l0O (o) |
027 038 108 048 079 (111) |
1B
26 6C 30 4F (6F) |
Landscape |
Ec&l1O (o) |
027 038 108 049 079 (111) |
1B
26 6C 31 4F (6F) |
Page size |
Executive |
Ec&l1A (a) |
027 038 108 049 065 (097) |
1B
26 6C 31 41 (61) |
U.S. letter |
Ec&l2A (a) |
027 038 108 050 065 (097) |
1B
26 6C 32 41 (61) |
U.S. legal |
Ec&l3A (a) |
027 038 108 051 065 (097) |
1B
26 6C 33 41 (61) |
A5
ISO/JIS |
Ec&l25A (a) |
027 038 108 050 055 065 (097) |
1B
26 6C 32 37 41 (61) |
A4
ISO/JIS |
Ec&l26A (a) |
027 038 108 050 054 065 (097) |
1B
26 6C 32 36 41 (61) |
B5
JIS |
Ec&l45A (a) |
027 038 108 052 053 065 (097) |
1B
26 6C 34 35 41 (61) |
Card - 4 x 6 |
Ec&l74A (a) |
027 038 108 055 052 065 (097) |
1B
26 6C 37 34 41 (61) |
Card - 5 x 8 |
Ec&l75A (a) |
027 038 108 055 053 065 (097) |
1B
26 6C 37 35 41 (61) |
Card - A6 ISO/JIS |
Ec&l24A (a) |
027 038 108 050 052 065 (097) |
1B
26 6C 32 34 41 (61) |
Card -Hagaki |
Ec&l71A (a) |
027 038 108 055 049 065 (097) |
1B
26 6C 37 31 41 (61) |
Number 10 envelope |
Ec&l81A (a) |
027 038 108 056 049 065 (097) |
1B
26 6C 38 31 41 (61) |
Int'l DL envelope |
Ec&l90A (a) |
027 038 108 057 048 065 (097) |
1B
26 6C 39 30 41 (61) |
Int'l C6 envelope |
Ec&l92A (a) |
027 038 108 057 050 065 (097) |
1B
26 6C 39 32 41 (61) |
U.S. A2 Envelope |
Ec&l109A (a) |
027 038 108 049 048 057 065 (097) |
1B
26 6C 31 30 39 41 (61) |
PCL command
|
Printer control
|
Printer command |
Decimal value |
Hex. value |
Line spacing |
Lines per inch - number of lines |
Ec&l#D (d) |
027 038 108 # 068 (100) |
1B
26 6C # 44 (64) |
Page length |
Number of lines (5-128) |
Ec&l#P (p) |
027 038 108 #...# 080 (112) |
1B
26 6C #...# 50 (70) |
Perforation skip |
On |
Ec&l1L (l) |
027 038 108 049 076 (108) |
1B
26 6C 31 4C (6C) |
Off |
Ec&l0L (l) |
027 038 108 048 076 (108) |
1B
26 6C 30 4C (6C) |
Top margin |
Number of Lines |
Ec&l#E (e) |
027 038 108 #...# 069 (101) |
1B
26 6C #...# 45 (65) |
Text length |
Number of Lines |
Ec&l#F (f) |
027 038 108 #...# 070 (102) |
1B
26 6C #...# 46 (66) |
Side margins |
Clear |
Ec9 |
027 057 |
1B
39 |
Left (column number) |
Ec&a#L (l) |
027 038 097 #...# 076 (108) |
1B
26 61 #...# 4C (6C) |
Right (column number) |
Ec&a#M (m) |
027 038 097 #...# 077 (109) |
1B
26 61 #...# 4D (6D) |
Text scale |
Off |
Ec&k5W (w) |
027 038 107 053 087 (119) |
1B
26 6B 35 57 (77) |
On |
Ec&k6W (w) |
027 038 107 054 087 (119) |
1B
26 6B 36 57 (77) |
Horizontal Motion Index (HMI) |
Number of .008 inch Increments |
Ec&k#H (h) |
027 038 107 #...# 072 (104) |
1B
26 6B #...# 48 (68) |
The Horizontal Motion Index (HMI) command designates
the distance between columns in .008 inch
increments. When fixed pitch fonts are selected, all
printable characters, including the space and backspace
characters, are affected by HMI. When proportional fonts
are selected, the HMI affects only the control code space
character. The default HMI is equal to the pitch value
in the font header. The printer escape sequence that you
send is as follows:
Ec&k#H # is equal to a
variable that is derived from the following
formula:
Horizontal Printable
Area
_____________________ X 120 = #
Desired
Characters Per Line |
Horizontal position |
Number of columns |
Ec&a#C (c) |
027 038 097 #...# 067 (99) |
1B
26 61 #...# 43 (63) |
Number of dots |
Ec*p#X (x) |
027 042 112 #...# 088 (120) |
1B
2A 70 #...# 58 (78) |
Number of decipoints |
Ec&a#H (h) |
027 038 097 #...# 072 (104) |
1B
26 61 #...# 48 (68) |
Vertical Motion Index (VMI) |
Number of .021 inch Increments |
Ec&l#C (c) |
027 038 108 #...# 067 (99) |
1B
26 6C #...# 43 (63) |
The Vertical Motion Index (VMI) command designates
the distance between rows in .021 inch increments (the
vertical distance the cursor will move for a line feed
operation). This command affects the line feed and half
line feed spacing. The factory default VMI is 8, which
corresponds to 6 lines per inch. VMI can be selected from
the printer control panel or by sending a printer escape
sequence: Ec&l#C . # is equal to a variable that is
derived from the following formula:
Vertical
Printable Area _________________ X 48 = #
Desired
Lines Per Page |
PCL command
|
Printer control
|
Printer command |
Decimal value |
Hex. value |
Vertical position |
Number of rows |
Ec&a#R (r) |
027 038 097 #...# 082 (114) |
1B
26 61 #...# 52 (72) |
Number of dots |
Ec*p#Y (y) |
027 042 112 #...# 089 (121) |
1B
2A 70 #...# 59 (79) |
Number of decipoints |
Ec&a#V (v) |
027 038 097 #...# 086 (118) |
1B
26 61 #...# 56 (76) |
Font selection and symbol set |
PC-8 |
Ec(10U |
027 040 049 048 085 |
1B
28 31 30 55 |
HP
Roman8 |
Ec(8U |
027 040 056 085 |
1B
28 38 55 |
PC-8 Danish/ Norwegian |
Ec(11U |
027 040 049 049 085 |
1B
28 31 31 55 |
PC
850 |
Ec(12U |
027 040 049 050 085 |
1B
28 31 32 55 |
ECMA-94 Latin 1 |
Ec(0N |
027 040 048 078 |
1B
28 30 4E |
German (ISO 21) |
Ec(1G |
027 040 049 071 |
1B
28 31 47 |
French (ISO 69) |
Ec(1F |
027 040 049 070 |
1B
28 31 46 |
Italian (ISO 15) |
Ec(0I |
027 040 048 073 |
1B
28 30 49 |
Spanish (ISO 17) |
Ec(2S |
027 040 050 083 |
1B
28 32 53 |
Swedish (ISO 11) |
Ec(0S |
027 040 048 083 |
1B
28 30 53 |
Norwegian1 (ISO 60) |
Ec(0D |
027 040 048 068 |
1B
28 30 44 |
ISO 4: United Kingdom |
Ec(1E |
027 040 049 069 |
1B
28 31 45 |
ANSI ASCII (ISO 6) |
Ec(0U |
027 040 048 085 |
1B
28 30 55 |
HP
Legal |
Ec(1U |
027 040 049 085 |
1B
28 31 55 |
PC-8 Turkish |
Ec(9T |
027 040 057 084 |
1B
28 39 54 |
PC-852 |
Ec(17U |
027 040 049 055 085 |
1B
28 31 37 55 |
ISO 8859/2 Latin 2 |
Ec(2N |
027 040 050 078 |
1B
28 32 4E |
ISO 8859/5 Latin 5 |
Ec(5N |
027 040 053 078 |
1B
28 35 4E |
Microsoft (R) Windows 3.1 Latin 1 |
Ec(19U |
027 040 049 057 085 |
1B
28 31 39 55 |
Microsoft Windows 3.1 Latin 2 |
Ec(9E |
027 040 057 069 |
1B
28 39 45 |
Microsoft Windows 3.1 Latin 5 |
Ec(5T |
027 040 053 084 |
1B
28 35 54 |
Refer to the PCL-5 Comparison Guide for additional
supported symbol sets. |
PCL command
|
Printer control
|
Printer command |
Decimal value |
Hex. value |
Spacing |
Proportional |
Ec(s1P (p) |
027 040 115 049 080 (112) |
1B
28 73 31 50 (70) |
Fixed |
Ec(s0P (p) |
027 040 115 048 080 (112) |
1B
28 73 30 50 (70) |
Print pitch |
Number Characters per inch |
Ec(s#H (h) |
027 040 115 #...# 072 (104) |
1B
28 73 #...# 48 (68) |
Point size (character height) |
Number of .014 inch |
Ec(s#V (v) |
027 040 115 #...# 086 (118) |
1B
28 73 #...# 56 (76) |
Style |
Upright |
Ec(s0S (s) |
027 040 115 048 083 (115) |
1B
28 73 30 53 (73) |
Italic |
Ec(s1S (s) |
027 040 115 049 083 (115) |
1B
28 73 31 53 (73) |
Stroke weight |
Normal |
Ec(s0B (b) |
027 040 115 048 066 (98) |
1B
28 73 30 42 (62) |
Bold |
Ec(s3B (b) |
027 040 115 051 066 (98) |
1B
28 73 33 42 (62) |
Extra Bold |
Ec(s7B (b) |
027 040 115 055 066 (98) |
1B
28 73 37 42 (62) |
Typeface |
Courier |
Ec(s3T (t) |
027 040 115 051 084 (116) |
1B
28 73 33 54 (74) |
CG
Times |
Ec(s4101T (t) |
027 040 115 052 049 048 049 084 (116) |
1B
28 73 34 31 30 31 54 (74) |
Letter Gothic |
Ec(s6T (t) |
027 040 115 054 084 (116) |
1B
28 73 36 54 (74) |
Univers |
Ec(s52T (t) |
027 040 115 053 050 084 (116) |
1B
28 73 35 32 54 (74) |
Print quality |
EconoFast 300 x 300 dpi |
Ec*o-1M (m) |
027 042 111 045 049 077 (109) |
1B
2A 6F 2D 31 4D (6D) |
Normal 600 x 300 dpi |
Ec*o0M (m) |
027 042 111 048 077 (109) |
1B
2A 6F 30 4D (6D) |
Presentation 600 x 600 dpi |
Ec*o1M (m) |
027 042 111 049 077 (109) |
1B
2A 6F 31 4D (6D) |
Download font management |
Font ID number |
Ec*c#D (d) |
027 042 099 # 068 (100) |
1B
2A 63 # 44 (64) |
ASCII code number |
Ec*c#E (e) |
027 042 099 # 069 (101) |
1B
2A 63 # 45 (65) |
Delete All |
Ec*c0F (f) |
027 042 099 048 070 (102) |
1B
2A 63 30 46 (66) |
Delete Temporary |
Ec*c1F (f) |
027 042 099 049 070 (102) |
1B
2A 63 31 46 (66) |
Delete last |
Ec*c2F (f) |
027 042 099 050 070 (102) |
1B
2A 63 32 46 (66) |
Make Temporary |
Ec*c4F (f) |
027 042 099 052 070 (102) |
1B
2A 63 34 46 (66) |
Make Permanent |
Ec*c5F (f) |
027 042 099 053 070 (102) |
1B
2A 63 35 46 (66) |
Create font number of bytes |
Ec)s#W[data] |
027 041 115 # 087 [data] |
1B
29 73 # 57[data] |
Download chr. Number of bytes |
Ec(s#W[data] |
027 040 115 # 087 [data] |
1B
28 73 # 57 [data] |
PCL command
|
Printer control
|
Printer command |
Decimal value |
Hex. value |
Start Raster Graphics |
At
left most position |
Ec*r0A |
027 042 114 048 065 |
1B
2A 72 30 41 |
Current Cursor Position |
Ec*r1A |
027 042 114 049 065 |
1B
2A 72 31 41 |
End Raster Graphics |
End Graphics |
Ec*rC |
027 042 114 067 |
1B
2A 72 43 |
Resolution |
75
dots per inch |
Ec*t75R |
027 042 116 055 053 082 |
1B
2A 74 37 35 52 |
150 dots per inch |
Ec*t150R |
027 042 116 049 053 048 082 |
1B
2A 74 31 35 30 52 |
300 dots per inch |
Ec*t300R |
027 042 116 051 048 048 082 |
1B
2A 74 33 30 30 52 |
600 dots per inch |
Ec*t600R |
027 042 116 054 048 048 082 |
1B
2A 74 36 30 30 52 |
Configure Raster Data |
Ec*g#W |
027 042 103 # 087 |
1B
2A 67 # 57 |
Set Raster Graphics Width |
Number of pixels |
Ec*r#S |
027 042 114 # 083 |
1B
2A 72 # 53 |
Add Raster Graphics Compression |
Method 0 |
Ec*b0M |
027 042 098 048 077 |
1B
2A 62 30 4D |
Method 1 |
Ec*b1M |
027 042 098 049 077 |
1B
2A 62 31 4D |
Method 2 |
Ec*b2M |
027 042 098 050 077 |
1B
2A 62 32 4D |
Method 3 |
Ec*b3M |
027 042 098 051 077 |
1B
2A 62 33 4D |
Method 9 |
Ec*b9M |
027 042 098 057 077 |
1B
2A 62 39 4D |
Seed Row Source |
Ec*b#S |
027 042 098 # 083 |
1B
2A 62 # 53 |
Transfer Raster Graphics |
Transfer data by row (Number of bytes) |
Ec*b#W[data] |
027 042 098 # 087 [data] |
1B
2A 62 # 57 [data] |
Transfer data by plane (Number of bytes) |
Ec*b#V[data] |
027 042 098 # 086 [data] |
1B
2A 62 # 56 [data] |
Relative Vertical Pixel Movement (formerly known as Y
offset) |
Number of dots |
Ec*b#Y |
027 042 098 # 089 |
1B
2A 62 # 59 |
PCL command
|
Printer control
|
Printer command |
Decimal value |
Hex. value |
Set Number of Raster planes per row |
Single plane palette |
Ec*r1U |
027 042 114 049 085 |
1B
2A 72 31 55 |
3
planes, CMY palette |
Ec*r-3U |
027 042 114 045 051 085 |
1B
2A 72 2D 33 55 |
3
planes, RGB palette |
Ec*r3U |
027 042 114 051 085 |
1B
2A 72 33 55 |
4
planes, KCMY palette |
Ec*r-4U |
027 042 114 045 052 085 |
1B
2A 72 2D 34 55 |
Configure Raster Data (CRD) |
Planar Direct |
Ec*g2W |
027 042 103 050 087 |
1B
2A 67 32 57 |
Color Text (Graphics) |
White (no ink) |
Ec*v0S |
027 042 118 048 083 |
1B
2A 76 30 53 |
True Black |
Ec*v1S |
027 042 118 049 083 |
1B
2A 76 31 53 |
Cyan |
Ec*v2S |
027 042 118 050 083 |
1B
2A 76 32 53 |
Magenta |
Ec*v4S |
027 042 118 052 083 |
1B
2A 76 34 53 |
Blue |
Ec*v6S |
027 042 118 054 083 |
1B
2A 76 36 53 |
Yellow |
Ec*v8S |
027 042 118 056 083 |
1B
2A 76 38 53 |
Green |
Ec*v10S |
027 042 118 049 048 083 |
1B
2A 76 31 30 53 |
Red |
Ec*v12S |
027 042 118 049 050 083 |
1B
2A 76 31 32 53 |
Composite Black |
Ec*v14S |
027 042 118 049 052 083 |
1B
2A 76 31 34 53 |
Graphics image improvement |
Raster graphics depletion (1-5) |
Ec*o#D |
027 042 111 # 068 |
1B
2A 6F # 44 |