B. Control code summary (Epson)
ITEM | SYMBOL | Hexadecimal Decimal | FUNCTION | ||
[68] | ESC a n | [1B,61,n] H | [27,97,n] D | Justification mode. | |
|
|
|
| n=0: left justification is set (default) | |
|
|
|
| n=1: centering is set | |
|
|
|
| n=2: right justification is set | |
|
|
|
| n=3: full justification is set | |
|
|
|
| When n is other than 0, the printer performs one | |
|
|
|
| linefeed after printing. | |
|
|
|
| ||
[69] | ESC b c n1 n2 | [1B,62,c,n1,n2,...,n16,00] H | Sets vertical tab position in channels beginning from | ||
| ...n16 NUL | [27,98,c,n1,n2,...,n16,0] D | n1 and end with NUL [00]H as in ESC b command. | ||
|
|
|
| c specifies one of channels 0 to 7 to be set. | |
|
|
|
| ||
[70] | ESC g | [1B,67] H [27,103] D | Sets 15cpi mode. | ||
|
|
|
|
| |
[71] | ESC j n | [1B,6A,n] H | [27,106,n] D | n/180" reverse linefeed after printing (0≤ n≤ 255). | |
|
|
|
| This command is ignored in the cut sheet feeder mode. | |
|
|
|
|
| |
[72] | ESC k n | [1B,6B,n] H | [27,107,n] D | Selects font type. | |
|
|
|
| n=00h: ROMAN is selected | |
|
|
|
| n=01h: SANS SERIF is selected | |
|
|
|
| n=02h: COURIER is selected | |
|
|
|
| n=03h: PRESTIGE is selected | |
|
|
|
| n=04h: SCRIPT is selected | |
|
|
|
| n=05h: | |
|
|
|
| n=06h: | |
|
|
|
| n=07h: ORATOR is selected | |
|
|
|
| n=08h: | |
|
|
|
| n=14h: GOTHIC is selected | |
[73] | ESC l n | [1B,6C,n] H | [27,108,n] D | Sets left margin at the nth horizontal space in the | |
|
|
|
| current print mode. | |
|
|
|
| The left margin can be set a distance of up to 8" from | |
|
|
|
| the left end of the carriage. | |
|
|
|
|
| |
[74] | ESC p n | [1B,70,n] H | [27,112,n] D | Sets or cancels proportional mode. | |
|
|
|
| n=0: the proportional mode is cancelled | |
|
|
|
| n=1: the proportional mode is set | |
|
|
|
|
| |
[75] | ESC q n | [1B,71,n] H | [27,113,n] D | Sets character style. | |
|
|
|
| n=0: plain style is set | |
|
|
|
| n=1: outline style is set | |
|
|
|
| n=2: shadow style is set | |
|
|
|
| n=3: outline with shadow style is set | |
[76] | ESC t n | [1B,74,n] H | [27,116,n]D | Selects character code table. | |
|
|
|
| n=00,30:Selects the italic character table. | |
|
|
|
| n=01,31:Selects the graphic character table. | |
|
|
|
| n=02,32:Selects the downloaded character table. | |
|
|
|
| n=03,33:Selects the graphic character table. | |
|
|
|
| If downloaded characters cannot be printed when the | |
|
|
|
| downloaded character table is selected, italic | |
|
|
|
| characters are printed. The selected character table is | |
|
|
|
| chantged eith the ETS(t command. | |
|
|
|
|
| |
[77] | ESC w n | [1B,77,n] H | [27,119,n] D | Sets or cancels double height character mode. | |
|
|
|
| n=0: the double height character mode is cancelled | |
|
|
|
| n=1: the double height character mode is set | |
[78] | ESC x n | [1B,78,n] H | [27,120,n] D | Selects character quality. | |
|
|
|
| n=0: draft character mode is set | |
|
|
|
| n=1: LQ character mode is set | |
|
|
|
|
|
|