HP 400 manual Control Commands, Paper Size †

Models: 400

1 125
Download 125 pages 59.93 Kb
Page 111
Image 111

Table A-1. HP PCL Printer Command Summary (Continued)

Command Topic

Printer Feature

Printer Command

Decimal Equivalent

Hex Equivalent

Page Control Commands

Paper Size

Default paper size

Ec&0A

027 038 108 048 065

1B 26 6C 30 41

 

US executive

Ec&1A

027 038 108 049 065

1B 26 6C 31 41

 

US letter

Ec&2A

027 038 108 050 065

1B 26 6C 32 41

 

US legal

Ec&3A

027 038 108 051 065

1B 26 6C 33 41

 

A4

Ec&26A

027 038 108 050 054 065

1B 26 6C 32 36 41

Line Spacing

Number of lines per inch

Ec&#D

027 038 108 #...# 068

1B 26 6C #...# 44

Page Orientation

Landscape

Ec&1O

027 038 108 049 079

1B 26 6C 31 4F

 

Portrait

Ec&0O

027 038 108 048 079

1B 26 6C 30 4F

Page Length

Number of lines per page

Ec&#P

027 038 108 #...# 080

1B 26 6C #...# 50

Perforation Skip

On

Ec&1L

027 038 108 049 076

1B 26 6C 31 4C

Mode

Off

Ec&0L

027 038 108 048 076

1B 26 6C 30 4C

Top Margin

Number of lines

Ec&#E

027 038 108 #...# 069

1B 26 6C #...# 45

Text Length

Number of lines

Ec&#F

027 038 108 #...# 070

1B 26 6C #...# 46

Side Margins

Clear

Ec9

027 057

1B 39

 

Left (column no.)

Ec&a#L

027 038 097 #...# 076

1B 26 61 #...# 4C

 

Right (column no.)

Ec&a#M

027 038 097 #...# 077

1B 26 61 #...# 4D

Text Scale Mode

Off

Ec&k5W

027 038 107 053 087

1B 26 6B 35 57

 

On

Ec&k6W

027 038 107 054 087

1B 26 6B 36 57

Cursor Positioning

Move to row no.

Ec&a#R

027 038 097 #...# 082

1B 26 61 #...# 52

 

Move to column no.

Ec&a#C

027 038 097 #...# 067

1B 26 61 #...# 43

 

Horizontal no. (decipoints)

Ec&a#H

027 038 097 #...# 072

1B 26 61 #...# 48

 

Vertical no. (decipoints)

Ec&a#V

027 038 097 #...# 086

1B 26 61 #...# 56

 

Horizontal no. (dots)

Ec*p#X

027 042 112 #...# 088

1B 2A 70 #...# 58

 

Vertical no. (dots)

Ec*p#Y

027 042 112 #...# 089

1B 2A 70 #...# 59

 

Horizontal motion index (no. of 1/

Ec&k#H

027 038 107 #...# 072

1B 26 6B #...# 48

 

120th inch moves)

 

 

 

 

Vertical motion index (no. of

Ec&#C

027 038 108 #...# 067

1B 26 6C #...# 43

 

1/48th inch moves)

 

 

 

These printer commands are listed in the order in which they must be sent.

# Indicates the numeric value field.

A-2 HP PCL Printer Commands and Control Codes

Page 111
Image 111
HP 400 manual Control Commands, Paper Size †