Справочник Пользователя для IBM TG3

Скачать
Страница из 244
Table 15. EIA-232 commands in alphabetical order (continued)
Description
Command
Page
Set print mode
ESC ! or X'1B21;n'
Set print station parameters
ESC c 1 or X'1B63;31;n'
Set print station
ESC c 0 or X'1B63;30;n'
Set printing position
GS ] x y or X'1D;5D;x;y'
Set relative horizontal position
ESC <5C>h n1 n2 or X'1B;5C;n1;n2'
Set relative position
ESC \ n1 n2 or X'1B5C;n1;n2'
Set relative vertical position
GS \ or X'1D;5C;y'
Set sheet eject length
ESC C or X'1B43;n'
Set vertical position
GS $ or X'1D;24;y'
Start scan
X'1B;3E;n'
Status request
ESC v or X'1B76'
Status sent to system
ESC ) or X'1B29;n'
Store scanned image
X’1B;41;n1;x0;y0;dx0;dy0;x1;y1;dx1;dy1;x2;y2;
dx2;dy2;x3;y3;dx3;dy3;tagdata’
Tab to next tab stop
HT or X'09'
Thermal code page
MCT commands; see Table 17 on page 125.
Verify previous commands
completed
X'1B;00;80;00'
System commands
Exercise program
EIA-232 Syntax:
ESC x or X'1B;78'
Purpose:
This tests printing functions of the printer. A test message is printed. (See
Figure 36 on page 64.) If there is a document in the printer, the test
message prints on the document. Otherwise, it prints at the customer
receipt station.
Error Conditions:
Home Error (on document station only)
Cash Receipt Print Error
Verify previous commands completed
EIA-232 Syntax:
X'1B;00;80;00'
Purpose:
This command can be used to ensure that all commands preceding it have
been completed. The application would just wait for the status return with
status byte 5, bit 1 set.
Updated April 2, 2009
Appendix D. EIA-232 programming information
111