background image

2

E-3202 Programmer’s Manual

COMMAND

ASCII

Note

Name

Function type

 HEX.

DEC.

Page

ESC u

Transmit peripheral device status

Status

1B 75

27 117

14

ESC v

Transmit paper sensor status

Status

1B 76

27 118

14

ESC 

Turn upside-down printing mode on/off

Character

1B 7B

27 123

6

Fs G

Select font

Specific commands

1C 47

28 71

22

Fs B

Download with a BMP file

Specific commands

1C 42

28 66

22

Fs k

Print a 2 D barcode

Barcode

1C 6B

28 107

22

Fs H

XY scale for a 2D barcode

Barcode

1C 48

28 72

22

Fs A

Paper  forced feed

Specific commands

1C 41

28 65

22

Fs R

Paper forced return

Specific commands

1C 52

28 82

22

Fs C

PDF 417 Aspect definition

Specific commands

1C 43

28 67

22

Fs D

PDF417 ECC level definition

Specific commands

1C 44

28 68

22

Fs E

Horizontal and vertical bars in page mode
construction

Specific commands

1C 45

28 69

22

GS !

Select character size

Character

1D 21

29 33

6

GS $

Set absolute vertical print position in page mode

Print position

1D 24

29 36

8

GS *

Define downloaded bit image

Bit image

1D 2A

29 42

9

GS /

Print downloaded bit image

Bit image

1D 2F

29 47

9

GS:

Start/end macro definition

Macro function

1D 3A

29 58

19

GS B

Turn white/black reverse printing mode on/off

Character

1D 42

29 66

6

GS H

Select printing position of human readable characters

Bar code

1D 48

29 72

16

GS I

Transmit printer ID

Miscellaneous function

1D 49

29 73

21

GS L

Set left margin

Print position

1D 4C

29 76

7

GS P

Set horizontal and vertical motion units

Miscellaneous function

1D 50

 29 80

21

GS V

*

Select cut mode and cut paper

Mechanism control

1D 56

29 86

19

GS W

Set printing area width

Print position

1D 57

29 87

7

GS \

Set relative vertical print position in page mode

Print position

1D 5C

29 92

8

GS ^

Execute macro

Macro function

1D 2A

29 42

19

GS a

Enable/disable Automatic Status Back (ASB)

Status

1D 61

29 97

11

GS b

Turn smoothing mode on/off

Character

1D 62

29 98

--

GS f

Select font for human readable characters

Bar code

1D 66

29 102

17

GS h

Set bar code height

Bar code

1D 68

29 104

15

GS k

Print bar code

Bar code

1D 6B

29 107

15

GS r

+

Transmit status

Status

1D 72

29 114

12

GS w

Set bar code width

Bar code

1D 77

29 119

15

Italic :  Functions decoded by the printer but are not interpreted.

* :

Standard ESCPOS command (The E-3202 is not available with a cutter).

Summary of Contents for E-class E-3202

Page 1: ...innacles Harlow Essex CM19 5FE UK Phone 44 1279 772200 Fax 44 1279 424448 Asia Pacific 19 Loyang Way 01 01 CILC Building Singapore 508724 Phone 65 542 2611 Fax 65 542 3611 Corporate Headquarters 4501...

Page 2: ...In no event will Licensor or its suppliers be liable for any damages or loss including direct incidental economic special or consequential damages arising out of the use or inability to use the Firmwa...

Page 3: ......

Page 4: ...haracter Commands 5 4 Print Position and Bit Image Commands 7 5 Status Commands 11 6 Bar Code Commands 15 7 Macro Function and Mechanism Control Commands 19 8 Miscellaneous Function and Specific Comma...

Page 5: ...ii...

Page 6: ...spacing 1B 33 27 51 3 ESC Select peripheral device Miscellaneous function 1B 3D 27 61 21 ESC Cancel user defined characters Character 1B 3F 27 63 5 ESC Initialize printer Miscellaneous function 1B 40...

Page 7: ...oaded bit image Bit image 1D 2F 29 47 9 GS Start end macro definition Macro function 1D 3A 29 58 19 GS B Turn white black reverse printing mode on off Character 1D 42 29 66 6 GS H Select printing posi...

Page 8: ...a is deleted after being printed ESC FF Print data in mode page ASCII ESC FF Hexadecimal 1B 0C Decimal 27 12 When in page mode ESC FF prints all data in the print buffer in one time The buffer data is...

Page 9: ...4 E 3202 Programmer s Manual...

Page 10: ...adecimal 1B 3F n Decimal 27 63 n 32 n 126 This command cancels the user defined characters defined for the character code n After the user defined characters are cancelled the internal character set i...

Page 11: ...decimal 1B 56 n Decimal 27 86 n n 0 1 48 49 ESC V n turns 90 clockwise rotation mode on or off On n 1 or 49 Off n 0 or 48 The default setting is n 0 In standard mode this command is enabled only when...

Page 12: ...enabled when the printer returns to standard mode HT Horizontal tab ASCII HT Hexadecimal 09 Decimal 9 HT moves the start print position to the next horizontal tab This command is ignored unless the n...

Page 13: ...shown in the chart The default setting is n 0 This command is enabled only in page mode In standard mode an internal flag is activated and this command is enabled when the printer selects page mode n...

Page 14: ...SCII GS x y d1 d x y 8 Hexadecimal 1D 2A x y d1 d x y 8 Decimal 29 42 x y d1 d x y 8 1 x 255 1 y 48 x y 1536 0 d 255 This command defines a downloaded bit image by using x 8 dots in the horizontal dir...

Page 15: ...10 E 3202 Programmer s Manual...

Page 16: ...abled 2 On 04 4 Error status enabled 3 Off 00 0 Paper roll sensor status disabled 3 On 08 8 Paper roll sensor status enabled First byte printer information Bit On Off Hex Decimal Function 0 Off 00 0 N...

Page 17: ...tects a paper end the printer goes off line and does not execute this command Therefore bits 2 and 4 do not transmit paper end status Paper sensor status Bit On Off Hex Decimal Function 0 1 Off 00 0 P...

Page 18: ...paper end 6 Off 00 0 No error 6 On 40 64 Error 7 Off 00 0 Not used Fixed to off Error status Bit On Off Hex Decimal Function 0 Off 00 0 Not used Fixed to off 1 On 02 2 Not used fixed to on 2 Undefined...

Page 19: ...out connector pin 3 is high 1 3 Undefined 4 Off 00 0 Not used Fixed to off 5 6 Not defined 7 Off 00 0 Not used Fixed to off Esc v n transmit paper sensor status ASCII ESC v n Hexadecimal 1B 76 n Decim...

Page 20: ...cts the horizontal size of a bar code N specifies the bar code width as specified in the chart The default setting is n 3 The multilevel bar codes are UPC A UPC E EAN 13 EAN 8 CODE128 The binary level...

Page 21: ...255 48 d 57 75 POSTNET n 5 6 8 9 11 48 d 57 76 EAN 128 n 255 0 d 127 77 CODE 39 with checksum n 255 78 ITF with checksum n 255 48 d 57 79 UPCA 2 n 12 48 d 57 80 UPCE 2 n 12 48 d 57 81 EAN 13 2 n 14 4...

Page 22: ...ers ASCII GS f n Hexadecimal 1D 66 n Decimal 29 102 n n 0 1 48 49 This command selects a font for human readable characters used when printing a bar code 12 x 24 n 0 or 48 9 x 24 N 1 or 49 The default...

Page 23: ...18 E 3202 Programmer s Manual...

Page 24: ...sly receiving it the printer remains in the macro undefined state The macro definition can contain up to 2048 bytes The excess data is not stored Mechanism Control Command GS V m GS V m n ESC i Select...

Page 25: ...20 E 3202 Programmer s Manual...

Page 26: ...pecified connector pin On time t1 x 2 millisecond Off time t2 x 2 millisecond m 0 or 48 the pulse is sent to drawer kick out connector pin 2 m 1 or 49 the pulse is sent to drawer kick out connector pi...

Page 27: ...2D barcode ASCII Fs H n Hexadecimal 1C 48 n Decimal 28 7E n n multiplying factor Fs R n Paper forced Return ASCII Fs R n Hexadecimal 1C 52 n Decimal 28 82 n Used for paper return during parameter set...

Page 28: ...ey on the panel then add the English United States keyboard Before starting to program make sure that the Baud rate in the printer is set the same as the COM port on the PC Next we need to set the Emu...

Page 29: ...ing that when we program this printer every time you press the ENTER key the program will remember this as a carriage return It will follow on to the next line Initializing the printer The command ESC...

Page 30: ...f you would like the width to be 2 by a height of 1 the value will be 16 0 which will give you 16 We add the Dec value of the width with the Dec value of the height to get the value for n This value i...

Page 31: ...ithout any carriage returns as follows a The command is turned off by inserting a Nul value into the command This will justify the printer to left Please note that if we were to press RETURN ENTER aft...

Page 32: ...eturns See below for sample a Datamax Corporation Matt Derek European Tech Support Feb 2000 DMX E 3202 POS Label Printer ESC POS Print Examples 2 White black reverse Printing GS B n On n 1 Off n 0 The...

Page 33: ...ble characters for the barcode The values are from 0 to 3 or 48 to 51 The selection for pint position is as follows n Print position 0 48 Not printed 1 49 Above the barcode 2 50 Below the barcode 3 51...

Page 34: ...E 3202 Programmer s Manual 29 Character Sets Character Sets The following character sets are available IBM and WINDOWS EMULATION Table 437...

Page 35: ...30 E 3202 Programmer s Manual Table 850 Table 852...

Page 36: ...E 3202 Programmer s Manual 31 Table 857 Table 860...

Page 37: ...32 E 3202 Programmer s Manual Table 861 Table 863...

Page 38: ...E 3202 Programmer s Manual 33 Table 869...

Page 39: ...77 Ctrl X CAN 24 18 8 56 38 X 88 58 x 120 78 Ctrl Y EM 25 19 9 57 39 Y 89 59 y 121 79 Ctrl Z SUB 26 1A 58 3A Z 90 5A z 122 7A Ctrl Esc 27 1B 59 3B 91 5B 123 7B Ctrl FS 28 1C 60 3C 92 5C 124 7C Ctrl G...

Reviews: