Epson TM U295 Operation Guide - Page 58

ESC T, xL xH yL yH dxL dxH dyL dyH

Page 58 highlights

ESC T n [Name] Select print direction in page mode [Format] ASCII ESC T n Hex 1B 54 n Decimal 27 84 n [Range] 0 ≤ n ≤ 3 48 ≤ n ≤ 51 [Description] Selects the print direction and starting position in page mode. n specifies the print direction and starting position as follows: n Print Direction Starting Position 0, 48 1, 49 2, 50 Left to right Bottom to top Right to left Upper left (A in the figure) Lower left (B in the figure) Lower right (C in the figure) A Printing area B C 3, 51 Top to bottom Upper right (D in the figure) Paper feed direction D [Notes] [Default] • When the printing direction is changed, the printing direction and print starting position for the data following are those specified by n. • Only setting of this command is effective in standard mode. • If n is out of the specified range, this command is ignored. n = 0 ESC W xL xH yL yH dxL dxH dyL dyH [Name] Set printing area in page mode [Format] ASC II ESC W xL xH yL yH dxL dxH dyL dyH Hex 1B 57 xL xH yL yH dxL dxH dyL dyH Decimal 27 87 xL xH yL yH dxL dxH dyL dyH [Range] 0 ≤ xL≤ 255, xH=0, 0 ≤ yL≤ 255, 0 ≤ yH≤ 1, 0 ≤ dxL≤ 255, dxH=0, 0 ≤ dyL≤ 255, 0 ≤ dyH≤ 1 (Except for dxL=dxH=0 or dyL=dyH=0) [Description] Sets the position and the size of the printing area. • When the horizontal print start position, vertical print start position, horizontal length, and vertical length are defined as x0, y0, dx (dot), dy (dot), respectively. Each setting for the printable area is calculated as follows: x0 = [(xL + xH ! 256)] y0 = [(yL + yH ! 256)] 5-18 Commands

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74

5-18
Commands
ESC T
n
[Name]
Select print direction in page mode
[Format]
ASCII
ESC
T
n
Hex
1B
54
n
Decimal
27
84
n
[Range]
0
n
3
48
n
51
[Description]
Selects the print direction and starting position in page mode.
n
specifies the print direction and starting position as follows:
[Notes]
When the printing direction is changed, the printing direction and
print starting position for the data following are those specified by
n
.
Only setting of this command is effective in standard mode.
• If
n
is out of the specified range, this command is ignored.
[Default]
n
= 0
ESC W
xL xH yL yH dxL dxH dyL dyH
[Name]
Set printing area in page mode
[Format]
ASC II
ESC
W
xL xH yL yH dxL dxH dyL dyH
Hex
1B
57
xL xH yL yH dxL dxH dyL dyH
Decimal
27
87
xL xH yL yH dxL dxH dyL dyH
[Range]
0
xL
255, xH=0, 0
yL
255, 0
yH
1, 0
dxL
255, dxH=0
,
0
dyL
255, 0
dyH
1 (Except for dxL=dxH=0 or dyL=dyH=0)
[Description]
Sets the position and the size of the printing area.
When the horizontal print start position, vertical print start
position, horizontal length, and vertical length are defined as
x
0,
y
0,
dx
(dot),
dy
(dot), respectively.
Each setting for the printable area is calculated as follows:
x
0 = [(
xL
+
xH
256)]
y
0 = [(
yL
+
yH
256)]
n
Print Direction
Starting Position
0, 48
Left to right
Upper left
(A in the figure)
1, 49
Bottom to top
Lower left
(B in the figure)
2, 50
Right to left
Lower right
(C in the figure)
3, 51
Top to bottom
Upper right
(D in the figure)
A
D
C
B
Printing area
Paper feed direction