CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS)
B-EP
Series
5-209
5.15.5 PRINTER SERIAL NUMBER ACQUIRE COMMAND
[ESC] WY
Function
Sends the printer serial number to the host.
Format
[ESC] WY [LF] [NUL]
Explanation
(1)
The format of the printer serial No. to be returned to the host is as follows.
[IrDA: TEC Protocol]
STX
Printer serial No.
CRC
CRC
02H 32
bytes
XXH
XXH
[IrDA: IrCOMM, IrDA: IrOBEX, USB, RS-232C, Bluetooth, or wireless LAN]
SOH STX
Printer serial No.
ETX EOT CR
LF
01H 02H
32
bytes
03H
04H 0DH 0AH
When the printer serial No. is “2308M000001”:
[32H][33H][30H][38H][4DH][30H][30H][30H][30H][30H][31H][00H][00H][00H][00H][00H]
2 3 0 8 M 0 0 0 0 0 1
[00H][00H][00H][00H][00H][00H][00H][00H][00H][00H][00H][00H][00H][00H][00H][00H]
* The remaining bytes of 32 bytes are filled with 00H.
Example
[ESC] WY [LF] [NUL]