CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS)
B-EP
Series
8-96
8.11.6 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]
STX
Printer serial No.
02H 32
bytes
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]