Datamax E-class E-3202 Programmer's Manual page 13

Hide thumbs Also See for E-class E-3202:
Table of Contents

Advertisement

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
0 ≤ 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
0 ≤ 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
0
Left to right
Upper left
48
1
Bottom to top
Lower left
49
2
Right to left
Lower right
50
3
Top to bottom
Upper right
51
8
Motion units
horizontal: ESC SP, ESC $, ESC \
vertical: ESC 3, ESC J, GS $, GS \
horizontal: ESC 3, ESC J, GS $, GS\
vertical: ESC SP, ESC$, ESC \
Horizontal: ESC SP, ESC $, ESC \
vertical: ESC 3, ESC J, GS $, GS \
horizontal: ESC 3, ESC J, GS $, GS \
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
0 ≤ nL ≤ 255
0 ≤ 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
0 ≤ nL ≤ 255
0 ≤ 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.
E-3202 Programmer's Manual

Advertisement

Table of Contents
loading

Table of Contents