background image

E-3202 Programmer’s Manual

1

Set of Commands

If you wish to use BASIC, use CHR$ to send ASCII codes to the printer.
Put the Decimal into brackets after CHR$.
For example to send ASCII code FF, send CHR$ (12).

The printer will execute the set of commands shown in the chart below:

COMMAND

ASCII

Note

Name

Function type

 HEX.

DEC.

Page

HT

Horizontal tab

Print position

09

9

7

LF

Print and fine feed

Print

0A

10

3

FF

Print and return to standard mode (in page mode)

Print

0C

12

3

CR

Print and carriage return

Print

0D

13

3

CAN

Cancel print data in page mode

Character

18

24

6

DLE EOT

+

Real-time status transmission

Status

10 04

16 4

12

DLE ENQ

Real-time request to printer

Miscellaneous function

10 05

16 5

--

ESC FF

Print data in page mode

Print

1B 0C

27 12

3

ESC SP

Set right-side character spacing

Character

1B 20

27 32

5

ESC !

Select print mode(s)

Character

1B 21

27 33

5

ESC $

Set absolute print position

Print position

1B 24

27 36

7

ESC %

Select/cancel user-defined character set

Character

1B 25

27 37

5

ESC &

Define user-defined characters

Character

1B 26

27 38

5

ESC *

Select bit-image mode

Bit image

1B 2A

27 42

9

ESC -

Turn underline mode on/off

Character

1B 2D

27 45

5

ESC 2

Select default line spacing

Line spacing

1B 32

27 50

3

ESC 3

Set fine spacing

Line 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

27 64

21

ESC D

Set horizontal tab positions

Print position

1B 44

27 68

7

ESC E

Turn emphasized mode on/off

Character

1B 45

27 69

6

ESC G

Turn double-strike mode on/off

Character

1B 47

27 71

6

ESC J

Print and feed paper

Print

1B 4A

27 74

3

ESC L

Select page mode

Miscellaneous function

1B 4C

27 76

21

ESC R

Select an international character set

Character

1B 52

27 82

5

ESC S

Select standard mode Miscellaneous

function

1B 53

27 83

21

ESC T

Select print direction in page mode

Print position

1B 54

27 84

8

ESC V

Turn 90°clockwise rotation mode on/off

Character

1B 56

27 86

6

ESC W

Set printing area in page mode

Print position

1B 57

27 87

8

ESC \

Set relative print position

Print position

1B 5C

27 92

7

ESC a

Select justification

Print position

1B 61

27 97

7

ESC c 3

Select paper sensor(s) to output paper-end signals

Paper sensor

1B 63 33

27 99 51

--

ESC c 4

Select paper sensor(s) to stop printing

Paper sensor

1B 63 34

27 99 52

--

ESC c 5

Enable/disable panel buttons

Panel button

1B 63 35

27 99 53

--

ESC d

Print and feed n fines

Print

1B 64

27 100

3

ESC i

*

Partial cut (one point left uncut)

Mechanism control

1B 69

27 105

19

ESC p

Generate pulse

Miscellaneous function

1B 70

27 112

21

ESC t

Select character code table

Character

1B 74

27 116

5

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: