beautypg.com

Brother TD-2120N User Manual

Page 5

background image

ESC/P Command Reference

- ii -

Introduction

CR

Carriage return ..............................................................................44

ESC D

Specify horizontal tab position .......................................................45

HT

Perform horizontal tab ...................................................................46

ESC $

Specify absolute horizontal position...............................................47

ESC \

Specify relative horizontal position.................................................47

ESC a

Specify alignment ..........................................................................48

5.5 Vertical movement commands ............................................................................49

LF

Line feed........................................................................................49

FF

Page feed ......................................................................................49

ESC J

Forward paper feed .......................................................................50

ESC B

Specify vertical tab position ...........................................................51

VT

Perform vertical tab........................................................................52

ESC (V

Specify absolute vertical position...................................................53

ESC (v

Specify relative vertical position.....................................................54

5.6 Paper formatting commands ...............................................................................55

ESC (c

Specify page format.......................................................................55

ESC (C

Specify page length .......................................................................56

5.7 Printer control commands....................................................................................57

ESC @

Initialize..........................................................................................57

5.8 Graphics commands ...........................................................................................58

ESC *

Select bit image ...........................................58

ESC *

Select bit image ...........................................62

ESC K

8-dot single-density bit image ........................................................68

ESC L

8-dot double-density bit image.......................................................69

ESC Y

8-dot double-speed double-density bit image ................................70

ESC Z

8-dot quadruple-density bit image .................................................70

5.9 Advanced commands ..........................................................................................71

ESC i B

Barcode .........................................................................................71

ESC i Q

2D barcode (QR Code)..................................................................75

ESC i P

QR Code version ...........................................................................78

ESC i V

2D barcode (PDF417) ...................................................................79

ESC i D

2D barcode (DataMatrix) ...............................................................82

ESC i M

2D barcode (MaxiCode).................................................................85

ESC i J

2D barcode (Aztec)........................................................................87

ESC iG

Specify font ....................................................................................89

ESC i F

Print downloaded data ...................................................................90

ESC i a

Switch command mode .................................................................94

ESC i S

Status information request .............................................................95

ESC i L

Specify landscape orientation ........................................................97

ESC i C

Specify cutting ...............................................................................98

5.10 Advanced static commands...............................................................................99

ESC iXQ2

Select default character style.........................................................99

ESC iXQ1

Retrieve default character style ...................................................100

ESC iXk2

Select default font........................................................................101

ESC iXk1

Retrieve default font ....................................................................102

ESC iXX2

Specify default character size ......................................................103

ESC iXX1

Retrieve default character size ....................................................104

ESC iX32

Specify default line feed...............................................................104

ESC iX31

Retrieve default line feed .............................................................105

ESC iXA2

Select default alignment ..............................................................105

ESC iXA1

Retrieve default alignment ...........................................................106

ESC iX(2

Specify default page length..........................................................107

ESC iX(1

Retrieve default page length........................................................107

ESC iXL2

Select default landscape orientation............................................108

ESC iXL1

Retrieve default landscape orientation ........................................108

This manual is related to the following products: