Encryptions/Codes
Programming interface (General)
14
T5023/5023+ - Programming Guide
ASCII code
A code table specifies how the printable characters and control commands, for
example, for document ejection and carriage return are encrypted binarily in the
computer or printer. The encryption is expressed by a corresponding hexadeci-
mal or decimal number. A certain character then lies in hexadecimal notation or
in the decimal representation, for example, in the range hex 00 to hex FF or de-
cimal 0 to decimal 255 (8- bit encryption).
Examples
:
With the document printer and with most computers the basis for the encryptions is
the code system ASCII ( A merican S tandard C ode for I nformation I nterchange),
which only differs in certain characters for special foreign languages (national ASCII
table). The ASCII code is encrypted via 7 bits, whereby 128 different meanings are
possible
.
Escape sequences / CSI sequences
As the ASCII table provides fewer control codes than print functions, the commands
for the printer normally consist of a sequence of two or more ASCII characters. Such
a code sequence is always preceded by the encryption of the control code ESC (Es-
cape) (ASCII code 27 (decimal) or 1B (hexadecimal). This signals to the printer that
the encryptions following ESC are to be interpreted as commands for
the printer.
There are two kinds of code sequences for the document printer:
–
ESC ...
Code sequences, which begin with ESC or the appropriate encryption, are
called ESC sequences.
–
CSI ... = ESC [ ...
Code sequences introduced with CSI (Control Sequence Introducer) are
called CSI sequences. CSI sequences are introduced with encryptions of
the character sequence “ESC [” and concluded with the encryption of two
Character
Meaning
Decimal
Hex
A
a
4
LF
ESC
Letter big A
Letter small a
Number 4
Line Feed
Escape
65
97
52
10
27
41
61
34
0A
1B
Содержание T5023
Страница 1: ...T5023 5023 Programming Guide...
Страница 16: ...Contents of the manual Preface 6 T5023 5023 Programming Guide...
Страница 22: ...Application areas Short description of the document printer 12 T5023 5023 Programming Guide...
Страница 42: ...Document printer specifications Programming interface General 32 T5023 5023 Programming Guide...
Страница 72: ...Line feed commands Standard commands 62 T5023 5023 Programming Guide Result...
Страница 132: ...Non executable commands Standard commands 122 T5023 5023 Programming Guide...
Страница 146: ...Definition of characters Character set commands 136 T5023 5023 Programming Guide Dot grid for LQ print quality...
Страница 166: ...Switching on italic print Character set commands 156 T5023 5023 Programming Guide...
Страница 171: ...Graphics commands Mode of operation of the graphics T5023 5023 Programming Guide 161 Example...
Страница 177: ...Graphics commands Syntax of the graphics commands T5023 5023 Programming Guide 167 Result...
Страница 211: ...Additional commands Printer Basic commands for document processing T5023 5023 Programming Guide 201...
Страница 219: ...Additional commands Printer Controlling the MSR MICR functions T5023 5023 Programming Guide 209 Horizontal fold book...
Страница 251: ...Application examples Processing of a blank form T5023 5023 Programming Guide 241 Print effects...
Страница 282: ...Passbook processing with MSR Application examples 272 T5023 5023 Programming Guide...
Страница 300: ...Length of the Transfer Loadable Firmware Character Genera 290 T5023 5023 Programming Guide...
Страница 306: ...Windows NT Drivers Specific Operating System Dependencies 296 T5023 5023 Programming Guide...
Страница 317: ...Appendix Character Sets T5023 5023 Programming Guide 307 Code Page 437...
Страница 318: ...Character Sets Appendix 308 T5023 5023 Programming Guide ISO 8859 2 Latin No 2...
Страница 319: ...Appendix Character Sets T5023 5023 Programming Guide 309 ISO 8859 5 Cyrillic...
Страница 320: ...Character Sets Appendix 310 T5023 5023 Programming Guide ISO 8859 7 Greek...
Страница 321: ...Appendix Character Sets T5023 5023 Programming Guide 311 ISO 8859 8 Hebrew...
Страница 322: ...Character Sets Appendix 312 T5023 5023 Programming Guide ISO 8859 9 Latin No 5...
Страница 323: ...Appendix Character Sets T5023 5023 Programming Guide 313 ISO 8859 15...
Страница 324: ...Character Sets Appendix 314 T5023 5023 Programming Guide OCR A...
Страница 325: ...Appendix Character Sets T5023 5023 Programming Guide 315 OCR B...
Страница 326: ...Character Sets Appendix 316 T5023 5023 Programming Guide Code Page ISO 2...
Страница 327: ...Appendix Character Sets T5023 5023 Programming Guide 317 Code Page 775 Latin Baltic...
Страница 328: ...Character Sets Appendix 318 T5023 5023 Programming Guide Code Page 850 Latin 1...
Страница 329: ...Appendix Character Sets T5023 5023 Programming Guide 319 Code Page 852 Latin 2...
Страница 330: ...Character Sets Appendix 320 T5023 5023 Programming Guide Code Page 855...
Страница 331: ...Appendix Character Sets T5023 5023 Programming Guide 321 Code Page 857 Latin 5...
Страница 332: ...Character Sets Appendix 322 T5023 5023 Programming Guide PC Code Page 858...
Страница 334: ...Character Sets Appendix 324 T5023 5023 Programming Guide Code Page 866 Latin Cyrillic...
Страница 335: ...Appendix Character Sets T5023 5023 Programming Guide 325 Code Page 869 Latin Greek...
Страница 337: ...Appendix Character Sets T5023 5023 Programming Guide 327 1250 Windows Latin 2...
Страница 338: ...Character Sets Appendix 328 T5023 5023 Programming Guide 1251 Windows Cyrillic...
Страница 339: ...Appendix Character Sets T5023 5023 Programming Guide 329 1252 Windows Latin 1...
Страница 340: ...Character Sets Appendix 330 T5023 5023 Programming Guide 1253 Windows Greek...
Страница 341: ...Appendix Character Sets T5023 5023 Programming Guide 331 1254 Windows Latin 5...
Страница 342: ...Character Sets Appendix 332 T5023 5023 Programming Guide 1255 Windows Hebrew...
Страница 343: ...Appendix Character Sets T5023 5023 Programming Guide 333 1256 Windows Arabic...
Страница 344: ...Character Sets Appendix 334 T5023 5023 Programming Guide 1257 Windows Baltic Rim...
Страница 354: ...Chinese Characters in the Passbook Document Printer Appendix 344 T5023 5023 Programming Guide...
Страница 368: ...Paper Specifications Appendix 358 T5023 5023 Programming Guide...
Страница 394: ...Description of the physical interface Appendix 384 T5023 5023 Programming Guide...
Страница 402: ...Index 392 T5023 5023 Programming Guide...
Страница 403: ......
Страница 404: ......