CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS)
B-EP
Series
10-23
10.9.3 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.
[LABEL, RECEIPT, ESC/POS modes]
[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
[TPCL
mode]
[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]