beautypg.com

Brother RJ-4040 User Manual

Page 5

background image

ESC/P Command Reference

- ii -

ESC D

Specify horizontal tab position .......................................................44

HT

Perform horizontal tab ...................................................................45

ESC $

Specify absolute horizontal position...............................................46

ESC \

Specify relative horizontal position.................................................46

ESC a

Specify alignment ..........................................................................47

5.5 Vertical movement commands ............................................................................48

LF

Line feed........................................................................................48

FF

Page feed ......................................................................................48

ESC J

Forward paper feed .......................................................................49

ESC B

Specify vertical tab position ...........................................................50

VT

Perform vertical tab........................................................................51

ESC (V

Specify absolute vertical position...................................................52

ESC (v

Specify relative vertical position.....................................................53

5.6 Paper formatting commands ...............................................................................54

ESC (c

Specify page format.......................................................................54

ESC (C

Specify page length .......................................................................55

5.7 Printer control commands....................................................................................56

ESC @

Initialize..........................................................................................56

5.8 Graphics commands ...........................................................................................57

ESC *

Select bit image .............................................................................57

ESC K

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

ESC L

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

ESC Y

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

ESC Z

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

5.9 Advanced commands ..........................................................................................64

ESC i B

Barcode .........................................................................................64

ESC i Q

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

ESC i P

QR Code version ...........................................................................71

ESC i V

2D barcode (PDF417) ...................................................................72

ESC i D

2D barcode (DataMatrix) ...............................................................75

ESC i M

2D barcode (MaxiCode).................................................................78

ESC iG

Specify font ....................................................................................80

ESC i F

Print downloaded data ...................................................................81

ESC i a

Switch command mode .................................................................85

ESC i S

Status information request .............................................................86

ESC i L

Specify landscape orientation ........................................................88

ESC i C

Specify cutting ...............................................................................89

5.10 Advanced static commands...............................................................................90

ESC iXQ2

Select default character style.........................................................90

ESC iXQ1

Retrieve default character style .....................................................91

ESC iXk2

Select default font..........................................................................92

ESC iXk1

Retrieve default font ......................................................................93

ESC iXX2

Specify default character size ........................................................94

ESC iXX1

Retrieve default character size ......................................................95

ESC iX32

Specify default line feed.................................................................95

ESC iX31

Retrieve default line feed ...............................................................96

ESC iXA2

Select default alignment ................................................................96

ESC iXA1

Retrieve default alignment .............................................................97

ESC iX(2

Specify default page length............................................................98

ESC iX(1

Retrieve default page length..........................................................98

ESC iXL2

Select default landscape orientation..............................................99

ESC iXL1

Retrieve default landscape orientation ..........................................99

ESC iXj2

Select default international character set.....................................100

ESC iXj1

Retrieve default international character set .................................101

ESC iXm2

Select default character code set ................................................102

This manual is related to the following products: