A795 User Guide: Programming Supplement
Chapter 3: Programming the Printer
21
Chapter 3: Programming the Printer
Overview of commands
Commands control all operations and functions of the printer. This includes selecting the size
and placement of characters and graphics on the receipt to feeding and cutting the paper. The
programming commands have been organized, in order of hexadecimal code within functional
groups. For this reason, “related” commands may not be listed adjacent to one another.
The operation of various printers may be emulated by the
commands, including the following:
•
Axiohm A793
•
Axiohm A794
•
Axiohm A795 native mode
•
Epson TM-T88
Any of the commands may be used in any combination to
program a host computer to communicate with the printer
(unless otherwise noted).
Some commands listed and described here may not be
implemented. They will be identified as “not
implemented.” If received, they are ignored and not sent to
the print buffer as data. Any non-legal commands have
their parameter sent to the print buffer as data.
Comparison to A793
The following table details the list of commands whose behavior differs between the
A793, A794, and A795 because of the physical differences of a 6 dots/mm head (A793) versus
an 8 dots/mm head (A794 and A795).
Command
Description
Difference between previous product
and new product emulation mode.
15 n
Feed n dot rows
This command will move the paper on the receipt in
n/203 inch steps instead of n/152 inch steps.
16 n
Add n extra dot rows
The dot rows will be measured in n/203 inches versus
n/152 inches.
1B 20 n
Set right-side character spacing
This command sets the right side spacing to “n” horizontal
motion units. By default, these units are in terms of 1/203
inches versus 1/152 inches.
1B 24 n1 n2
Set absolute starting position
For graphics commands, the position is scaled to best
match A793. In text mode, the equivalent character
position is calculated.
1B 26 s c1 c2 n1 d1...nn dn]
Define user-defined character set
Since the dots on the A795 printhead are smaller, user
defined characters that were used on the previous printers
will appear smaller on the A974 printer.
1B 2A m n1 n2 d1...dn
Select bit image mode
In A793 emulation mode, graphics are scaled to best
match the size of the graphic in the A793 printer.
1B 33 n
Set line spacing
This command uses n in terms of n/360 inches. Since the
A793 had a fundamental step of 1/152 inch and the A795
has a fundamental step of 1/203 inch, the actual line
spacing will not exactly match the requested spacing.
Содержание 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...