HP 400 manual HP PCL Printer Command Summary, Printer Control Commands

Models: 400

1 125
Download 125 pages 59.93 Kb
Page 110
Image 110

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

Reset

EcE

027 069

1B 45

Control

Self-test

Ecz

027 122

1B 7A

 

Paper Input Control

Eject page

Ec&0H

027 038 108 048 072

1B 26 6C 30 48

(Media Source)

Feed from tray

Ec&1H

027 038 108 049 072

1B 26 6C 31 48

 

Manual feed

Ec&2H

027 038 108 050 072

1B 26 6C 32 48

Print Mode

Unidirectional left to right

Ec&k0W

027 038 107 048 087

1B 26 6B 30 57

 

Bidirectional

Ec&k1W

027 038 107 049 087

1B 26 6B 31 57

 

Unidirectional right to left

Ec&k2W

027 038 107 050 087

1B 26 6B 32 57

Dry Time

Dry time in seconds

Ec&b#T

027 038 098 # 084

1B 26 62 # 54

Underline

Single fixed

Ec&d1D

027 038 100 049 068

1B 26 64 31 44

 

Double fixed

Ec&d2D

027 038 100 050 068

1B 26 64 32 44

 

Single float

Ec&d3D

027 038 100 051 068

1B 26 64 33 44

 

Double float

Ec&d4D

027 038 100 052 068

1B 26 64 34 44

 

Turn off

Ec&d@

027 038 100 064

1B 26 64 40

Line Termination

CR=CR, LF=LF, FF=FF

Ec&k0G

027 038 107 048 071

1B 26 6B 30 47

 

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

Ec&k1G

027 038 107 049 071

1B 26 6B 31 47

 

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

Ec&k2G

027 038 107 050 071

1B 26 6B 32 47

 

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

Ec&k3G

027 038 107 051 071

1B 26 6B 33 47

End-of-Line Wrap

Turn on

Ec&s0C

027 038 115 048 067

1B 26 73 30 43

 

Turn off

Ec&s1C

027 038 115 049 067

1B 26 73 31 43

Transparent Print

No. of bytes

Ec&p#X[data]

027 038 112 #...# 088

1B 26 70 #...# 58

Data

 

 

 

 

Enhancement

Line-by-line on

Ec&k0E

027 038 107 048 069

1B 26 6B 30 45

Control3

Line-by-line off

Ec&k1E

027 038 107 049 069

1B 26 6B 31 45

 

Display Functions

Turn on

EcY

027 089

1B 59

 

Turn off

EcZ

027 090

1B 5A

SI/SO Control1

Line-by-line on

E &k0F

027 038 107 048 070

1B 26 6B 30 46

 

 

c

 

 

 

Line-by-line off

Ec&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.

HP PCL Printer Commands and Control Codes A-1

Page 110
Image 110
HP 400 manual HP PCL Printer Command Summary, Printer Control Commands, HP PCL Printer Commands and Control Codes A-1