HP J400 PCL

HP DeskJet 400 Printer HP PCL Commands and Contr ol Codes
HP PCL Commands and Control Codes
PCL Command Summary
Printer Control Commands
Topic Feature Command Decimal Equiv. Hex Equiv.
Reset and Self-Test Control
Paper Input Control (Media Source)
Print Mode Unidirectional left
Dry Time Dry time in
Underline Single fixed E c &d1D 027 038 100 049 068 1B 26 64 31 44
Line Termination CR=CR, LF=LF,
End-of-Line Wrap Turn on E c &s0C 027 038 115 048 067 1B 26 73 30 43
Transparent Print Data
Continued on next page
Reset E c E 027 069 1B 45
Feed from tray E c &Ø1H 027 038 108 049 072 1B 26 6C 31 48 Manual feed E c &Ø2H 027 038 108 050 072 1B 26 6C 32 48
E c &k0W 027 038 107 048 087 1B 26 6B 30 57
to right Bidirectional E c &k1W 027 038 107 049 087 1B 26 6B 31 57 Unidirectional right
to left
seconds
Double fixed E c &d2D 027 038 100 050 068 1B 26 64 32 44 Single float E c &d3D 027 038 100 051 068 1B 26 64 33 44 Double float E c &d4D 027 038 100 052 068 1B 26 64 34 44 Turn off E c &d@ 027 038 100 064 1B 26 64 40
FF=FF CR=CR+LF,
LF=LF, FF=FF CR=CR,
LF=CR+LF, FF=CR+FF
CR=CR+LF, LF=CR+LF, FF=CR+FF
Turn off E c &s1C 027 038 115 049 067 1B 26 73 31 43 No. of bytes E c &p#X
E c &k2W 027 038 107 050 087 1B 26 6B 32 57
E c &b#T 027 038 098 # 084 1B 26 62 # 54
E c &k0G 027 038 107 048 071 1B 26 6B 30 47
E c &k1G 027 038 107 049 071 1B 26 6B 31 47
E c &k2G 027 038 107 050 071 1B 26 6B 32 47
E c &k3G 027 038 107 051 071 1B 26 6B 33 47
027 038 112 #...# 088 1B 26 70 #...# 58
[data]
HP DeskJet 400 Printer HP PCL Commands and Contr ol Codes
Printer Control Commands (continued)
Topic Feature Command Decimal Equiv. Hex Equiv.
Enhancement
3
Control
Display Functions Turn on E c Y 027 089 1B 59
SI/SO Control
Line-by-line on E c &k0E 027 038 107 048 069 1B 26 6B 30 45
Line-by-line off E c &k1E 027 038 107 049 069 1B 26 6B 31 45
Turn off E c Z 027 090 1B 5A
1
Line-by-line on E c &k0F 027 038 107 048 070 1B 26 6B 30 46 Line-by-line off E c &k1F 027 038 107 049 070 1B 26 6B 31 46
HP DeskJet 400 Printer HP PCL Commands and Contr ol Codes
Page Control Commands
Topic Feature Command Decimal Equiv. Hex Equiv.
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 Line Spacing Lines per inch E c &Ø#D 027 038 108 #...# 068 1B 26 6C #...# 44 Page Orientation
Page Length † Lines per page E c &Ø#P 027 038 108 #...# 080 1B 26 6C #...# 50 Perforation Skip
Mode †
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
Text Scale Mode Off E c &k5W 027 038 107 053 087 1B 26 6B 35 57
Cursor Positioning
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
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
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
On E c &k6W 027 038 107 054 087 1B 26 6B 36 57 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) Vertical no.
(decipoints) 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)
Vertical motion index (no. of 1/48th inch moves)
E c &a#H 027 038 097 #...# 072 1B 26 61 #...# 48
E c &a#V 027 038 097 #...# 086 1B 26 61 #...# 56
E c &k#H 027 038 107 #...# 072 1B 26 6B #...# 48
E c &Ø#C 027 038 108 #...# 067 1B 26 6C #...# 43
1B 26 6C 32 36 41
Loading...
+ 5 hidden pages