User`s guide

A-2 HP PCL Printer Commands and Control Codes
Page Control Commands
Paper Size
Default paper size E
c
&
¬
0A 027 038 108 048 065 1B 26 6C 30 41
US executive E
c
&
¬
1A 027 038 108 049 065 1B 26 6C 31 41
US letter E
c
&
¬
2A 027 038 108 050 065 1B 26 6C 32 41
US legal E
c
&
¬
3A 027 038 108 051 065 1B 26 6C 33 41
A4 E
c
&
¬
26A 027 038 108 050 054 065 1B 26 6C 32 36 41
Line Spacing
Number of lines per inch E
c
&
¬
#D 027 038 108 #...# 068 1B 26 6C #...# 44
Page Orientation
Landscape E
c
&
¬
1O 027 038 108 049 079 1B 26 6C 31 4F
Portrait E
c
&
¬
0O 027 038 108 048 079 1B 26 6C 30 4F
Page Length
Number of lines per page E
c
&
¬
#P 027 038 108 #...# 080 1B 26 6C #...# 50
Perforation Skip
Mode
On E
c
&
¬
1L 027 038 108 049 076 1B 26 6C 31 4C
Off E
c
&
¬
0L 027 038 108 048 076 1B 26 6C 30 4C
Top Margin
Number of lines E
c
&
¬
#E 027 038 108 #...# 069 1B 26 6C #...# 45
Text Length
Number of lines E
c
&
¬
#F 027 038 108 #...# 070 1B 26 6C #...# 46
Side Margins
Clear E
c
9 027 057 1B 39
Left (column no.) E
c
&a#L 027 038 097 #...# 076 1B 26 61 #...# 4C
Right (column no.) E
c
&a#M 027 038 097 #...# 077 1B 26 61 #...# 4D
Text Scale Mode
Off E
c
&k5W 027 038 107 053 087 1B 26 6B 35 57
On E
c
&k6W 027 038 107 054 087 1B 26 6B 36 57
Cursor Positioning
Move to row no. E
c
&a#R 027 038 097 #...# 082 1B 26 61 #...# 52
Move to column no. E
c
&a#C 027 038 097 #...# 067 1B 26 61 #...# 43
Horizontal no. (decipoints) E
c
&a#H 027 038 097 #...# 072 1B 26 61 #...# 48
Vertical no. (decipoints) E
c
&a#V 027 038 097 #...# 086 1B 26 61 #...# 56
Horizontal no. (dots) E
c
*p#X 027 042 112 #...# 088 1B 2A 70 #...# 58
Vertical no. (dots) E
c
*p#Y 027 042 112 #...# 089 1B 2A 70 #...# 59
Horizontal motion index (no. of 1/
120th inch moves)
E
c
&k#H 027 038 107 #...# 072 1B 26 6B #...# 48
Vertical motion index (no. of
1/48th inch moves)
E
c
&
¬
#C 027 038 108 #...# 067 1B 26 6C #...# 43
† These printer commands are listed in the order in which they must be sent.
# Indicates the numeric value field.
Table A-1. HP PCL Printer Command Summary (Continued)
Command Topic
Printer Feature Printer Command Decimal Equivalent Hex Equivalent