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

Скачать
Страница из 244
Table 14. EIA-232 commands organized by function (continued)
Description
Command
Page
Set print station parameters
ESC c 1 or X'1B6331;n'
Select 1/8-inch line spacing
ESC 1 or X'1B31'.
Select 1/6-inch line spacing
ESC 2 or X'1B32'
Select color printing
ESC r or X'1B72;n'
Set line spacing using minimum
units
ESC 3 or X'1B33;n'
Set sheet eject length
ESC C or X'1B43;n'
Set horizontal tab positions
ESC D [n1 n2] NUL NUL or X'1B44[n1 n2]0000'
Set left margin position
ESC $ n1 n2 or X'1B24;n1;n2'
Set relative position
ESC \ n1 n2 or X'1B5C;n1;n2'
Align positions
ESC a or X'1B61;n'.
Set error recovery function
ESC c 4 or X'1B63;34;n'
Define document wait time
ESC f x y or X'1B66;x;y'
Status sent to system
ESC ) or X'1B29;n'
Select character for reprinted lines ESC + or X'1B2B;n'
Re-initialize the printer
ESC @ or X'1B40'.
Enable/disable the feed buttons
ESC c 5 n X'1B6335;n'
Enable/disable the beeper
ESC BEL n1 n2 or X'1B07;n1;n2'
Enable/disable upside-down
printing
ESC { or X'1B7B;n'
Select character size for scalable
fonts
GS ! or X'1D21;n'
Fix font matrix
ESC : or X'1B3A n'
Print logo inline
GS J d n1 n2 data or X'1D4A;d;n1;n2;data'
Enable/disable two-color printing
GS ; or X'1D3B;n'
Request document length for
landscape print
GS N X'02' Null or X'1D4E0200'
Set document length for
landscape print
GS c 1 where n is 2 bytes indicating the length of the document
in print motor steps
Bar Code Commands
Print bar code
GS k NUL or X'1D6B;n;data;00'
Select horizontal size of bar code
GS w or X'1D77;n'
Select bar code height
GS h or X'1D68;n'
Select printing position of
human-readable information (HRI)
GS H or X'1D48;n'
Select font for HRI
GS f or X'1D66;n'
Print PDF417 bar code
GS P data NUL or X'1D50;data;00'
Print PDF417 bar code using
binary mode
GS U datalength data or X'1D;55;datalength;data;00'
Select PDF417 ECC Level
GS R or X'1D52;n1;n2'
Select Aspect Ratio PDF417 bar
code
GS S r;c or X'1D53;r;c'
Updated April 2, 2009
Appendix D. EIA-232 programming information
105