
|
|
|
|
|
|
|
|
|
|
| B. Control code summary (Epson) | |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
ITEM | SYMBOL | Hexadecimal Decimal |
|
| FUNCTION |
|
|
|
|
|
|
|
| |||||
[57] | ESC O | [1B,4F] H | [27,79] D |
|
| Cancels skip over perforation. |
|
|
|
|
| |||||||
[58] | ESC P | [1B,50] H | [27,80] D |
|
| Selects pica mode (10cpi). |
|
|
|
|
|
| ||||||
|
|
|
|
|
|
|
| The condensed elite character (20 cpi) also becomes | ||||||||||
|
|
|
|
|
|
|
| the condensed pica character (17.1 cpi). |
|
|
| |||||||
[59] | ESC Q n | [1B,51,n] H | [27,81,n] D |
|
| Sets right margin at the nth horizontal space in the | ||||||||||||
|
|
|
|
|
|
|
| current print mode from the | ||||||||||
|
|
|
|
|
|
|
| (1≤n≤255) |
|
|
|
|
|
|
|
|
| |
[60] | ESC R n | [1B,52,n] H | [27,82,n] D |
|
| Selects International character. |
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||
|
|
| n | Country |
| Hexadecimal Character Code |
|
|
|
|
|
| ||||||
|
|
|
|
|
| 23 | 24 | 40 | 5B | 5C | 5D | 5E | 60 | 7B | 7C | 7D | 7E |
|
|
|
| 0 | U.S.A. | # | $ | @ | [ | \ | ] | ˆ | ` | { | } | ~ |
| ||
|
|
| 1 | FRANCE | # | $ | à | ° | ç | § | ˆ | ` | é | ù | è | ¨ |
| |
|
|
| 2 | GERMANY | # | $ | § | Ä | Ö | Ü | ˆ | ` | ä | ö | ü | ß |
| |
|
|
| 3 | U.K. | £ | $ | @ | [ | \ | ] | ˆ | ` | { | } | ~ |
| ||
|
|
| 4 | DENMARK | # | $ | @ | Æ | Ø | Å | ˆ | ` | æ | ø | å | ~ |
| |
|
|
| 5 | SWEDEN | # | € | É | Ä | ö | Å | Ü | é | ä | ö | å | ü |
| |
|
|
| 6 | ITALY | # | $ | @ | ° | \ | é | ˆ | ù | à | ò | è | ì |
| |
|
|
| 7 | SPAIN | Pt | $ | @ | ¡ | Ñ | ¿ | ˆ | ` | ¨ | ñ | } | ~ |
| |
|
|
| 8 | JAPAN | # | $ | @ | [ |
| ] | ˆ | ` | { | } | ~ |
| ||
|
|
| 9 | NORWAY | # | € | É | Æ | Ø | Å | Ü | è | æ | ø | å | ü |
| |
|
|
| 10 | DENMARK 2 | # | $ | É | Æ | Ø | Å | Ü | è | æ | ø | å | ü |
| |
|
|
| 11 | SPAIN 2 | # | $ | á | ¡ | Ñ | ¿ | é | ` | í | ñ | ó | ú |
| |
|
|
| 12 | LATIN AMERICA | # | $ | á | ¡ | Ñ | ¿ | é | ü | í | ñ | ó | ú |
| |
|
|
| 13 | KOREA | # | $ | @ | [ | — | ] | ˆ | ` | { | } | ~ |
| ||
|
|
| W |
| ||||||||||||||
|
|
| 31 | TURKEY | # | ı | . | Ç | Ö | S, | Ü | v | ç | ö | s, | ü |
| |
|
|
| I | g |
| |||||||||||||
|
|
| 64 | LEGAL | # | $ | § | ° | ' | " | ¶ | ` | © | ® | † | ™ |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Note: n=64 is invalid when code page is selected.
[61] | ESC S n | [1B,53,n] H | [27,83,n] D |
| Sets superscript or subscript character mode |
|
|
|
|
| n=0: the superscript character mode is set |
|
|
|
|
| n=1: the subscript character mode is set |
|
|
|
|
|
|
[62] | ESC T | [1B,54] H | [27,84] D |
| Cancels super/subscript character mode printing. |
[63] | ESC U n | [1B,55,n] H | [27,85,n] D |
| Sets or cancels unidirectional printing. |
|
|
|
|
| n=0: the unidirectional printing is cancelled and the |
|
|
|
|
| bidirectional or predirectional is set according |
|
|
|
|
| to the setup options |
|
|
|
|
| n=1: unidirectional printing is set |
[64] | ESC W n | [1B,57,n] H | [27,87,n] D |
| Sets or cancels double width character mode |
|
|
|
|
| n=0: the double width character mode is cancelled |
|
|
|
|
| n=1: the double width character mode is set |
[65] | ESC Y n1 n2 | [1B,59,n1,n2] H |
| Prints | |
| data | [27,89,n1,n2] D |
| mode (120dpi). The total number of dots in the data is | |
|
|
|
|
| set by n1+n2 x 256. |
[66] | ESC Z n1 n2 | [1B,5A,n1,n2] H |
| Prints | |
| data | [27,90,n1,n2] D |
| The total number of dots in the data is set by | |
|
|
|
|
| n1+n2 x 256. |
[67] | ESC \ n1 n2 | [1B,5C,n1,n2] H |
| Sets relative dot position to the current position. | |
|
| [27,92,n1,n2] D |
| The dot spacing is 1/120 inch in draft mode and | |
|
| For Example: |
| 1/180 inch in LQ/proportional mode. | |
|
|
| |||
|
|
|
| ||
|
| If n1+n2 x 256< 32768 (8000h), then move n1+n2 x 256 dots to the right. | |||
|
| If n1+n2 x 256 ≥ 32768, then move 65536 - {n1+n2 x 256} dots to the left | |||
|
| from the current position. |
|
|