9.Programlama Bilgileri: Bu bölüm yazıcı programlama komutları hakkında bilgi
içermektedir.
1-ASCII CONTROE CHARACTERS:
EOT 04/04 End Of Text
BS 08/08 Back Space
HT 09/09 Horizontal Tab
LF 0A/ 10 Line Feed
VT 0B/ 11 Vertical Tab
FF 0C/ 12 Form Feed
CR 0D/ 13 Carriage Return
SO 0E/ 14 Shift Out
SI 0F/ 15 Shift In
XON 11/ 17 Transmitter On.
AUXON 12/ 18 Printer on.
XOFF 13/ 19 Printer receiver is off
NORM 14/20 Return to default 42 column mode
AUXOFF 15/2 1 Printer to Host: printer is off
CANCEL 18/24 Cancel and reset printer BUFFER
ESC 1B/27 Escape
EXTEND 1C/28 Extended print
EXTEND OFF 1D/29 Extended print off/Normal print
2- Printer Font Commands — Courier Chara cter Set:
24 CPI normal 8x23 ESC+'k'+'5'
2 1 CPI normal 9x23 ESC+'k'+'4'
19 CPI normal 10x23 ESC+'k'+'3'
16 CPI normal 12x23 ESC+'k'+'2'
12 CPI normal 16x23 ESC+'k'+'1'
13 CPI rotated 14x16 ESC+'k'+'0'
3-Printer Font Commands:
ESC - `F' - 1 Selects International character set
ESC - `F' - 2 Selects PC Line Draw character set
ESC - `U' - ` 1' Enable emphasized print.
ESC - `U' - `0' Disable emphasized print.
4- Printer Graphic Commands:
ESC - `a' - n Select dot line spacing between printed lines.
ESC - `J' - n Graphic Line Feed command
ESC - `P' - `#' Select Online mode, characters printed as received.
ESC - `P' - `$' Select Buffer mode, characters are printed on (^ D)
ESC - `V' - n 1 - n2 8-bit Graphic command
ESC - `v' - n 1 - n2 RLE Compressed Graphic command
5- Magneti c Card Reader Control Commands:
ESC - `M' - `nnm' - Cr Select MCR with (nn) auto timeout
ESC - ~C' Cancel MCR read process
5.1 Smart Card Reader Control Commands (when SCR is
installed):
ESC - `M' - `nn' - `7'- Cr Select SCR in direct mode with
Serial RS232 (UART0). (nn) is the
auto timeout of the SCR.
ESC-`M'-`nn'-`8'-Cr
Select SCR in PassThru mode with
5