Chapter 2 pcl printer control language – Brother HL-2170W User Manual

Page 21

Advertising
background image

CHAPTER 2 PCL - 2

C

ONTENTS

1.

COMMAND LIST .................................................................................................................. 7

2.

INTRODUCTION ................................................................................................................ 10

3.

CONTROLLING THE PRINTER ......................................................................................... 11

3.1.

Control Codes ........................................................................................................................... 11

3.1.1.

Backspace (08) <08h> .......................................................................................................................... 11

3.1.2.

Line feed (10) <0Ah> ............................................................................................................................ 11

3.1.3.

Form feed (12) <0Ch> .......................................................................................................................... 11

3.1.4.

Carriage return (13) <0Dh> .................................................................................................................. 11

3.1.5.

Select primary font (14) <0Eh> ............................................................................................................. 11

3.1.6.

Select secondary font (15) <0Fh> ........................................................................................................ 11

3.1.7.

Escape (27) <1Bh> ............................................................................................................................... 11

3.1.8.

Horizontal tab (09) <09h> .................................................................................................................... 11

3.1.9.

Space (32) <20h> ................................................................................................................................. 11

3.2.

Escape Sequences ................................................................................................................... 12

3.2.1.

Line termination ..................................................................................................................................... 12

3.2.2.

End-of-line wrap .................................................................................................................................... 13

3.2.3.

Display functions mode ......................................................................................................................... 13

3.3.

Environments ............................................................................................................................ 14

3.3.1.

Factory default environment ................................................................................................................. 14

3.3.2.

User default environment ...................................................................................................................... 14

3.3.3.

Modified print environment .................................................................................................................... 14

3.3.4.

Macro overlay environment................................................................................................................... 14

4.

JOB CONTROL .................................................................................................................. 15

4.1.

Commands ................................................................................................................................ 15

4.1.1.

Page size .............................................................................................................................................. 15

4.1.2.

Media type selection ............................................................................................................................. 17

4.1.3.

Output tray ............................................................................................................................................ 17

4.1.4.

Paper source ......................................................................................................................................... 18

4.1.5.

Left long-edge offset registration .......................................................................................................... 22

4.1.6.

Top offset registration ........................................................................................................................... 22

4.1.7.

Simplex/duplex printing ......................................................................................................................... 23

4.1.8.

Paper side selection .............................................................................................................................. 23

4.1.9.

Job separation command ...................................................................................................................... 23

4.1.10.

Reset ..................................................................................................................................................... 23

4.1.11.

Reset to factory default settings............................................................................................................ 25

4.1.12.

Reset to user settings ........................................................................................................................... 25

4.1.13.

Printer self test ...................................................................................................................................... 25

4.1.14.

Exit current emulation mode ................................................................................................................. 25

4.1.15.

Change emulation mode ....................................................................................................................... 25

4.2.

The Page .................................................................................................................................. 28

4.2.1.

Physical page ........................................................................................................................................ 28

4.2.2.

Printable area ........................................................................................................................................ 28

4.2.3.

Logical page .......................................................................................................................................... 28

Advertising