A795 User Guide: Programming Supplement
Chapter 4: Programming commands
50
Select justification
ASCII
ESC a n
Hexadecimal
1B 61 n
Decimal
27 97 n
Value of n:
0, 48 = Left aligned
1, 49 = Center aligned
2, 50 = Right aligned
Range of n:
0-2, 48-50
Default:
0 (Left aligned)
Specifies the alignment of characters, graphics, logos, and
bar codes on the receipt station according to the above
table.
Related information
On the Epson TM-T88, this command is valid only at the
beginning of a line.
Range of n on A793 is 0-255 using low 2 bits only:
00
left aligned
01
center
10
right aligned
11
center
Set left margin
ASCII
GS L nL nH
Hexadecimal
1D 4C nL nH
Decimal
29 76 nL nH
Range of nL:
0-255
Range of nH:
0-255
Default:
576 dots (the maximum printable area)
Formulas
Sets the left margin of the printing area. The left margin is
set to ((nH X 256) + nL) times horizontal motion unit)
inches. The horizontal motion units are set by the set
horizontal and vertical minimum motion units command
(1D 50), described in this manual.
The width of the printing area is set by the set printing area
width command (1D 57), which follows this command.
See the set printing area width command in this document
for a description of that command.
If the setting exceeds the printable area, the maximum
value of the printable area is used. The maximum printable
area is 576 dots. See the illustration.
To set the left margin to one inch at the default horizontal
motion unit of 1/203 inches, send the four-byte string:
GS L 203 0
Or, to set the left margin to two inches at the default
horizontal motion unit of 1/203 units per inch, send the
four-byte string:
GS L 150 1
Where 2 inches = 406/203, and 406 = (1 X 256) + 150.
Exceptions:
The command is effective only at the beginning of a line.
This command is ignored if the line buffer is not empty,
and only effects the receipt interface.
Printable Area 576 Dots
Left
Margin
Printing Area
Width
Содержание A795
Страница 1: ...A795 D100 PS UserGuide ProgrammingSupplement A795Two ColorThermalReceiptPrinter TM...
Страница 10: ...A795 User Guide Programming Supplement Chapter 1 About this Supplement 10...
Страница 110: ...A795 User Guide Programming Supplement Chapter 4 Programming commands 110...
Страница 118: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 118 Code page 737 Greek...
Страница 119: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 119 Code page 850 Multilingual...
Страница 120: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 120 Code page 852 Slavic...
Страница 121: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 121 Code page 858 with Eurosymbol...
Страница 122: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 122 Code page 860 Portuguese...
Страница 123: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 123 Code page 862 Hebrew...
Страница 124: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 124 Code page 863 French Canadian...
Страница 125: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 125 Code page 865 Nordic...
Страница 126: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 126 Code page 866 Cyrillic...
Страница 127: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 127 Code page 1252 Windows Latin 1...
Страница 128: ...189 9200281 E A795 D100 PS 05 01 TM...