Hp pcl printer commands and control codes, Hp pcl printer command summary, Table a-1. hp pcl printer command summary – HP 400 User Manual

Page 110

Advertising
background image

HP PCL Printer Commands and Control Codes

A-1

A

HP PCL Printer Commands and Control Codes

HP PCL Printer Command Summary

Table A-1. HP PCL Printer Command Summary

Command Topic

Printer Feature

Printer Command

Decimal Equivalent

Hex Equivalent

Printer Control Commands

Reset and Self-Test
Control

Reset

E

c

E

027 069

1B 45

Self-test

E

c

z

027 122

1B 7A

Paper Input Control
(Media Source)

Eject page

E

c

&

¬

0H

027 038 108 048 072

1B 26 6C 30 48

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

Print Mode

Unidirectional left to right

E

c

&k0W

027 038 107 048 087

1B 26 6B 30 57

Bidirectional

E

c

&k1W

027 038 107 049 087

1B 26 6B 31 57

Unidirectional right to left

E

c

&k2W

027 038 107 050 087

1B 26 6B 32 57

Dry Time

Dry time in seconds

E

c

&b#T

027 038 098 # 084

1B 26 62 # 54

Underline

Single fixed

E

c

&d1D

027 038 100 049 068

1B 26 64 31 44

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

Line Termination

CR=CR, LF=LF, FF=FF

E

c

&k0G

027 038 107 048 071

1B 26 6B 30 47

CR=CR+LF, LF=LF, FF=FF

E

c

&k1G

027 038 107 049 071

1B 26 6B 31 47

CR=CR, LF=CR+LF, FF=CR+FF

E

c

&k2G

027 038 107 050 071

1B 26 6B 32 47

CR=CR+LF, LF=CR+LF, FF=CR+FF

E

c

&k3G

027 038 107 051 071

1B 26 6B 33 47

End-of-Line Wrap

Turn on

E

c

&s0C

027 038 115 048 067

1B 26 73 30 43

Turn off

E

c

&s1C

027 038 115 049 067

1B 26 73 31 43

Transparent Print
Data

No. of bytes

E

c

&p#X[data]

027 038 112 #...# 088

1B 26 70 #...# 58

Enhancement
Control

3

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

Display Functions

Turn on

E

c

Y

027 089

1B 59

Turn off

E

c

Z

027 090

1B 5A

SI/SO Control

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

#

Indicates the numeric value field.

1. This is an obsolete command. Hewlett-Packard suggests that it not be used in code developed for HP DeskJet printers.

Advertising