hp-support-head-portlet

Actions
Loading...

HP Customer Support

hp-contact-secondary-navigation-portlet

Actions
Loading...

hp-share-print-widget-portlet

Actions
Loading...

hp-concentra-wrapper-portlet

Actions
Loading...

HP Deskjet 1120c and 1220c Professional Series Printers - PCL Printer Commands

Introduction
Hewlett-Packard developed the PCL printer language to standardize access to printer features. The PCL language provides the highest level of communications between the system and the printer. It is independent of the host system, device driver, I/O interface, and network communications.
This document lists the HP Deskjet PCL printer commands for basic page formatting and font selection. If further information about PCL commands is needed, please contact the Customer Support Center.
About using PCL printer commands
There are two general types of PCL Commands:
  • Control Codes
  • Escape Sequences
A Control Code is a character that initiates a printer function (for example, Carriage Return (CR), Line Feed (LF), Form Feed (FF), etc.).
An Escape Sequence begins with the ASCII escape character Esc (decimal 27), followed by at least one other character. A PCL device-receiving Esc tries to interpret subsequent characters as a PCL command rather than as data to be printed. If the device does not recognize the command, it remains at the text processing level: syntactically correct, but unrecognized escape sequences are ignored; syntactically incorrect sequences are ignored and printed.
Syntax of escape sequences
There is two forms of PCL escape sequences: two-character escape sequences and parameterized escape sequences.
Two-character escape sequences
Two-character escape sequences have the following form: Esc X
Where “X” is a character that defines the operation to be performed.
 note:
“X” may be any character from the ASCII table within the range 48-126 decimal [“0” through ”~”].
Parameterized escape sequences
Parameterized escape sequences have the following form:
  • Esc X y z1 # z2 # z3 …# Zn [data] (where y, #, zi (z1, z2, z3…) and [data] may be optional, depending on the command).
  • X Parameterized Character: A character from the ASCII table within the range 33-47 decimal (“!” through “/”) indicating that the escape sequence is parameterized.
  • Y Group Character: A character from the ASCII table within the range 96-126 decimal (“’” through “~”), which specifies the group type of control being performed.
  • # Value Field: A group of characters specifying a numeric value. The numeric value is represented as an ASCII string of characters within the range 48-57 decimal (“0” through “9”) that may be preceded by a + or - sign and may contain a fractional portion indicated by the digits after a decimal point (.). Numeric value fields are within the range -32767 to 32767. If an escape sequence requires a value field and a value field is not specified, a value of zero is assumed.
  • Zi Parameter Character: Any character from the ASCII table within the range 96-126 decimal (“ “ “ through “~”). This character specifies the parameter to which the previous value field applies. This character is used when combining escape sequences.
  • Zn Termination Character: Any character from the ASCII table within the range 64-96 decimal (“@” through “~”). This character specifies the parameter to which the previous value field applies. This character terminates the escape sequence and is always in the form of a capital letter, such as A, M, T, etc.
Translating between ASCII, hex, and decimal values
The following table may be used to translate ASCII values into decimal or hexadecimal values.
ASCII value
Dec
Hex
Description
0
48
30
Zero
1
49
31
One
2
50
32
Two
3
51
33
Three
4
52
34
Four
5
53
35
Five
6
54
36
Six
7
55
37
Seven
8
56
38
Eight
9
57
39
Nine
.
46
2E
Period (point)
PCL printer command summary
 note:
The printer commands with an asterisk (*) are listed in the order in which they must be sent. The pound sign (#) indicates the numeric parameter value field.
 note:
Spaces in the escape sequences are for readability and should not appear in actual command.
 note:
In the following Printer commands, the character l is a lower-case L. The character 1 is the numeral one.
Printer control
Printer feature
Printer command
Decimal value
Hexadecimal value
Reset
Esc E
027 069
1B 45
Self-test
Esc z
027 122
1B 7A
Paper input control (media source)
Printer feature
Printer command
Decimal value
Hexadecimal value
Eject page
Esc & l 0 H
027 038 108 048 072
1B 26 6C 30 48
Feed from tray
Esc & l 1 H
027 038 108 049 072
1B 26 6C 31 48
Manual feed
Esc & l 2 H
027 038 108 050 072
1B 26 6C 32 48
Envelope feed
Esc & l 3 H
027 038 108 051 072
1B 26 6C 33 48
Lower tray
Esc & l 4 H
027 038 108 052 072
1B 26 6C 33 48
Envelope feeder
Esc & l 6 H
027 038 108 054 072
1B 26 6C 36 48
Underline
Printer feature
Printer command
Decimal value
Hexadecimal value
Default
Esc & d 0 D
027 038 100 048 068
1B 26 64 30 44
Single fixed
Esc & d 1 D
027 038 100 049 068
1B 26 64 31 44
Double fixed
Esc & d 2 D
027 038 100 050 068
1B 26 64 32 44
Single floating
Esc & d 3 D
027 038 100 051 068
1B 26 64 33 44
Double float
Esc & d 4 D
027 038 100 052 068
1B 26 64 34 44
Turn off
Esc & d @
027 038 100 064
1B 26 64 40
Line termination
Printer feature
Printer command
Decimal value
Hexadecimal value
CR=CR; LF=LF; FF=FF
Esc & k 0 G
027 038 107 048 071
1B 26 6B 30 47
CR=CR+LF; LF=LF, FF=FF
Esc & k 1 G
027 038 107 049 071
1B 26 6B 31 47
CR=CR; LF=CR+LF; FF=CR+FF
Esc & k 2 G
027 038 107 050 071
1B 26 6B 32 47
CR=CR+LF; LF=CR+LF; FF=CR+FF
Esc & k 3 G
027 038 107 051 071
1B 26 6B 33 47
End of line wrap
Printer feature
Printer command
Decimal value
Hexadecimal value
Turn on
Esc & s 0 C
027 038 115 048 067
1B 26 73 30 43
Turn off
Esc & s 1 C
027 038 115 049 067
1B 26 73 31 43
Transparent print mode
Printer feature
Printer command
Decimal value
Hexadecimal value
Number of bytes
Esc & p # X [data]
027 038 112 # 088 [data]
1B 26 70 # 58 [data]
Display functions mode
Printer feature
Printer command
Decimal value
Hexadecimal value
Turn on
Esc Y
027 089
1B 59
Turn off
Esc Z
027 090
1B 5A
Print mode (text) OBSOLETE
Printer feature
Printer command
Decimal value
Hexadecimal value
Esc & k # W
027 038 107 # 087
1B 26 68 # 57
Page control
 note:
In the following Printer commands, the character l is a lower-case L. The character 1 is the numeral one.
Page orientation*
Printer feature
Printer command
Decimal value
Hexadecimal value
Portrait
Esc & l 0 O
027 038 108 048 079
1B 26 6C 30 4F
Landscape
Esc & l1 O
027 038 108 049 079
1B 26 6C 31 4F
Reverse Landscape
Esc & l 3 O
027 038 108 051 079
1B 26 6C 33 4F
Print quality
Printer feature
Printer command
Decimal value
Hexadecimal value
Economy/Draft
Esc * o -1 M
027 042 111 046 049 077
1B 2A 6F 2E 31 4D
Normal
Esc * o 0 M
027 042 111 048 077
1B 2A 6F 30 4D
Best
Esc * o 1 M
027 042 111 049 077
1B 2A 6F 31 4D
Media type
Printer feature
Printer command
Decimal value
Hexadecimal value
Plain Paper
Esc & l 0 M
027 038 108 048 077
1B 26 6C 30 4D
HP Premium Paper
Esc & l 2 M
027 038 108 050 077
1B 26 6C 32 4D
Glossy Paper
Esc & l 3 M
027 038 108 051 077
1B 26 6C 33 4D
Transparencies
Esc & l 4 M
027 038 108 052 077
1B 26 6C 34 4D
Paper size*
Printer feature
Printer command
Decimal value
Hexadecimal value
Default
Esc & l 0 A
027 038 108 048 065
1B 26 6C 30 41
Executive
Esc & l 1 A
027 038 108 049 065
1B 26 6C 31 41
US Letter
Esc & l 2 A
027 038 108 050 065
1B 26 6C 32 41
US Legal
Esc & l 3 A
027 038 108 051 065
1B 26 6C 33 41
US Ledger
Esc & l 6 A
027 038 108 054 065
1B 26 6C 36 41
Statement
Esc & l 15 A
027 038 108 049 053 065
1B 26 6C 31 35 41
Super B (NEC A3 Nobi)
Esc & l 16 A
027 038 108 049 054 065
1B 26 6C 31 36 41
JIS A6
Esc & l 24 A
027 038 108 050 052 065
1B 26 6C 32 34 41
JIS A5
Esc & l 25 A
027 038 108 050 055 065
1B 26 6C 32 35 41
JIS A4
Esc & l 26 A
027 038 108 050 054 065
1B 26 6C 32 36 41
JIS A3
Esc & l 27 A
027 038 108 050 055 065
1B 26 6C 32 37 41
JIS B5
Esc & l 45 A
027 038 108 052 053 065
1B 26 6C 34 35 41
JIS B4
Esc & l 46 A
027 038 108 052 054 065
1B 26 6C 34 36 41
Hagaki Postcard
Esc & l 71 A
027 038 108 055 049 065
1B 26 6C 37 31 41
Oufuku-Hagaki
Esc & l 72 A
027 038 108 055 050 065
1B 26 6C 37 32 41
ISO A6 Postcard (envelope)
Esc & l 73 A
027 038 108 055 051 065
1B 26 6C 37 33 41
US: 4 x 6 Card
Esc & l 74 A
027 038 108 055 052 065
1B 26 6C 37 34 41
US: 5 x 8 Card
Esc & l 75 A
027 038 108 055 053 065
1B 26 6C 37 35 41
DL Envelope (Landscape)
Esc & l -90 A
027 038 108 045 057 048 065
1B 26 6C 2D 39 30 41
No. 10 Envelope (Landscape)
Esc & l -81 A
027 038 108 045 056 049 065
1B 26 6C 2D 38 31 41
Monarch Envelope
Esc & l 80 A
027 038 108 056 048 065
1B 26 6C 38 30 41
No. 10 Envelope
Esc & l 81 A
027 038 108 045 056 049 065
1B 26 6C 38 31 41
Int'l DL envelope
Esc & l 90 A
027 038 108 057 048 065
1B 26 6C 39 30 41
C5 Envelope
Esc & l 91
027 038 108 057 049 065
1B 26 6C 39 31 41
Int'l C6 envelope
Esc & l 92 A
027 038 108 057 050 065
1B 26 6C 39 32 41
Custom
Esc & l 101 A
027 038 108 049 048 049 065
1B 26 6C 31 30 31 41
A2 Envelope
Esc & l 109 A
027 038 108 049 048 057 065
1B 26 6C 31 30 39 41
NEC Long3 Envelope
Esc & l 110 A
027 038 108 049 049 048 065
1B 26 6C 31 31 30 41
NEC Long4 Envelope
Esc & l 111 A
027 038 108 049 049 049 065
1B 26 6C 31 31 31 41
Kaku Envelope
Esc & l 113 A
027 038 108 049 049 051 065
1B 26 6C 31 31 33 41
HP Greeting Card
Esc & l 114 A
027 038 108 049 049 052 065
1B 26 6C 31 31 34 41
 note:
In the following Printer commands, the character l is a lower-case L. The character 1 is the numeral one.
Line spacing
Printer feature
Printer command
Decimal value
Hexadecimal value
Lines per inch no. of lines
Esc & l # D
027 038 108 # 068
1B 26 6C # 44
Page length*
Printer feature
Printer command
Decimal value
Hexadecimal value
Number of Lines, (5-128 are valid)
Esc & l # P
027 038 108 # 080
1B 26 6C # 50
Perforation skip mode*
Printer feature
Printer command
Decimal value
Hexadecimal value
Off
Esc & l 0 L
027 038 108 048 076
1B 26 6C 30 4C
On
Esc & l 1 L
027 038 108 049 076
1B 26 6C 31 4C
Top margin*
Printer feature
Printer command
Decimal value
Hexadecimal value
Number of Lines
Esc & l # E
027 038 108 # 069
1B 26 6C # 45
Text length*
Printer feature
Printer command
Decimal value
Hexadecimal value
Number of Lines
Esc & l # F
027 038 108 # 070
1B 26 6C # 46
Side margins*
Printer feature
Printer command
Decimal value
Hexadecimal value
Left (column no.)
Esc & a # L
027 038 097 # 076
1B 26 61 # 4C
Right (column no.)
Esc & a # M
027 038 097 # 077
1B 26 61 # 4D
Clear Side Margins
Esc 9
027 057
1B 39
Cursor positioning
Printer feature
Printer command
Decimal value
Hexadecimal value
Unit of Measure
Esc & u # D
027 038 117 # 068
1B 26 75 # 44
Horizontal motion index number of 1/120th inch moves
Esc & k # H
027 038 107 # 072
1B 26 6B # 48
Move to column no.
Esc & a # C
027 038 097 # 067
1B 26 61 # 43
Horizontal no. (deci-points)
Esc & a # H
027 038 097 # 072
1B 26 61 # 48
Horizontal no. (PCL Units)
Esc * p # X
027 042 112 # 088
1B 2A 70 # 58
Vertical motion index no. of 1/48th inch moves
Esc & l # C
027 038 108 # 067
1B 26 6C # 43
Move to row no.
Esc & a # R
027 038 097 # 082
1B 26 61 # 52
Vertical no. (deci-points)
Esc & a # V
027 038 097 # 086
1B 26 61 # 56
Vertical no. (PCL Units)
Esc * p # Y
027 042 112 # 089
1B 2A 70 # 59
Font selection
Character set*
Printer feature
Printer command
Decimal value
Hexadecimal value
PC-8
Esc ( 10 U
027 040 049 048 085
1B 28 31 30 55
HP Roman8
Esc ( 8 U
027 040 056 085
1B 28 38 55
PC-8 Danish / Norwegian
Esc ( 11 U
027 040 049 049 085
1B 28 31 31 55
German (ISO 21)
Esc ( 1 G
027 040 049 071
1B 28 31 47
French (ISO 69)
Esc ( 1 F
027 040 049 070
1B 28 31 46
JIS ASCII (ISO 14)
Esc ( 0 K
027 040 048 075
1B 28 30 48
LineDraw
Esc ( 0 L
027 040 048 076
1B 28 30 4C
Math7
Esc ( 0 M
027 040 048 077
1B 28 30 4D
Italian (ISO 15)
Esc ( 0 I
027 040 048 073
1B 28 30 49
Math 8a
Esc ( 0 Q
027 040 048 081
1B 28 30 51
Spanish (ISO 17)
Esc ( 2 S
027 040 050 083
1B 28 32 53
Swedish Names (ISO 11)
Esc ( 0 S
027 040 048 083
1B 28 30 53
Norwegian1 (ISO 60)
Esc ( 0 D
027 040 048 068
1B 28 30 44
Norwegian (ISO 61)
Esc ( 1 D
027 040 049 068
1B 28 31 44
United Kingdom (ISO 4)
Esc ( 1 E
027 040 049 069
1B 28 31 45
PlFonta
Esc ( 2 Q
027 040 050 081
1B 28 32 51
ISO IRV
Esc ( 2 U
027 040 050 085
1B 28 32 55
Swedish (ISO 10)
Esc ( 3 S
027 040 051 083
1B 28 33 53
Portugal (ISO 16)
Esc ( 4 S
027 040 052 083
1B 28 34 53
Desktop
Esc ( 7 J
027 040 055 074
1B 28 37 4A
Printer feature
Printer command
Decimal value
Hexadecimal value
Math8
Esc ( 8 M
027 040 056 077
1B 28 36 4D
PC-8 Turkish
Esc ( 9 T
027 040 057 084
1B 28 39 54
ANSI ASCII (ISO 6)
Esc ( 0 U
027 040 048 085
1B 28 30 55
HP Legal
Esc ( 1 U
027 040 049 085
1B 28 31 55
PC-850
Esc ( 12 U
027 040 049 050 085
1B 28 31 32 55
PlFont
Esc ( 15 U
027 040 049 053 085
1B 28 31 35 55
PC-852
Esc ( 17 U
027 040 049 055 085
1B 28 31 37 55
ECMA-94 Latin 1
Esc ( 0 N
027 040 048 078
1B 28 30 4E
ISO 8859/2 Latin 2
Esc ( 2 N
027 040 050 078
1B 28 32 4E
ISO 8859/5 Latin 5
Esc ( 5 N
027 040 053 078
1B 28 35 4E
Windows 3.1 Latin 1
Esc ( 19 U
027 040 049 057 085
1B 28 31 39 55
Windows 3.1 Latin 2
Esc ( 9 E
027 040 057 069
1B 28 39 45
Windows 3.1 Latin 5
Esc ( 5 T
027 040 053 084
1B 28 35 54
Spacing*
Printer feature
Printer command
Decimal value
Hexadecimal value
Proportional
Esc ( s 1 P
027 040 115 049 080
1B 28 73 31 50
Fixed
Esc ( s 0 P
027 040 115 048 080
1B 28 73 30 50
Print pitch*
Printer feature
Printer command
Decimal value
Hexadecimal value
Number of characters per inch
Esc ( s # H
027 040 115 # 072
1B 28 73 # 48
Point size (character height)*
Printer feature
Printer command
Decimal value
Hexadecimal value
Number of 1/72nd inch
Esc ( s # V
027 040 115 # 086
1B 28 73 # 56
Style*
Printer feature
Printer command
Decimal value
Hexadecimal value
Upright
Esc ( s 0 S
027 040 115 048 083
1B 28 73 30 53
Italic
Esc ( s 1 S
027 040 115 049 083
1B 28 73 31 53
Upright Condensed
Esc ( s 4 S
027 040 115 052 083
1B 38 73 34 53
Italic Condensed
Esc ( s 5 S
027 040 115 053 083
1B 28 73 35 53
Stroke weight*
Printer feature
Printer command
Decimal value
Hexadecimal value
Light
Esc (s -3 B
027 040 115 045 051 066
1B 28 73 2D 33 42
Normal
Esc ( s 0 B
027 040 115 048 066
1B 28 73 30 42
Bold
Esc ( s 3 B
027 040 115 051 066
1B 28 73 33 42
Extra Bold
Esc ( s 7 B
027 040 115 055 066
1B 28 73 37 42
Typeface*
Printer feature
Printer command
Decimal value
Hexadecimal value
Courier
Esc ( s 3 T
027 040 115 051 084
1B 28 73 33 54
CG Times
Esc ( s 4101 T
027 040 115 052 049 048 049 084
1B 28 73 34 31 30 31 54
Letter Gothic
Esc ( s 6 T
027 040 115 054 084
1B 28 73 36 54
Univers
Esc ( s 52 T
027 040 115 053 050 084
1B 28 73 35 32 54
Times New Roman
Esc ( s 517 T
027 040 115 053 049 055 084
1B 28 73 35 31 37 54
Arial (R)
Esc ( s 218 T
027 040 115 050 049 056 084
1B 28 73 32 31 38 54
Symbol
Esc ( s 302 T
027 040 115 051 048 050 084
1B 28 73 33 30 32 54
Wingdings
Esc ( s 2730 T
027 040 115 050 055 051 048 084
1B 28 73 32 37 33 30 54
Quality OBSOLETE
Printer feature
Printer command
Decimal value
Hexadecimal value
NLQ
Esc ( s 1 Q
027 040 115 049 081
1B 28 73 31 51
Letter
Esc ( s 2 Q
027 040 115 050 081
1B 28 73 32 51
Font downloading
Printer feature
Printer command
Decimal value
Hexadecimal value
Font ID #
Esc * c # D
027 040 099 ## 068
1B 2A 63 ## 44
Delete All Fonts
Esc * c 0 F
027 042 099 048 070
1B 2A 63 30 46
Delete Temp. Fonts
Esc * c 1 F
027 042 099 049 070
1B 2A 63 31 46
Delete Last Font
Esc * c 2 F
027 042 099 050 070
1B 2A 63 32 46
Delete Character
Esc * c 3 F
027 042 099 051 070
1B 2A 63 33 46
Make Font Temporary
Esc * c 4 F
027 042 099 052 070
1B 2A 63 34 46
Make Font Permanent
Esc * c 5 F
027 042 099 053 070
1B 2A 63 35 46
Copy/Assign Font
Esc * c 6 F
027 042 099 054 070
1B 2A 63 36 46
Download Character # of bytes
Esc ( s # W [data]
027 040 115 ## 087 data
1B 28 73 ## 57 data
Download Font # of bytes
Esc ) s # W [data]
027 041 115 ## 087 data
1B 29 73 ## 57 data
Font Selection by ID# (Primary)
Esc ( # X
027 040 ## 088
1B 28 ## 58
Font Selection by ID# (Secondary)
Esc ) # X
027 041 ## 088
1B 29 ## 58
Primary character set*
Printer feature
Printer command
Decimal value
Hexadecimal value
Default
Esc ( @
027 040 064
1B 28 40
Default Primary
Esc ( 1 @
027 040 049 064
1B 28 31 40
Current Font
Esc ( 2 @
027 040 050 064
1B 28 32 40
Default Font
Esc ( 3 @
027 040 051 064
1B 29 33 40
Secondary character set*
Printer feature
Printer command
Decimal value
Hexadecimal value
Default
Esc ) @
027 041 064
1B 29 40
Default Primary
Esc ) 1 @
027 041 049 064
1B 29 31 40
Current Font
Esc ) 2 @
027 041 050 064
1B 29 32 40
Default Font
Esc ) 3 @
027 041 051 064
1B 29 33 40
Raster graphics
Start raster graphics
Printer feature
Printer command
Decimal value
Hexadecimal value
At left most position
Esc * r 0 A
027 042 114 048 065
1B 2A 72 30 41
Current Cursor Position
Esc * r 1 A
027 042 114 049 065
1B 2A 72 31 41
End raster graphics
Printer feature
Printer command
Decimal value
Hexadecimal value
End Graphics
Esc * r C
027 042 114 067
1B 2A 72 43
Resolution
Printer feature
Printer command
Decimal value
Hexadecimal value
75 dots per inch
Esc * t 75 R
027 042 116 055 053 082
1B 2A 74 37 35 52
100 dots per inch
Esc * t 100 R
027 042 116 049 048 048 082
1B 2A 74 31 30 30 52
150 dots per inch
Esc * t 150 R
027 042 116 049 053 048 082
1B 2A 74 31 35 30 52
300 dots per inch
Esc * t 300 R
027 042 116 051 048 048 082
1B 2A 74 33 30 30 52
600 dots per inch
Esc * t 600 R
027 042 116 054 048 048 082
1B 2A 74 36 30 30 52
Raster depletion
Printer feature
Printer command
Decimal value
Hexadecimal value
No Depletion
Esc * o 1 D
027 042 111 049 068
1B 2A 6F 31 44
25 percent Depletion
Esc * o 2 D
027 042 111 050 068
1B 2A 6F 32 44
50 percent Depletion
Esc * o 3 D
027 042 111 051 068
1B 2A 6F 33 44
No Shingling
Esc * o 0 Q
027 042 111 048 081
1B 2A 6F 30 51
50 percent Shingling
Esc * o 1 Q
027 042 111 049 081
1B 2A 6F 31 51
25 percent Shingling
Esc * o 2 Q
027 042 111 050 081
1B 2A 6F 32 51
Raster quality OBSOLETE
Printer feature
Printer command
Decimal value
Hexadecimal value
Default
Esc * r 0 Q
027 042 114 048 081
1B 2A 72 30 51
Draft
Esc * r 1 Q
027 042 114 049 081
1B 2A 72 31 51
High
Esc * r 2 Q
027 042 114 050 081
1B 2A 72 32 51
Raster print mode OBSOLETE
Printer feature
Printer command
Decimal value
Hexadecimal value
Esc * p # N
027 042 112 # 078
1B 2A 70 # 4E
Set raster graphics width
Printer feature
Printer command
Decimal value
Hexadecimal value
Number of pixels
Esc * r # S
027 042 114 # 083
1B 2A 72 # 53
Set raster graphics compression
Printer feature
Printer command
Decimal value
Hexadecimal value
Method 0
Esc * b 0 M
027 042 098 048 077
1B 2A 62 30 4D
Method 1
Esc * b 1 M
027 042 098 049 077
1B 2A 62 31 4D
Method 2
Esc * b 2 M
027 042 098 050 077
1B 2A 62 32 4D
Method 3
Esc * b 3 M
027 042 098 051 077
1B 2A 62 33 4D
Method 9
Esc * b 9 M
027 042 098 057 077
1B 2A 62 39 4D
Seed Row Source
Esc * b # S
027 042 098 # 083
1B 2A 62 # 53
Transfer raster graphics
Printer feature
Printer command
Decimal value
Hexadecimal value
Number of bytes
Esc * b # W [data]
027 042 098 # 087 [data]
1B 2A 62 # 57 [data]
Transfer graphics data by plane
Esc * b # V [data]
027 042 098 # 086 [data]
1B 2A 62 # 56 [data]
Relative vertical pixel movement (formerly known as Raster Y offset)
Printer feature
Printer command
Decimal value
Hexadecimal value
Number of dots
Esc * b # Y
027 042 098 # 089
1B 2A 62 # 59
Set number of raster planes per row
Printer feature
Printer command
Decimal value
Hexadecimal value
Four planes, KCMY palette
Esc * r -4 U
027 042 114 045 052 085
1B 2A 72 2D 34 55
Three planes, CMY palette
Esc * r -3 U
027 042 114 045 051 085
1B 2A 72 2D 33 55
K (black plane)
Esc * r -1 U
027 042 114 045 049 085
1B 2A 72 2D 31 55
Single plane palette
Esc * r 1 U
027 042 114 049 085
1B 2A 72 31 55
Three planes, RGB palette
Esc * r 3 U
027 042 114 051 085
1B 2A 72 33 55
Color text (graphics)
Printer feature
Printer command
Decimal value
Hexadecimal value
Foreground color
Esc * v # S
027 042 118 # 083
1B 2A 76 # 53

hp-feedback-input-portlet

Actions
Loading...

hp-online-communities-portlet

Actions
Loading...

Ask the community!


Support Forum

Support Forum

Join the conversation! Find Solutions, ask questions, and share advice with other HP product owners. Visit now


hp-feedback-banner-portlet

Actions
Loading...

hp-country-locator-portlet

Actions
Loading...
Country: Flag United States

hp-detect-load-my-device-portlet

Actions
Loading...