background image

8

E-3202 Programmer’s Manual

ESC W  xL xH yL yH dxL dxH dyL dyH  : Set printing area in page mode

ASCII: 

ESC W  xL xH yL yH dxL dxH dyL dyH

Hexadecimal: 

1B 57 xL xH yL yH dxL dxH dyL dyH

Decimal: 

27 87 xL xH yL yH dxL dxH dyL dyH

 xL xH yL yH dxL dxH dyL dyH 

 255

This command sets the size and position of the printing area in page mode as follows :

Horizontal starting position = (xL+xH * 256) (horizontal GS P)
Vertical starting position = (yL+yH * 256) (vertical GS P)
Printing area width = (dxL + dxH * 256 ) (horizontal GS P)
Printing area height = (dyL + dyH * 256 ) (vertical GS P)
The default setting are : xL=0, xH=0, yL=0, yH=0,
60 mm mechanism :
Dxl=80, DxH=1,
dyL=9A, DyH=2.
80 mm mechanism :
Dxl=80, DxH=2,
dyL=90, DyH=1.

This command is enabled in page mode only. In standard mode, an internal flag is
activated and this command is enabled when the printer selects page mode.

ESC T n   : Select print direction in page mode

ASCII: 

ESC T n

Hexadecimal: 

1B 54 n

Decimal: 27 

84 

n

 n 

 3

48 

 n 

 51

ESC T n sets the print direction and starting position in page mode specified by n as 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

Print direction

Starting position

Motion units

Left to right 

Upper left 

horizontal: ESC SP, ESC $, ESC \

48

vertical: ESC 3, ESC J, GS $, GS \

Bottom to top 

Lower left 

horizontal: ESC 3, ESC J, GS $, GS\

49

vertical: ESC SP, ESC$, ESC \

Right to left 

Lower right 

Horizontal: ESC SP, ESC $, ESC \

50

vertical: ESC 3, ESC J, GS $, GS \

Top to bottom 

Upper right 

horizontal: ESC 3, ESC J, GS $, GS \

51

vertical: ESC SP, ESC $, ESC \

GS $ nL  nH : Set Absolute vertical print position in page mode

ASCII: 

GS $ nL nH

Hexadecimal: 

1D 24 nL nH

Decimal: 

29 36 nL nH

 nL 

 255

 nH 

 255

ESC $ nL nH sets the vertical print starting position for buffer character data in page mode
to (nL + nH * 256) ( horizontal or  vertical GS P) from the starting position by ESC T. This
command is effective only in page mode.

GS \  nL  nH : Set Relative print position

ASCII: 

GS \  nL nH

Hexadecimal: 

1D 5C nL nH

Decimal: 

29 92 nL nH

 nL 

 255

 nH 

 255

GS \  nL nH moves the print starting position  in page mode to (nL + nH * 256) ( horizontal
or vertical GS P) from the starting point by ESC T. This command is effective only in page
mode.

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: