CHAPTER 2  PCL PRINTER CONTROL LANGUAGE- Page 22

Brother HL-5040 Command Reference Guide for Software Developers

Table of Contents

Technical Reference Guide
GLOSSARY
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 ............................................................................................................................. 20

 

4.1.3.

 

Output tray ............................................................................................................................................ 21

 

4.1.4.

 

Paper source ......................................................................................................................................... 22

 

4.1.5.

 

Left long-edge offset registration .......................................................................................................... 27

 

4.1.6.

 

Top offset registration ........................................................................................................................... 27

 

4.1.7.

 

Simplex/duplex printing ......................................................................................................................... 28

 

4.1.8.

 

Paper side selection .............................................................................................................................. 28

 

4.1.9.

 

Job separation command ...................................................................................................................... 28

 

4.1.10.

 

Reset ..................................................................................................................................................... 28

 

4.1.11.

 

Reset to factory default settings............................................................................................................ 30

 

4.1.12.

 

Reset to user settings ........................................................................................................................... 30

 

4.1.13.

 

Printer self test ...................................................................................................................................... 30

 

4.1.14.

 

Exit current emulation mode ................................................................................................................. 30

 

4.1.15.

 

Change emulation mode ....................................................................................................................... 30

 

4.2.

 

The Page .................................................................................................................................. 32

 

4.2.1.

 

Physical page ........................................................................................................................................ 32

 

4.2.2.

 

Printable area ........................................................................................................................................ 32

 

4.2.3.

 

Logical page .......................................................................................................................................... 32

 

4.2.4.

 

Text area ............................................................................................................................................... 32

 

Detailed Information for Brother HL-5040 Command Reference Guide for Software Developers

Lists of information found in Brother HL-5040 Command Reference Guide for Software Developers - Page 22

  • 1. COMMAND LIST .
  • 2. INTRODUCTION .
  • 3. CONTROLLING THE PRINTER .
  • 3.1.
  • 3.1.
  • 1. Backspace (08) &lt;08h&gt; .
  • 3.1.
  • 2. Line feed (10) &lt;0Ah&gt; .
  • 3.1.
  • 3. Form feed (12) &lt;0Ch&gt; .
  • 3.1.
  • 4. Carriage return (13) &lt;0Dh&gt; .
  • 3.1.
  • 5. Select primary font (14) &lt;0Eh&gt; .
  • 3.1.
  • 6. Select secondary font (15) &lt;0Fh&gt; .
  • 3.1.
  • 7. Escape (27) &lt;1Bh&gt; .
  • 3.1.
  • 8. Horizontal tab (09) &lt;09h&gt; .
  • 3.1.
  • 9. Space (32) &lt;20h&gt; .
  • 3.2.
  • 3.2.
  • 1. Line termination .
  • 3.2.
  • 2. End-of-line wrap .
  • 3.2.
  • 3. Display functions mode .
  • 3.3.
  • 3.3.
  • 1. Factory default environment .
  • 3.3.
  • 2. User default environment .
  • 3.3.
  • 3. Modified print environment .
  • 3.3.
  • 4. Macro overlay environment.
  • 4. JOB CONTROL .
  • 4.1.
  • 4.1.
  • 1. Page size .
  • 4.1.
  • 2. Media type selection .
  • 4.1.
  • 3. Output tray .
  • 4.1.
  • 4. Paper source .
  • 4.1.
  • 5. Left long-edge offset registration .
  • 4.1.
  • 6. Top offset registration .
  • 4.1.
  • 7. Simplex/duplex printing .
  • 4.1.
  • 8. Paper side selection .
  • 4.1.
  • 9. Job separation command .
  • 4.1.
  • 4.1.
  • 11. Reset to factory default settings.
  • 4.1.
  • 12. Reset to user settings .
  • 4.1.
  • 13. Printer self test .
  • 4.1.
  • 14. Exit current emulation mode .
  • 4.1.
  • 15. Change emulation mode .
  • 4.2.
  • 4.2.
  • 1. Physical page .
  • 4.2.
  • 2. Printable area .
  • 4.2.
  • 3. Logical page .
  • 4.2.
  • 4. Text area .

Related Documents for Brother HL-5040 Command Reference Guide for Software Developers