Page 1
TOSHIBA Portable Printer B-EP Series External Equipment Interface Specification 1st Edition: September 19, 2008 2nd Edition: May 11, 2009 3rd Edition: February 6, 2013 4th Edition: June 20, 2013 5th Edition: June 4, 2014 6th Edition: December 5, 2014...
Page 2
MODIFICATION HISTORY EAA-02465 EXTERNAL EQUIPMENT INTERFACE SPECIFICATION Modified Date Description Pages Sep. 19, 2008 – Newly published. May 11, 2009 2.3 WEIGHT and 2.5 HEAD SPECIFICATION: Values were changed. 3-4 to 7, 45, 3.2.3 TRANSMISSION CONTROL: 46, 48, 49 3.5.2 NOTES WHEN SENDING A COMMAND: (including Ir packet error) was added to Command syntax error.
Page 3
Modified Date Description Pages May 11, 2009 5-18, 19, 5.4.2/7.4.3/10.7.2 PRINT DENSITY FINE ADJUST COMMAND: (Continued) 7-10, 11, [Term] Terms were added to [d]: 10-11, 12 3: Print quality oriented, 5: Auto2 [Explanation] (6) Descriptions were added. 5-33 5.6.2 BIT MAP FONT FORMAT COMMAND: Point counts were added for Gothic725 Black.
Page 4
Modified Date Description Pages May 11, 2009 7-24 7-5-10 NO. OF COLUMNS (STRINGS) COMMAND: (Continued) The number of columns was represented in hex. 8-67 8.10.47 BARCODE PRINT COMMAND: [Explanation] "NO." was changed to "No." 8-87 8.11.2 RESET COMMAND: [Notes] (2) and (3) were deleted. 9.2.1 COMMAND SYNTAX ERROR: was added.
Page 5
Modified Date Description Pages May 11, 2009 12-25 to 32 The following sections were added: (Continued) 12-7 STANDARD CHARACTER (in Japan)/KANJI (16 x 16) (in Japan)/ KANJI (24 x 24)(in Japan) 12-8 STANDARD CHARACTER (outside Japan) 12-9 CHINESE CHARACTER (24 x 24) (outside Japan) 12-10 KOREAN CHARACTER (24 x 24) (outside Japan) 12-33, 34 12.11 BOLD CHARACTER:...
Page 6
Modified Date Description Pages Jun. 20, 2013 11-11, 11- Message, “BT Initializing”, has been added. (Continued.) 13, 11-15, 11-17, 11- 11-20 When the old Bluetooth module (V244) is used, an error message, “SYSTEM ERROR 18”, is not displayed and a recovery is not performed. 11-21, 11- Section 11.15.1 Recovery of bonding table has been newly added.
TABLE OF CONTENTS Page SCOPE/GENERAL DESCRIPTION ......................1-1 SCOPE ..............................1-1 GENERAL DESCRIPTION ........................1-1 1.2.1 SPECIFICATION ORGANIZATION ....................1-1 OUTLINE OF SPECIFICATIONS .........................2-1 GENERAL DESCRIPTION ........................2-1 DIMENSION ............................2-2 WEIGHT ..............................2-2 PRINTING METHOD ..........................2-2 HEAD SPECIFICATION ..........................2-2 PRINT SPEED ............................2-2 PRINT MODE ............................2-2 FONT TYPE ............................2-3 2.8.1 BIT MAP FONT ..........................2-3 2.8.2...
Page 8
Page 2.26 STATUS PRINTING ..........................2-7 2.27 CONTINUOUS PRINTING FUNCTION ....................2-7 2.28 STRIP ISSUE ............................2-8 INTERFACE ..............................3-1 GENERAL DESCRIPTION ........................3-1 IrDA INTERFACE (TEC Protocol) ......................3-2 3.2.1 SPECIFICATIONS FOR PHYSICAL LAYER AND TRANSMISSION CONTROL METHOD ..3-2 3.2.2 INPUT/OUTPUT SIGNAL .......................3-3 3.2.3 TRANSMISSION CONTROL ......................3-3 3.2.4 HOW TO SEND THE DATA PRINT COMMAND WHICH CANNOT BE INCLUDED IN ONE PACKET IN THE LABEL MODE ....................
Page 9
Page 3.8.3 CONNECTION SEQUENCE ......................3-76 3.8.4 HANDLING OF RECEIVED DATA WHEN THE PRINTER GOES INTO POWER SAVE MODE . 3-79 TRANSMISSION SEQUENCE ........................4-1 GENERAL DESCRIPTION ........................4-1 TPCL MODE ............................4-2 4.2.1 INITIAL SETTING ...........................4-2 4.2.2 LABEL ISSUE OPERATION ......................4-4 4.2.3 HANDLING OF RECEIVED DATA BY COMMAND ................4-6 LABEL MODE ............................
Page 10
Page COMMANDS RELATED TO CLEAR ..................... 5-22 5.5.1 IMAGE BUFFER CLEAR COMMAND [ESC] C ......5-22 5.5.2 CLEAR AREA COMMAND [ESC] XR ...... 5-23 COMMANDS RELATED TO DRAWING FORMAT ................5-25 5.6.1 LINE FORMAT COMMAND [ESC] LC ...... 5-25 5.6.2 BIT MAP FONT FORMAT COMMAND [ESC] PC ......
Page 11
Page 5.12.3 SAVED DATA READ COMMAND [ESC] XQ ....5-192 5.13 COMMANDS RELATED TO CHECK ....................5-193 5.13.1 HEAD BROKEN DOTS CHECK COMMAND [ESC] HD ....5-193 5.13.2 MESSAGE DISPLAY COMMAND [ESC] XJ ..... 5-194 5.14 COMMANDS RELATED TO CONTROL ..................... 5-196 5.14.1 RESET COMMAND [ESC] WR ....
Page 12
Page 6.5.6 BAR CODE FORMAT COMMAND (EAN128, UCC/EAN128) [ESC] XB ...... 6-37 6.5.7 BAR CODE FORMAT COMMAND (CODE128) [ESC] XB ...... 6-38 6.5.8 BAR CODE FORMAT COMMAND (Customer Barcode) [ESC] XB ...... 6-40 6.5.9 TWO-DIMENSIONAL CODE FORMAT COMMAND (PDF417) [ESC] XB ...... 6-41 6.5.10 TWO-DIMENSIONAL CODE FORMAT COMMAND (QR Code) [ESC] XB ......
Page 13
Page RECEIPT MODE (INTERFACE COMMANDS) .....................7-1 GENERAL DESCRIPTION ........................7-1 OUTLINE OF COMMANDS ........................7-2 7.2.1 FORMAT OF INTERFACE COMMAND ..................7-2 7.2.2 HOW TO USE REFERENCE ......................7-2 7.2.3 PRECAUTIONS ..........................7-3 COMMANDS RELATED TO SETTING ....................7-4 7.3.1 MODE SELECT COMMAND [ESC] M ......7-4 7.3.2 PRINTER ID SET COMMAND [ESC] ID ......7-7...
Page 14
Page COMMANDS RELATED FORMAT ....................... 7-38 7.7.1 FLASH MEMORY FORMAT COMMAND [ESC] J1 ....... 7-38 COMMANDS RELATED TO GRAPHICS ....................7-39 7.8.1 GRAPHIC DATA STORE COMMAND [ESC] SG ...... 7-39 7.8.2 GRAPHIC PRINT COMMAND [GS] / ......7-41 COMMANDS RELATED TO CONTROL ....................7-42 7.9.1 INITIALIZE COMMAND [ESC] @, [ESC] WR ..
Page 15
Page 8.9.3 SETTING OUT OF DEFINED RANGE ...................8-7 8.10 ESC/POS COMMANDS ..........................8-8 8.10.1 HORIZONTAL TAB COMMAND [HT] .........8-8 8.10.2 LINE FEED COMMAND [LF] .........8-9 8.10.3 PAGE MODE PRINT COMMAND [FF] ....... 8-10 8.10.4 PAGE MODE CANCEL COMMAND [CAN] ......8-11 8.10.5 PAGE MODE COLLECTIVE PRINT COMMAND [ESC] [FF] .....
Page 16
Page 8.10.34 CHINESE CHARACTER PRINT MODE ALL SET COMMAND [FS] ! ......8-50 8.10.35 CHINESE CHARACTER MODE SET COMMAND [FS] & ......8-51 8.10.36 CHINESE CHARACTER UNDERLINING SET COMMAND [FS] - ......8-52 8.10.37 CHINESE CHARACTER MODE CANCEL COMMAND [FS] ......8-53 8.10.38 WRITABLE CHARACTER OF CHINESE CHARACTER DEFINE COMMAND [FS] 2 ......
Page 17
Page ERROR PROCESSING ..........................9-1 GENERAL DESCRIPTION ........................9-1 COMMUNICATION ERRORS .........................9-2 9.2.1 COMMAND SYNTAX ERROR ......................9-2 9.2.2 HARDWARE ERROR ........................9-2 9.2.3 LAN DRIVER ERROR ........................9-2 ERRORS IN ISSUING OR FEEDING ......................9-3 9.3.1 PAPER JAM / LABEL END / NORMAL END + LABEL END............9-3 9.3.2 BROKEN HEAD DOTS ERROR .....................9-5 9.3.3...
Page 18
Page 10.2 STARTING THE PRINTER IN SYSTEM MODE ................... 10-1 10.3 COMMUNICATIONS CONDITIONS ..................... 10-1 10.4 LIMITATIONS IN SYSTEM MODE ......................10-1 10.5 OUTLINE OF COMMANDS ........................10-2 10.5.1 FORMAT OF INTERFACE COMMAND ..................10-2 10.5.2 HOW TO USE REFERENCE ......................10-2 10.5.3 PRECAUTIONS ..........................
Page 19
Page 11. OTHER FUNCTIONS ..........................11-1 11.1 GENERAL DESCRIPTION ........................11-1 11.2 REPRINT FUNCTION ........................... 11-2 11.2.1 LABEL MODE ..........................11-2 11.2.2 RECEIPT OR ESC/POS MODE ....................11-2 11.2.3 TPCL MODE ..........................11-2 11.2.4 TPCL1 MODE ..........................11-2 11.3 POWER SAVE MODE ........................... 11-2 11.4 AUTOMATIC LABEL PRINT POSITIONING ..................
Page 20
Page 12.5 OCR-A ..............................12-17 12.6 OCR-B ..............................12-21 12.7 STANDARD CHARACTER (in Japan)/KANJI (16 x 16) (in Japan)/KANJI (24 x 24)(in Japan) .... 12-25 12.8 STANDARD CHARACTER (outside Japan) ..................12-27 12.9 CHINESE CHARACTER (24 x 24) (outside Japan) ................12-29 12-10 KOREAN CHARACTER (24 x 24) (outside Japan) ................
Page 21
Page 14. CHINESE CODE TABLE ..........................14-1 14.1 GENERAL DESCRIPTION ........................14-1 14.2 CHINESE CODE ........................... 14-1 (two-byte code) 14.3 GB18030 ........................14-2 (four-byte code) 14.4 GB18030 ........................ 14-18 15. KOREAN CODE TABLE ..........................15-1 15.1 GENERAL DESCRIPTION ........................15-1 15.2 KOREAN CODE ............................
B-EP Series 1. SCOPE/GENERAL DESCRIPTION 1.1 SCOPE This specification applies to the software that is used with the “B-EP series” portable printer. 1.2 GENERAL DESCRIPTION The external equipment interface connects a printer to the host computer through the IrDA, RS-232C, ○...
CHAPTER 2 OUTLINE OF SPECIFICATIONS B-EP Series 2. OUTLINE OF SPECIFICATIONS 2.1 GENERAL DESCRIPTION This chapter describes the outline of specifications – modes, which the printer has. For more details, refer to the appropriate chapter. [TPCL (TEC Printer Command Language) mode] The printer draws data according to the format information and print data sent from the host, and issues labels according to the Issue Command.
CHAPTER 2 OUTLINE OF SPECIFICATIONS B-EP Series 2.8 FONT TYPE 2.8.1 BIT MAP FONT Standard character/Characters under bars 12 × 24 dots (alphanumeric, Kana, symbol) Bold character 48 × 96 dots (numeric, symbol, space) Price Font 1 16 × 40 dots...
CHAPTER 2 OUTLINE OF SPECIFICATIONS B-EP Series 2.8.2 OUTLINE FONT • TEC Font 1 (Not proportional) • TEC Font 1 (Proportional) • Price Font 1, 2, 3 (Outline) * Not only normal but also italic fonts are supported. 2.9 TYPE OF BARCODE/TWO-DIMENSIONAL CODE 2.9.1...
CHAPTER 2 OUTLINE OF SPECIFICATIONS B-EP Series 2.22 CUT Manual cut using the tear bar 2.23 BROKEN HEAD DOTS CHECK FUNCTION When the printer is turned ON, or the cover is closed, the program will check for broken head dots according to the setting.
CHAPTER 2 OUTLINE OF SPECIFICATIONS B-EP Series 2.28 STRIP ISSUE When the LABEL mode (mode = 0), TPCL mode (mode =A) or TPCL1 mode (mode = B) is selected, the specified number of labels are printed. Note that a next print job is not performed until the...
CHAPTER 3 INTERFACE B-EP Series 3. INTERFACE 3.1 GENERAL DESCRIPTION This chapter describes details regarding the interfaces between the host and the printer. The printer configurations are as follows: • IrDA + USB + RS-232C model • IrDA + USB + Bluetooth model •...
CHAPTER 3 INTERFACE B-EP Series 3.2 IrDA INTERFACE (TEC Protocol) In IrDA standard, only IrDA-SIR of the physical layer should be used. For the data link layer, original simplified protocol should be provided. 3.2.1 SPECIFICATIONS FOR PHYSICAL LAYER AND TRANSMISSION CONTROL METHOD...
CHAPTER 3 INTERFACE B-EP Series 3.2.2 INPUT/OUTPUT SIGNAL • RD (Host → Printer) A data signal which the printer receives from the host. Logic 1 is Low level, while logic 0 is High level. It is in a Low state when no transmission is in progress.
Page 35
CHAPTER 3 INTERFACE B-EP Series NOTE: The data error is checked by CRC. However, noise included in sent/received data may cause misprinting. (Though CRC check is carried out in 16 bits, there is a possibility that the data including noise matches 16 bits of CRC check.)
Page 36
CHAPTER 3 INTERFACE B-EP Series • Status in the compatible mode for the B-SP series 00H: Normal state (idling) 01H: Cover open state 02H: Command syntax error (including Ir packet error) 03H: Paper jam 04H: Label end 05H: Cover open error...
Page 37
CHAPTER 3 INTERFACE B-EP Series [TPCL mode] Data to be sent Status Remaining No. of labels Printer ID Range of CRC calculation • Printer ID ..2-byte hex data (in order from High to Low) • Status ....Detailed status is indicated in 2-byte data.
Page 38
CHAPTER 3 INTERFACE B-EP Series • Detailed status in the compatible mode for the B-SP series “00”: Normal state “01”: Cover open state “02”: Operating (including wait for strip, pause state, wait for battery recovery, wait for head temperature reduction, wait for motor temperature reduction, and writable character/PC command save mode) “06”: Command syntax error (including Ir packet error)
Page 39
CHAPTER 3 INTERFACE B-EP Series Command packet in the LABEL mode (Host → Printer) Length is designated in 1 byte: Printer ID Length Command Range of the length Length is designated in 2 bytes: Printer ID Length Command xxH xxH...
Page 40
CHAPTER 3 INTERFACE B-EP Series * Multiple packet format for including the Data Print Command in several packets (Host → Printer) Length is designated in 1 byte: Printer ID Length Mode Flag Command & Data Range of the length Length is designated in 2 bytes:...
Page 41
CHAPTER 3 INTERFACE B-EP Series Command packet in the TPCL, RECEIPT or ESC/POS mode (Host → Printer) Length is designated in 1 byte: Printer ID Length Mode Flag Command & Data Range of the length Length is designated in 2 bytes:...
CHAPTER 3 INTERFACE B-EP Series 3.2.4 HOW TO SEND THE DATA PRINT COMMAND WHICH CANNOT BE INCLUDED IN ONE PACKET IN THE LABEL MODE When the Data Print Command in the LABEL mode cannot be included in one packet (256 bytes...
CHAPTER 3 INTERFACE B-EP Series 3.2.5 CONNECTION SEQUENCE EXAMPLE (LABEL MODE) < Normal transmission > • When one packet is sent. Host Printer A link request is transmitted A link request is detected. every 50 msec. if the printer A link is established.
Page 44
CHAPTER 3 INTERFACE B-EP Series • ID set command (normal transmission) Host Printer A link request is transmitted A link request is detected. every 50 msec. if the printer A link is established. sends no NAK. Within 40 msec. Within 1 sec.
Page 45
CHAPTER 3 INTERFACE B-EP Series • ID set command (erroneous transmission) Host Printer A link request is transmitted A link request is detected. every 50 msec. if the printer A link is established. sends no NAK. Within 40 msec. Within 1 sec.
Page 46
CHAPTER 3 INTERFACE B-EP Series • Initialize command (normal transmission) Host Printer A link request is transmitted A link request is detected. every 50 msec. if the printer A link is established. sends no NAK. Within 40 msec. Within 1 sec.
Page 47
CHAPTER 3 INTERFACE B-EP Series • Initialize command (erroneous transmission) Host Printer A link request is transmitted A link request is detected. every 50 msec. if the printer A link is established. sends no NAK. Within 40 msec. Within 1 sec.
Page 48
CHAPTER 3 INTERFACE B-EP Series • Print density fine adjust command (normal transmission) Host Printer A link request is transmitted A link request is detected. every 50 msec. if the printer A link is established. sends no NAK. Within 40 msec.
Page 49
CHAPTER 3 INTERFACE B-EP Series • Print density fine adjust command (erroneous transmission) Host Printer A link request is transmitted A link request is detected. every 50 msec. if the printer A link is established. sends no NAK. Within 40 msec.
Page 50
CHAPTER 3 INTERFACE B-EP Series • When several packets are sent (for storing a form or graphics, or printing data). Host Printer A link request is transmitted A link request is detected. every 50 msec. if the printer A link is established.
Page 51
CHAPTER 3 INTERFACE B-EP Series • When several packets are sent (for storing a form or graphics, or printing data). (For storing a form by sending packets, each of them is including a command.) Host Printer A link request is transmitted A link request is detected.
Page 53
CHAPTER 3 INTERFACE B-EP Series • When several packets are sent (for storing a form or graphics, or printing data). (For storing a form by sending packets, each of them is including several commands.) Host Printer A link request is transmitted A link request is detected.
Page 54
CHAPTER 3 INTERFACE B-EP Series • When several packets are sent (for storing a form or graphics, or printing data) (For storing graphics by sending packets, each of them is including several commands.) Host Printer A link request is transmitted A link request is detected.
Page 56
CHAPTER 3 INTERFACE B-EP Series • When the Status Request Command is sent. Host Printer A link request is transmitted A link request is detected. every 50 msec. if the printer A link is established sends no NAK. Within 40 msec.
Page 57
CHAPTER 3 INTERFACE B-EP Series Example of a command packet is shown below. Since the status request command packet mode cannot identify the issue mode which is currently set in the printer, either of command packets below can be sent.
Page 58
CHAPTER 3 INTERFACE B-EP Series • When the Mode Select Command is sent. Host Printer A link request is transmitted A link request is detected. every 50 msec. if the printer A link is established. sends no NAK. Within 40 msec.
Page 59
CHAPTER 3 INTERFACE B-EP Series When a command packet includes mode select command (mode = A) (The command packet in the LABEL mode, of which length is designated in 1 byte) [02H][00H][00H][06H][1BH]M;A[0AH][00H][D4H][16H] When a command packet includes mode select command (mode = 0) (The command packet in the RECEIPT mode, of which length is designated in 1 byte) [02H] [00H][00H] [08H] [59H] [00H] [1BH]M;0[0AH][00H] [6EH][C7H]...
Page 60
CHAPTER 3 INTERFACE B-EP Series <Error transmission> • When an error occurs during communication. Host Printer Time out PAD/Command packet NAK/ACK/Status packet When a command packet or an EOT cannot be received within 1 sec. after a NAK, an ACK, or a status packet is sent, the link is terminated.
Page 61
CHAPTER 3 INTERFACE B-EP Series • When the communication is made during an error state. Host Printer A link request is transmitted A link request is detected. every 50 msec. if the printer A link is established sends no NAK.
Page 62
CHAPTER 3 INTERFACE B-EP Series • When an error occurs while the command is being processed. Host Printer A link request is transmitted A link request is detected. every 50 msec. if the printer A link is established. sends no NAK.
CHAPTER 3 INTERFACE B-EP Series 3.2.6 CONNECTION SEQUENCE EXAMPLE (TPCL, RECEIPT OR ESC/POS MODE) The transmission control is basically the same as in the LABEL mode. Below is an example of the setting method for the flag of each command packet.
Page 64
CHAPTER 3 INTERFACE B-EP Series * Flag description: Block No. (0 to 7F) Final block flag 0: Final 1: Not final * After each packet is checked by CRC, the packets which pass the check are stored. When the final block is received normally, an issue is started.
Page 65
CHAPTER 3 INTERFACE B-EP Series [TPCL mode] Host Printer A link request is transmitted A link request is detected. every 50 msec. if the printer A link is established. sends no NAK. Within 40 msec. Command packet Normal reception (CRC OK) Length Command &...
Page 67
CHAPTER 3 INTERFACE B-EP Series [RECEIPT or ESC/POS mode] Host Printer A link request is transmitted A link request is detected. every 50 msec. if the printer A link is established. sends no NAK. Within 40 msec. Command packet Normal reception (CRC OK) Length Command &...
Page 68
CHAPTER 3 INTERFACE B-EP Series [0AH][0AH][1BH]O+010[1BH]L3360[0AH][0AH][0AH] [C3H][97H] 3-37...
CHAPTER 3 INTERFACE B-EP Series 3.2.7 PRINTER STATE TRANSITION (LABEL MODE) Printer state transition Event Issue Command End of issue Status Request Syntax error, Ensuring link reception Command EOT reception Time out CRC error Storage error, Store reception Error during...
CHAPTER 3 INTERFACE B-EP Series 3.2.8 PRINTER STATE TRANSITION (TPCL, RECEIPT OR ESC/POS MODE) Printer state transition Event Status Reception of Reception of Syntax error Framing error Request Ensuring link End of issue Time out CRC error the middle the final block...
CHAPTER 3 INTERFACE B-EP Series 3.2.9 HANDLING OF RECEIVED DATA WHEN THE PRINTER GOES INTO POWER SAVE MODE When data is divided into multiple blocks in IrDA: TEC Protocol and received, the printer discards previously received data and goes into a wait state to receive data from the first block if reception is stopped and a timeout occurs (power save mode).
CHAPTER 3 INTERFACE B-EP Series IrDA (IrCOMM) INTERFACE The protocol for IrComm specifications is provided. Application layer IrComm Tiny TP IrLMP IrLAP IrDA-SIR IrDA V1.2 (Low Power) standard parts are required. Item Specifications Communication mode Physical layer conforming to IrDA-SIR V1.2 (Low...
CHAPTER 3 INTERFACE B-EP Series 3.4 IrDA (IrOBEX) INTERFACE The protocol for IrOBEX specifications is provided. Application layer IrOBEX Tiny TP (PTTP1) IrLMP (LMP3) IrLAP IrDA-SIR IrDA V1.2 (Low Power) standard parts are required. Item Specifications Communication mode Physical layer conforming to IrDA-SIR V1.2 (Low...
CHAPTER 3 INTERFACE B-EP Series 3.5 RS-232C INTERFACE Item Specifications Normal mode Communication mode Start-stop synchronization mode Communication direction Transmission/reception (Full duplex) Transmission rate 9600, 19200, 38400, 57600, 115200 bps Start bit 1 bit Stop bit 1 bit Data length...
CHAPTER 3 INTERFACE B-EP Series 3.5.2 NOTES WHEN SENDING A COMMAND • In the LABEL mode, when any of the commands below are sent, the host should send the next command after receiving the process end status. If the host sends the next command before receiving the process end status, the printer may discard it without receiving.
Page 76
CHAPTER 3 INTERFACE B-EP Series • Contents of the status [LABEL, RECEIPT or ESC/POS mode] Data to be sent (Fixed at 5 bytes) Printer ID Printer status Battery status • Printer ID ..2-byte hex data (in order from High to Low) •...
Page 77
CHAPTER 3 INTERFACE B-EP Series • Status in the compatible mode for the B-SP series 00H: Normal state (idling) 01H: Cover open state 02H: Command syntax error (including Ir packet error) 03H: Paper jam 04H: Label end 05H: Cover open error...
Page 78
CHAPTER 3 INTERFACE B-EP Series • Battery status .. The battery charge status is indicated in 5 levels. (B-EP2DL) 01H: 7.2 V or less (Print failure) 02H: 7.3 V to 7.4 V (remaining No. of printable labels: Approx. 1 to 30) 03H: 7.5 V to 7.7 V (remaining No.
Page 79
CHAPTER 3 INTERFACE B-EP Series [TPCL mode] Data to be sent SOH STX Status Remaining No. of labels ETX EOT 01H 02H 3xH 3xH 3xH 03H 04H 0DH 0AH • Detailed status is indicated in 2-byte data. “00”: Normal state “01”: Cover open state...
Page 80
CHAPTER 3 INTERFACE B-EP Series • Detailed status in the compatible mode for the B-SP series “00”: Normal state “01”: Cover open state “02”: Operating (Including wait for strip, pause state, wait for battery recovery, wait for head temperature reduction, wait for motor temperature reduction, and writable character/PC command save mode) “06”: Command syntax error (including Ir packet error)
Page 81
CHAPTER 3 INTERFACE B-EP Series (1) Connector pin diagram and signal description Pin No. Signal name Function Signal direction Ground line for all data and control signals. – (without the noise filter) ← Host Line for data which the host sends to the printer.
CHAPTER 3 INTERFACE B-EP Series (3) Interface circuit • Input circuit TTL/CMOS LOGIC LEVEL RS-232C LEVEL • Output circuit TTL/CMOS LOGIC LEVEL RS-232C LEVEL Signal levels Input voltage H ..+2.4 V to +25 V L ..-25 V to -0.6 V Output voltage H ..
CHAPTER 3 INTERFACE B-EP Series 3.6 USB INTERFACE (1) Supported standard : Complying with USB Standard Rev. 2.0 (2) Supported transfer type : Control transfer and bulk transfer (3) Transfer rate : Full-speed (12 Mbps) (4) Transfer control method : A status with the receive buffer remaining capacity data shown below is returned against the lead request just after [ESC] WB [LF] [NUL].
CHAPTER 3 INTERFACE B-EP Series 3.6.1 HANDLING OF RECEIVED DATA WHEN THE PRINTER GOES INTO POWER SAVE MODE Data is left in the received buffer until reception is stopped and a timeout occurs (power save mode) because the received buffer has not been initialized.
CHAPTER 3 INTERFACE B-EP Series 3.7 BLUETOOTH INTERFACE 3.7.1 OUTLINED SPECIFICATIONS Item B-EP-GH30/TH30 B-EP-GH32 Communication method Bluetooth V1.2 (with logo Bluetooth V2.1 + EDR (with certification) logo certification) Supported profile Serial port profile Communication class Class 2 Communication distance 3 m/360°...
CHAPTER 3 INTERFACE B-EP Series 3.7.2 BLUETOOTH DEVICE ADDRESS (BD ADDRESS) As long as the Bluetooth interface has been installed on the printer, when the printer is turned ON, it prints the Bluetooth device address. [Character] The BD address is printed on the self-test result in the SYSTEM mode.
CHAPTER 3 INTERFACE B-EP Series 3.7.3 STANDARD COMMUNICATION SEQUENCE OF BLUETOOTH INTERFACE When Bluetooth interface is used, and if a connection between the host and the printer is disconnected right after a data transmission, the transmitted data may not be properly sent to the printer.
Page 88
CHAPTER 3 INTERFACE B-EP Series Method (1): Disconnecting a Bluetooth connection between the host and the printer after the completion of a print job is confirmed. Basically, use the automatic status transmission function (this function is enabled as the factory default.) to confirm the statuses sent from the printer after printing or storing data.
Page 89
CHAPTER 3 INTERFACE B-EP Series LABEL mode (Issue) Host Printer Request for a Bluetooth connection Response to the request for a Bluetooth connection Status request command (Usually, a status request command is not necessary to be sent. However, send this...
Page 90
CHAPTER 3 INTERFACE B-EP Series RECEIPT mode (Storing graphics) Host Printer Request for a Bluetooth connection Response to the request for a Bluetooth connection Status request command (Usually, a status request command is not necessary to be sent. However, send this...
Page 91
CHAPTER 3 INTERFACE B-EP Series RECEIPT mode (Issue) Host Printer Request for a Bluetooth connection Response to the request for a Bluetooth connection Status request command (Usually, a status request command is not necessary to be sent. However, send this...
Page 92
CHAPTER 3 INTERFACE B-EP Series TPCL mode (Storing writable characters, PC save) Host Printer Request for a Bluetooth connection Response to the request for a Bluetooth connection Status request command (Usually, a status request command is not necessary to be sent.
Page 93
CHAPTER 3 INTERFACE B-EP Series TPCL mode (Issue) Host Printer Request for a Bluetooth connection Response to the request for a Bluetooth connection Status request command (Usually, a status request command is not necessary to be sent. However, send this...
Page 94
CHAPTER 3 INTERFACE B-EP Series Method (2): Waiting for the minimum of 100 msec. after a data transmission to the printer before disconnecting the Bluetooth connection. In the case that a method to confirm an end of job status, as described in Method (1), is not applicable, a minimum of 100 msec.
Page 95
CHAPTER 3 INTERFACE B-EP Series LABEL mode (Issue) Host Printer Request for a Bluetooth connection Response to the request for a Bluetooth connection Status request command (Usually, a status request command is not necessary to be sent. However, send this...
Page 96
CHAPTER 3 INTERFACE B-EP Series RECEIPT mode (Storing graphics) Host Printer Request for a Bluetooth connection Response to the request for a Bluetooth connection Status request command (Usually, a status request command is not necessary to be sent. However, send this...
Page 97
CHAPTER 3 INTERFACE B-EP Series RECEIPT mode (Issue) Host Printer Request for a Bluetooth connection Response to the request for a Bluetooth connection Status request command (Usually, a status request command is not necessary to be sent. However, send this...
Page 98
CHAPTER 3 INTERFACE B-EP Series TPCL mode (Storing writable characters, PC save) Host Printer Request for a Bluetooth connection Response to the request for a Bluetooth connection Status request command (Usually, a status request command is not necessary to be sent.
Page 99
CHAPTER 3 INTERFACE B-EP Series TPCL mode (Issue) Host Printer Request for a Bluetooth connection Response to the request for a Bluetooth connection Status request command (Usually, a status request command is not necessary to be sent. However, send this...
Page 100
CHAPTER 3 INTERFACE B-EP Series Method (3): Disconnecting the Bluetooth connection by key operations when exiting a series of print jobs. This method improves the printing throughput of the application, as no procedures are required for establishing Bluetooth connection each time a printing occurs, which takes about 1 to 3 seconds (depending on the radio state.)
Page 101
CHAPTER 3 INTERFACE B-EP Series LABEL mode (Issue) Host Printer Request for a Bluetooth connection Response to the request for a Bluetooth connection Status request command (Usually, a status request command is not necessary to be sent. However, send this...
Page 102
CHAPTER 3 INTERFACE B-EP Series RECEIPT mode (Storing graphics) Host Printer Request for a Bluetooth connection Response to the request for a Bluetooth connection Status request command (Usually, a status request command is not necessary to be sent. However, send this...
Page 103
CHAPTER 3 INTERFACE B-EP Series RECEIPT mode (Issue) Host Printer Request for a Bluetooth connection Response to the request for a Bluetooth connection Status request command (Usually, a status request command is not necessary to be sent. However, send this...
Page 104
CHAPTER 3 INTERFACE B-EP Series Note that the contents of the status vary, which deserves special attention. TPCL mode (Storing writable characters, PC save) Host Printer Request for a Bluetooth connection Response to the request for a Bluetooth connection Status request command...
CHAPTER 3 INTERFACE B-EP Series TPCL mode (Issue) Host Printer Request for a Bluetooth connection Response to the request for a Bluetooth connection Status request command (Usually, a status request command is not necessary to be sent. However, send this...
CHAPTER 3 INTERFACE B-EP Series 3.8.2 MAC ADDRESS When the wireless LAN module has been installed on the printer, the printer prints the MAC address and wireless LAN module’s parameter settings. [MAC address] The MAC address is printed on the self-test result in the SYSTEM mode.
Page 108
CHAPTER 3 INTERFACE B-EP Series Channel 2 Roaming is enabled Channel 1 when the same ESSID is assigned. If the printer failed in connection to an access point due to weak radio signals in spite of an active scanning with ESSID “ABC”, the printer retries every 40 seconds.
Page 109
CHAPTER 3 INTERFACE B-EP Series 3.8.3.2 ADHOC MODE (IBSS) The printer performs active scanning using an ESSID, which a user set in advance, for all the channels that it supports at a power ON time. When receiving a valid active scanning response from the IBSS creator, the printer connects to the network as a joiner.
CHAPTER 3 INTERFACE B-EP Series Re-connection is enabled when the same ESSID is assigned Channel 1 Channel 2 Move (Re-connection?) The printer tries an active scanning as a joiner with ESSID: ABC. When the printer receives a valid response from the If the printer cannot receive a valid response from creator, it connects to the IBSS created by the creator.
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series 4. TRANSMISSION SEQUENCE 4.1 GENERAL DESCRIPTION This section describes details regarding the transmission sequence between the host and the printer.
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series 4.2 TPCL MODE 4.2.1 INITIAL SETTING Writable characters, logo, and PC interface commands must be stored, before the label issue operation. (1) Storing writable characters and logos Power ON <New> (Add/change) [ESC] J1: Formats flash memory.
Page 113
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (2) Storing PC interface commands Power ON or After linking to each interface [ESC] M: Changes the print mode. Mode Select Command <New> (Add/change) [ESC] J1: Formats flash memory. Format Command [ESC] XO: Declares the start of saving PC interface Save Start Command commands.
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series 4.2.2 LABEL ISSUE OPERATION An example of the label issue operation is described below. (1) Where the Saved Data Read Command is not used: Power ON or After linking to each interface [ESC] M: Changes the print mode.
Page 115
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (2) Where the Saved Data Read Command is used: Power ON or After linking to each interface Place paper [ESC] XQ: Reads the label format stored in flash Saved Data Read Command memory. Feed Command...
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series 4.2.3 HANDLING OF RECEIVED DATA BY COMMAND 4.2.3.1 BIT MAP FONT FORMAT COMMAND If communication is interrupted while the Bit Map Font Format Command is running and no subsequent data is transmitted in the next transmission, a command error occurs.
Page 117
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (2) When interrupting communication while the 2nd label command is running, and then transmitting subsequent data, 1st transmission: {AY;+00,1,3|} {D0130,0480,0100|} {C|} {LC;0010,0010,0470,0060,1,2|} 1st label data {PC00;0030,0050,2,1,a,00,B,+0000000000|} {RC00;2inch 0001|} {XS;I,0001,0000C2011|} {AY;+00,1,3|} {D0130,0480,0100|} {C|} {LC;0010,0010,0470,0060,1,2|} {PC00;0030,0050,...
Page 118
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (3) When interrupting communication with the 2nd label command separator, and then transmitting subsequent data, 1st transmission: {AY;+00,1,3|} {D0130,0480,0100|} {C|} {LC;0010,0010,0470,0060,1,2|} 1st label data {PC00;0030,0050,2,1,a,00,B,+0000000000|} {RC00;2inch 0001|} {XS;I,0001,0000C2011|} {AY;+00,1,3|} {D0130,0480,0100|} {C|} {LC;0010,0010,0470,0060,1,2|} {PC00;0030,0050,2,1,a,00,B,+0000000000|} 2nd label data Interrupts communication with the ...
Page 119
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (4) When interrupting communication while the 2nd label command is running, and then retransmitting the 2nd label data from the beginning, 1st transmission: {AY;+00,1,3|} {D0130,0480,0100|} {C|} {LC;0010,0010,0470,0060,1,2|} 1st label data {PC00;0030,0050,2,1,a,00,B,+0000000000|} {RC00;2inch 0001|} {XS;I,0001,0000C2011|} {AY;+00,1,3|}...
Page 120
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (5) When interrupting communication with the 2nd label command separator, and then retransmitting the 2nd label data from the beginning, 1st transmission: {AY;+00,1,3|} {D0130,0480,0100|} {C|} {LC;0010,0010,0470,0060,1,2|} 1st label data {PC00;0030,0050,2,1,a,00,B,+0000000000|} {RC00;2inch 0001|} {XS;I,0001,0000C2011|} {AY;+00,1,3|}...
Page 121
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series 4.2.3.2 BARCODE/2-D CODE FORMAT COMMAND As in the case of the Bit Map Font Format Command, if communication is interrupted while the Barcode/2-D Code Format Command is running and no subsequent data is transmitted in the next transmission, a command error occurs.
Page 122
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (2) When interrupting communication while the 2nd label command is running, and then transmitting subsequent data, 1st transmission: {AY;+00,1,3|} {D0230,0480,0200|} {C|} {LC;0010,0010,0470,0060,1,2|} 1st label data {XB00;0200,0050,0,3,02,0,0050,+0000000000,020,1,00|} {RB00;0000001|} {XS;I,0001,0000C2011|} {AY;+00,1,3|} {D0230,0480,0200|} {C|} {LC;0010,0010,0470,0060,1,2|} 2nd label data {XB00;0200,0050,0,3,02,0,0050,+0...
Page 123
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (3) When interrupting communication with the 2nd label command separator, and then transmitting subsequent data, 1st transmission: {AY;+00,1,3|} {D0230,0480,0200|} {C|} {LC;0010,0010,0470,0060,1,2|} 1st label data {XB00;0200,0050,0,3,02,0,0050,+0000000000,020,1,00|} {RB00;0000001|} {XS;I,0001,0000C2011|} {AY;+00,1,3|} {D0230,0480,0200|} {C|} {LC;0010,0010,0470,0060,1,2|} {XB00;0200,0050,0,3,02,0,0050,+0000000000,020,1,00|} 2nd label data Interrupts communication with the ...
Page 124
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (4) When interrupting communication while the 2nd label command is running, and then retransmitting the 2nd label data from the beginning, 1st transmission: {AY;+00,1,3|} {D0130,0480,0100|} {C|} {LC;0010,0010,0470,0060,1,2|} 1st label data {PC00;0030,0050,2,1,a,00,B,+0000000000|} {RC00;2inch 0001|} {XS;I,0001,0000C2011|} {AY;+00,1,3|}...
Page 125
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (5) When interrupting communication with the 2nd label command separator, and then retransmitting the 2nd label data from the beginning, 1st transmission: {AY;+00,1,3|} {D0130,0480,0100|} {C|} {LC;0010,0010,0470,0060,1,2|} 1st label data {PC00;0030,0050,2,1,a,00,B,+0000000000|} {RC00;2inch 0001|} {XS;I,0001,0000C2011|} {AY;+00,1,3|}...
Page 126
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series 4.2.3.3 GRAPHIC COMMAND When transmission is cancelled while graphic data is transmitted from the application, the data cannot be properly printed because data subsequently transmitted is recognized as a graphic command unless the graphic data has been transmitted before the transmission is cancelled.
Page 127
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (2) When interrupting communication while the 2nd label command is running, and then transmitting subsequent data, 1st transmission: {D0821,0458,0801|} {C|} {SG;0161,0339,0096,0300,2,BM[D6][10][00][00][00] 1st label data [FF][FF][FF][FF][FF][FF]|} {XS;I,0001,0000C2001|} {D0821,0458,0801|} {C|} {SG;0161,0339,0096,0300,2,BM[D6][10][00] 2nd label data Interrupts communication while the command is running.
Page 128
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (3) When interrupting communication with the 2nd label command separator, and then transmitting subsequent data, 1st transmission: {D0821,0458,0801|} {C|} {SG;0161,0339,0096,0300,2,BM[D6][10][00][00][00] 1st label data [FF][FF][FF][FF][FF][FF]|} {XS;I,0001,0000C2001|} {D0821,0458,0801|} {C|} {SG;0161,0339,0096,0300,2,BM[D6][10][00][00][00] [FF][FF][FF][FF][FF][FF]|} 2nd label data Interrupts communication with the ...
Page 129
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (4) When interrupting communication while the 2nd label command is running, and then retransmitting the 2nd label data from the beginning, 1st transmission: {D0821,0458,0801|} {C|} {SG;0161,0339,0096,0300,2,BM[D6][10][00][00][00] 1st label data [FF][FF][FF][FF][FF][FF]|} {XS;I,0001,0000C2001|} {D0821,0458,0801|} {C|} 2nd label data (underway {SG;0161,0339,0096,0300,2,BM[D6][10][00]...
Page 130
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (5) When interrupting communication with the 2nd label command separator, and then retransmitting the 2nd label data from the beginning, 1st transmission: {D0821,0458,0801|} {C|} {SG;0161,0339,0096,0300,2,BM[D6][10][00][00][00] 1st label data [FF][FF][FF][FF][FF][FF]|} {XS;I,0001,0000C2001|} {D0821,0458,0801|} {C|} 2nd label data (underway) {SG;0161,0339,0096,0300,2,BM[D6][10][00][00][00]...
Page 131
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series 4.2.3.4 PC SAVE COMMAND When transmission is cancelled while PC saved data is transmitted from the application, the data may not be properly stored because data subsequently transmitted is saved on the PC unless the PC saved data has been transmitted before the transmission is cancelled.
Page 132
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (2) When interrupting communication while the PC Save Command is running, and then transmitting subsequent data, 1st transmission: {XO;25,S0,1|} {D1430,0480,1400|} {C|} {LC;0000,0000,0050,0000,0,1|} {LC;0000,0001,0050,0001,0,1|} {LC;0000,0002,0050,0002,0,1|} {LC;0000,0003,0050,0003,0,1|} {LC;0000,000 1st label data Interrupts communication while the command is running.
Page 133
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (3) When interrupting communication with the PC Save Command separator, and then transmitting subsequent data, 1st transmission: {XO;25,S0,1|} {D1430,0480,1400|} {C|} {LC;0000,0000,0050,0000,0,1|} {LC;0000,0001,0050,0001,0,1|} {LC;0000,0002,0050,0002,0,1|} {LC;0000,0003,0050,0003,0,1|} {LC;0000,0004,0050,0004,0,1|} 1st label data Interrupts communication with the ...
Page 134
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (4) When interrupting communication while the PC Save Command is running, and then retransmitting data from the beginning, 1st transmission: {XO;25,S0,1|} {D1430,0480,1400|} {C|} {LC;0000,0000,0050,0000,0,1|} {LC;0000,0001,0050,0001,0,1|} 1st label data {LC;0000,0002,0050,0002,0,1|} {LC;0000,0003,0050,0003,0,1|} {LC;0000,000 Interrupts communication while the command is running.
Page 135
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (5) When interrupting communication with the PC Save Command separator, and then retransmitting data from the beginning, 1st transmission: {XO;25,S0,1|} {D1430,0480,1400|} {C|} {LC;0000,0000,0050,0000,0,1|} {LC;0000,0001,0050,0001,0,1|} 1st label data {LC;0000,0002,0050,0002,0,1|} {LC;0000,0003,0050,0003,0,1|} {LC;0000,0004,0050,0004,0,1|} Interrupts communication with the ...
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series 4.3 LABEL MODE 4.3.1 INITIAL SETTING Start [ESC] M: Changes the mode to the LABEL mode as Mode Select Command required. < Completion of mode selection > Check to see if the mode has been changed by the status request.
Page 137
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series NOTES: (1) Previously assign the form to be stored to each form No., and store it. Store writable character data and graphic data as required. (2) When a command such as the above is sent, be sure to confirm that the process is completed, before the next command is sent.
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series 4.3.2 LABEL ISSUE OPERATION Host Printer Start Start Data is received. Data Print Command < Data is checked. > Batch < Batch/Strip issue > Strip Printing Printing The status of The status of < Normal end >...
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series 4.3.3 HANDLING OF RECEIVED DATA BY COMMAND 4.3.3.1 COMMAND PROCESSING If communication is interrupted while a command is running and no subsequent data is transmitted in the next transmission, a command error occurs. [Command transmission and storage results (Examples)]...
Page 140
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (2) When interrupting communication with the 2nd label command separator, and then transmitting subsequent data, 1st transmission: [1B]XO;01,1[0A][00] [1B]AY;+00,1[0A][00] [1B]AX;+000[0A][00] [1B]D0450,0480,0420[0A][00] [1B]LC;0050,0030,0250,0030,1,1[0A][00] [1B]LC;0050,0060,0250,0060,1,2[0A][00] [1B]LC;0050,0090,0250,0090,1,3[0A][00] [1B]LC;0050,0120,0250,0120,1,4[0A][00] 1st label data [1B]LC;0050,0150,0250,0150,1,5[0A][00] [1B]XP[0A][00] [1B]X[01][21][01][00] [1B]XO;01,1[0A][00] [1B]AY;+00,1[0A][00] [1B]AX;+000[0A][00]...
Page 141
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (3) When interrupting communication while the 3rd label command is running, and then retransmitting data from the beginning, 1st transmission: [1B]XO;01,1[0A][00] [1B]AY;+00,1[0A][00] [1B]AX;+000[0A][00] [1B]D0450,0480,0420[0A][00] [1B]LC;0050,0030,0250,0030,1,1[0A][00] [1B]LC;0050,0060,0250,0060,1,2[0A][00] 1st label data [1B]LC;0050,0090,0250,0090,1,3[0A][00] [1B]LC;0050,0120,0250,0120,1,4[0A][00] [1B]LC;0050,0150,0250,0150,1,5[0A][00] [1B]XP[0A][00] [1B]X[01][21][01][00] [1B]XO;01,1[0A][00]...
Page 142
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (4) When interrupting communication with the 2nd label command separator, and then retransmitting data from the beginning, 1st transmission: [1B]XO;01,1[0A][00] [1B]AY;+00,1[0A][00] [1B]AX;+000[0A][00] [1B]D0450,0480,0420[0A][00] [1B]LC;0050,0030,0250,0030,1,1[0A][00] [1B]LC;0050,0060,0250,0060,1,2[0A][00] 1st label data [1B]LC;0050,0090,0250,0090,1,3[0A][00] [1B]LC;0050,0120,0250,0120,1,4[0A][00] [1B]LC;0050,0150,0250,0150,1,5[0A][00] [1B]XP[0A][00] [1B]X[01][21][01][00] [1B]XO;01,1[0A][00] [1B]AY;+00,1[0A][00]...
Page 143
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series 4.3.3.2 FORM STORE COMMAND When transmission is cancelled while form storage data is transmitted from the application, the data may not be properly stored because data subsequently transmitted is stored in the form unless the Form Store Terminate Command is issued before the transmission is cancelled.
Page 144
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (2) When interrupting communication while the Form Store Command is running, and then transmitting subsequent data, 1st transmission: [1B]XO;01,1[0A][00] [1B]AY;+00,1[0A][00] [1B]AX;+000[0A][00] [1B]D0450,0480,0420[0A][00] [1B]LC;0050,0030,0250,0030,1,1[0A][00] [1B]LC;0050,0060,0250,0060,1,2[0A][00] [1B]LC;0050,0090,0250,0090,1,3[0A][00] [1B]LC;0050, 1st label data Interrupts communication while the command is running.
Page 145
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (3) When interrupting communication with the Form Store Command separator, and then transmitting subsequent data, 1st transmission: [1B]XO;01,1[0A][00] [1B]AY;+00,1[0A][00] [1B]AX;+000[0A][00] [1B]D0450,0480,0420[0A][00] [1B]LC;0050,0030,0250,0030,1,1[0A][00] [1B]LC;0050,0060,0250,0060,1,2[0A][00] [1B]LC;0050,0090,0250,0090,1,3[0A][00] [1B]LC;0050,,0120,1,4[0A][00] 1st label data Interrupts communication with the command separator.
Page 146
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (4) When interrupting communication while the Form Store Command is running, and then retransmitting data from the beginning, 1st transmission: [1B]XO;01,1[0A][00] [1B]AY;+00,1[0A][00] [1B]AX;+000[0A][00] [1B]D0450,0480,0420[0A][00] [1B]LC;0050,0030,0250,0030,1,1[0A][00] 1st label data (underway) [1B]LC;0050,0060,0250,0060,1,2[0A][00] [1B]LC;0050,0090,0250,0090,1,3[0A][00] [1B]LC;0050, Interrupts communication while the command is running. ...
Page 147
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (5) When interrupting communication with the Form Store Command separator, and retransmitting data from the beginning, 1st transmission: [1B]XO;01,1[0A][00] [1B]AY;+00,1[0A][00] [1B]AX;+000[0A][00] [1B]D0450,0480,0420[0A][00] [1B]LC;0050,0030,0250,0030,1,1[0A][00] 1st label data (underway) [1B]LC;0050,0060,0250,0060,1,2[0A][00] [1B]LC;0050,0090,0250,0090,1,3[0A][00] [1B]LC;0050,0120,0250,0120,1,4[0A][00] Interrupts communication with the command separator.
Page 148
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series 4.3.3.3 GRAPHIC DATA STORE COMMAND When transmission is cancelled while graphic data is transmitted from the application, the data cannot be properly stored because data subsequently transmitted is recognized as a graphic command unless the graphic data has been transmitted before the transmission is cancelled.
Page 149
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (2) When interrupting communication while the Graphic Data Store Command is running, and then transmitting subsequent data, 1st transmission: [1B][53][47][3B][31][2C][30][30][34][30][2C][30][30][34][30] [2C][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF], Interrupts communication while the ...
Page 150
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (3) When interrupting communication with the Graphic Data Store Command separator, and then transmitting subsequent data, 1st transmission: [1B][53][47][3B][31][2C][30][30][34][30][2C][30][30][34][30] [2C][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][0A][00][0D][0A] ...
Page 151
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (4) When interrupting communication while the Graphic Data Store Command is running, and then retransmitting data from the beginning, 1st transmission: [1B][53][47][3B][31][2C][30][30][34][30][2C][30][30][34][30] [2C][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] 1st label data [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] (underway) [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] ...
Page 152
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (5) When interrupting communication with the Graphic Store Command separator, and retransmitting data from the beginning, 1st transmission: [1B][53][47][3B][31][2C][30][30][34][30][2C][30][30][34][30] [2C][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] 1st label data [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] (underway) [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF] [FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF][FF]...
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series 4.4 RECEIPT MODE 4.4.1 INITIAL SETTING Start [ESC] M: Changes the mode to the LABEL mode. Mode Select Command <Completion of mode selection> [ESC] XD: Stores the writable character data. Writable Character Data Store Command <...
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series 4.4.2 RECEIPT ISSUE OPERATION 4.4.2.1 STANDARD MODE Host Printer Start Start Command & Data Data is received. for a receipt issue Printing Status Request Command Data is received. < Normal end > A status is sent.
Page 155
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series 4.4.2.2 PAGE MODE Host Printer Start Start Page Mode Switch The page mode is started. Command Data is received. Command & Data for a receipt issue Printing Page Mode Print Command Standard mode Status Request Command Data is received.
Page 156
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series NOTES: (1) In the RECEIPT mode, the status of issue end is not automatically sent. Before the next receipt is issued, whether or not the sent data is issued normally should be confirmed by sending the Status Request Command. When a receipt is not issued due to an error, the data should be sent again.
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series 4.4.3 HANDLING OF RECEIVED DATA BY COMMAND 4.4.3.1 PAGE MODE PROCESSING If communication is interrupted while data is transmitted from the application and no subsequent data is transmitted in the next transmission, a command error occurs. When transmission is...
Page 158
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (2) When interrupting communication while the Page Mode Command is running, and then transmitting subsequent data, 1st transmission: [GS]C DATA001[LF] DATA002[LF] DATA003[LF] DATA004[LF] DATA005[LF] 1st label data Interrupts communication while the command is running.
Page 159
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (3) When interrupting communication while the Page Mode Command is running, and then retransmitting data from the beginning, 1st transmission: [GS]C DATA001[LF] DATA002[LF] DATA003[LF] 1st label data (underway) DATA004[LF] DATA005[LF] Interrupts communication while the command is running. ...
Page 160
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (4) When interrupting communication while the Page Mode Command is running, issuing the Cancel Command during retransmission and then retransmitting data from the beginning, 1st transmission: [GS]C DATA001[LF] DATA002[LF] DATA003[LF] 1st label data (underway)
Page 161
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (5) When interrupting communication while the Page Mode Command is running, issuing the Page Mode Print Command during retransmission and then retransmitting data from the beginning, 1st transmission: [GS]C DATA001[LF] DATA002[LF] DATA003[LF] 1st label data (underway)
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series 4.5 ESC/POS MODE 4.5.1 INITIAL SETTING Start Downloaded Character (Writable [ESC] &: Defines the downloaded character data. Character) Data Define Command < Completion of setting > [ESC] 2: Defines the writable Chinese character Writable Chinese Character Pattern Data pattern data.
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series 4.5.2 RECEIPT ISSUE OPERATION 4.5.2.1 STANDARD MODE Host Printer Start Start Command & Data Data is received. for a receipt issue Printing Status Request Command Data is received. < Normal end > A status is sent.
Page 164
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series 4.5.2.2 PAGE MODE Host Printer Start Start Page Mode Switch The page mode is started. Command Data is received. Command & Data for a receipt issue Printing Page Mode Print Command Standard mode Status Request Command Data is received.
Page 165
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series NOTES: (1) In the ESC/POS mode, the status of issue end is not automatically sent. Before the next receipt is issued, whether or not the sent data is issued normally should be confirmed by sending the Status Request Command. When a receipt is not issued due to an error, the data should be sent again.
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series 4.5.3 HANDLING OF RECEIVED DATA BY COMMAND 4.5.3.1 PAGE MODE PROCESSING If communication is interrupted while data is transmitted from the application and no subsequent data is transmitted in the next transmission, a command error occurs. When transmission is...
Page 167
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (2) When interrupting communication while the Page Mode Command is running, and then transmitting subsequent data, 1st transmission: [ESC]L DATA001[LF] DATA002[LF] DATA003[LF] DATA004[LF] DATA005[LF] 1st label data Interrupts communication while the command is running.
Page 168
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (3) When interrupting communication while the Page Mode Command is running, and then retransmitting data from the beginning, 1st transmission: [ESC]L DATA001[LF] DATA002[LF] DATA003[LF] 1st label data DATA004[LF] DATA005[LF] Interrupts communication while the command is running. ...
Page 169
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (4) When interrupting communication while the Page Mode Command is running, issuing the Cancel Command during retransmission and then retransmitting data from the beginning, 1st transmission: [ESC]L DATA001[LF] DATA002[LF] DATA003[LF] 1st label data (underway)
Page 170
CHAPTER 4 TRANSMISSION SEQUENCE B-EP Series (5) When interrupting communication while the Page Mode Command is running, issuing the Page Mode Print Command during retransmission and then retransmitting data from the beginning, 1st transmission: [ESC]L DATA001[LF] DATA002[LF] DATA003[LF] 1st label data (underway)
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series 5. TPCL MODE (INTERFACE COMMANDS) 5.1 GENERAL DESCRIPTION This chapter describes details regarding the interface commands for the TPCL mode of the print mode. <<Up to V1.0C>> There are three issue types, “Batch issue,” “Strip issue” and “Linerless issue.” In batch issues, a back feed is performed before printing, regardless of the selected sensor type.
Page 172
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series [Reference] Flowchart for determining whether to perform a back feed and the stop position (Batch issue) Confirmation of printer conditions Sensor is not specified. <Condition 1> Sensor setting by command OFF: Performs a Sensor is back feed.
Page 173
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series When the back feed restriction setting is on and the label pitch or effective print length conforms to the condition not to perform a back feed, a label located between the head and cutter at the first printing subsequent to an issue (one or multiple labels) cannot be printed because no back feed is performed.
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series 5.2 OUTLINE OF COMMANDS 5.2.1 FORMAT OF INTERFACE COMMAND Command & Data LF NUL The length from [ESC] to [LF] [NUL] must be as specified by each command. There are the following two kinds of control codes:...
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series 5.3 COMMANDS RELATED TO SETTING 5.3.1 LABEL SIZE SET COMMAND [ESC] D Function Sets the size of a label or tag paper. Format [ESC] Daaaa, bbbb, cccc (, dddd) [LF] [NUL] Term...
Page 176
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series When the compatible mode for the B-SP series is off <Top first printing> Paper feed direction Paper feed direction Origin of Origin of Effective print width Effective print width coordinates coordinates (0, 0) (0, 0) 2.5 mm...
Page 177
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series When the compatible mode for the B-SP series is on * Top first printing only Paper feed direction Paper feed direction Origin of Origin of Effective print width Effective print width coordinates...
Page 178
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series Programmable value range by the software [mm] B-EP2DL B-EP4DL Model 203 dpi 203 dpi Mode Batch Strip Batch Strip Item Thermal head dot density 8 dots/mm 8 dots/mm Thermal head width 48.0 mm 104.0 mm...
Page 179
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series Notes When the label size or type of sensor is changed, the Label Size Set Command must first be transmitted. The label pitch length is backed up in memory (retained even if the power is turned off).
Page 180
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series Examples Label [ESC] D0518, 0760, 0468, 0820 [LF] [NUL] [ESC] T20C40 [LF] [NUL] Effective print area 51.8 mm 46.8 mm Label Backing paper 76.0 mm 82.0 mm [ESC ]D0772, 0996, 0722 [LF] [NUL]...
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series 5.3.2 PRINTER ID SET COMMAND [ESC] ID Function Sets the ID for the printer. Format [ESC] ID ; aa(,b) [LF] [NUL] Term Printer ID (2-byte hex data) 0000H to FFFFH Reserved area (Omissible) Fixed at 0.
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series 5.3.3 MODE SELECT COMMAND [ESC] M Function Changes the print mode. Format [ESC] M; a (,b) [LF] [NUL] Term Print mode designation Print mode (Bit 0 to Bit 6 * See Table 1.)
Page 183
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series Notes The print mode designation (the specified print mode and the automatic status response in IrDA: IrCOMM or USB) is backed up in memory (retained even if the power is turned off).
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series 5.4 COMMANDS RELATED TO FINE ADJUSTMENT 5.4.1 PRINT START POSITION FINE ADJUST COMMAND [ESC] AX Function Adjusts the feed value so that the label will be shifted forward or backward from the automatically positioned print start position.
Page 185
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series Reserved area (Omissible) hhh: Reserved area (Omissible) Explanation When the parameter “a” is set to any value other than “+” or “-,“ a command error occurs. If any value out of the above range is specified for the fine adjustment value for print position, a command error occurs.
Page 186
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series [Strip position fine adjustment] When the label-to-label gap is 3 mm, ± 0.0 mm ▼ + 3.0 mm ▼ - 2.0 mm ▼ * Refer to Notes (7). When the label-to-label gap is 7 mm, ±...
Page 187
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series Notes The fine adjustment values are backed up in memory (retained even if the power is turned off). The factory default value is 0.0 mm. The fine adjustment values (print position, strip position) changed by the Print Position Fine Adjust Command in the LABEL mode, are also effective in the TPCL mode.
Page 188
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series Examples Strip issue 1.0 mm 3.0 mm Fine adjust the strip A B C position by +2.0 mm. A B C Fine adjust the print position by +1.0 mm. 1.0 mm [ESC] AX; +010, +020, +00 [LF] [NUL]...
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series 5.4.2 PRINT DENSITY FINE ADJUST COMMAND [ESC] AY Function Adjusts the print density which was automatically set. Format [ESC] AY ; abb, c (, d) [LF] [NUL] Term Indicates whether to increase or decrease the density...
Page 190
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series Explanation The standard density is finely adjusted to increase or decrease. When any fine adjustment value for print density out of the range is set, a command error occurs. If the print mode is set to any value other than “1: Direct thermal,” it should be changed to “1."...
Page 191
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series Notes The set fine adjustment value for print density and the head output division designation are backed up in memory (retained even if the power is turned off). The fine adjustment values changed by the Print Density Fine Adjust Command in the TPCL mode, are also effective in the LABEL, RECEIPT or ESC/POS mode.
Page 192
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series 5.4.3 STRIP SENSOR ADJUST COMMAND [ESC] AH Function Sets the sensor threshold value to switch the mode between strip and batch. Format [ESC] AH; a [LF] [NUL] Term Setting 0: Operation in conformance with the strip sensor...
Page 193
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series 5.5 COMMANDS RELATED TO CLEAR 5.5.1 IMAGE BUFFER CLEAR COMMAND [ESC] C Function Clears the image buffer for drawing characters, lines, barcodes, and graphics. Format [ESC] C [LF] [NUL] Explanation After changing the label size using the Label Size Set Command ([ESC] D), the image buffer must be cleared using this command.
Page 194
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series 5.5.2 CLEAR AREA COMMAND [ESC] XR Function Clears the designated area or reverses the white/black dot pattern in the designated area in the drawing area. Format [ESC] XR; aaaa, bbbb, cccc, dddd, e [LF] [NUL]...
Page 195
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series Notes The result is the same even if the start and end point coordinates are reversed. The result is the same even if the start point is set to the upper right and the end point is set to the lower left, respectively.
Page 196
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series 5.6 COMMANDS RELATED TO DRAWING FORMAT 5.6.1 LINE FORMAT COMMAND [ESC] LC Function Sets the line format and draws the line. Format [ESC] LC; aaaa, bbbb, cccc, dddd, e, f (, ggg) [LF] [NUL]...
Page 197
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series Backing paper Backing paper Label Label Origin of coordinates (0, 0) Start point Effective Effective point print length print length Start point point Origin of Effective Effective coordinates print width print width...
Page 198
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series [Line] (1) Horizontal line (In the case of |Y | = 0) Line width (2) Vertical line (In the case of |X | = 0) Line width | ≤ |Y (3) Slant line A ( |X (4) Slant line B ( |X | >...
Page 199
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series (2) Radius of rounded corners ≠ 000 Line width Radius Line width 5-29...
Page 200
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series [Line with some dots skipped] (1) Horizontal line Line width + 1 dot Dots are skipped at the top and bottom areas only, which means that the thicker the line width is, the thicker the middle area of the line is.
Page 201
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series (2) Rounded corners of a rectangle ≠ 000 Line width + 1 dot Radius Line width + 1 dot Notes In line designation, a horizontal line, vertical line, or slant line A or B is drawn according to the start and end point coordinates.
Page 202
CHAPTER 5 TPCL MODE (INTERFACE COMMANDS) B-EP Series Example Origin (0, 0) Effective print area 5.0 mm 28.0 mm 0.4 mm 20.0 mm 0.4 mm 30.5 mm [ESC] C [LF] [NUL] [ESC] LC; 0200, 0050, 0305, 0050, 0, 4 [LF] [NUL] [ESC] LC;...
Page 203
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 5.6.2 BIT MAP FONT FORMAT COMMAND [ESC] PC Function Sets the format indicating where and how the bit map font is to be printed on a label. Format [ESC] PCaaa; bbbb, cccc, d, e, ff (, ghh), ii, j (, Jkkll) (, Mm) (, noooooooooo) (, Zpp) (, Pq) (= rrr ------ rrr) [LF] [NUL] [ESC] PCaaa;...
Page 205
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 00 to 99 (in units of dots) Rotational angles of a character and character string 0° (char.) 0° (char.-string) 90° (char.) 90° (char.-string) 180° (char.) 180° (char.-string) 270° (char.) 270° (char.-string) 0° (char.) 90°...
Page 206
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Type of check digits to be attached (Omissible. If omitted, no check digit is drawn.) Type of check digit 0: Modulus 10 (draws data and check digit.) 1: Modulus 43 (draws data and check digit.) 2: DBP Modulus 10 (Draws check digit only.)
Page 207
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Explanation Character string number When drawing by the Data Command ([ESC] RC), the format designated by the character string number is selected. Print origin of coordinates Backing paper Backing paper Origin of...
Page 208
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series [Relationship between drawing coordinates and magnification] Char. height × Vertical magnification Char. Enlarge height Point of origin Char. width Char. Width × Left offset Point of Point of Horizontal magnification Point of...
Page 209
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Chinese CG is required to print the character type: r. Korean CG is required to print the character type: s. When any character type of 52 to 55 is specified, it is invalid. However, an error does not occur, instead a blank is printed.
Page 210
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Rotational angles of a character and character string Sample Origin 0° (00) 90° (11) 180° (22) 270° (33) 5-40...
Page 211
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Selection of character attribution No. of dots in the horizontal direction No. of dots in the vertical direction Black characters Reverse characters No. of dots in the No. of dots in the...
Page 212
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series (10) Increment/decrement Printing is performed while the data is incremented or decremented every time a label is issued. Where the data row exceeds the maximum number of digits (40), the data row will not be drawn.
Page 213
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series (12) Alignment No. of dots of character string area in the X direction Designated origin Left Center Right Automatic line feed Line feed spacing Automatic line feed No. of lines Automatic line feed If characters are not placed on one line when justification and automatic line feed are designated, the following steps are performed.
Page 214
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series (14) Link field No. The link field No. can be programmed by designating it after the symbol “;.” After the link field No. is designated using the Format Command, the data strings are linked by the Link Field Data Command to draw an image.
Page 215
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Notes The check digit attachment, increment/decrement and zero suppression are performed according to the following priority. If any of the conditions is improper, no drawing will take place. For example, the zero(s) is replaced with a space(s) as a result of zero suppression, but the modulus 10 designated to be attached cannot be calculated.
Page 216
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series The Bit Map Font Format Command may be connected to the Outline Font Format Command when transmitted. [ESC] P C001; 0100, 0150, 1, 1, A, 00, B [LF] C002; 0350, 0180, 1, 1, A, 00, B [LF] C005;...
Page 217
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Examples Origin (0, 0) 12.5 Effective print area 30.0 S a m p l e 55.0 A B C D 20.0 mm 65.0 mm [ESC] C [LF] [NUL] [ESC] PC000; 0200, 0300, 1, 1, A, 00, B=ABCD [LF] [NUL] [ESC] PC001;...
Page 218
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Origin (0, 0) Effective print area 30.0 55.0 S 0 0 1 20.0 mm 65.0 mm [ESC] C [LF] [NUL] [ESC] PC001; 0200, 0300, 1, 1, C, 00, B; 01, 02 [LF] [NUL] [ESC] PV01;...
Page 219
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Origin (0, 0) Effective print area 12.5 30.0 20.0 mm [ESC] C [LF] [NUL] [ESC] PC000; 0200, 0125, 1, 1, W, 00, B [LF] [NUL] [ESC] PC001; 0200, 0300, 1, 1, W, 01, B [LF] [NUL] [ESC] RC000;...
Page 220
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 5.6.3 OUTLINE FONT FORMAT COMMAND [ESC] PV Function Sets the format to indicate where and how the outline font is to be printed. Format [ESC] PVaa; bbbb, cccc, dddd, eeee, f (, ghhh), ii, j (, Mk) (, lmmmmmmmmmm) (, Znn) (, Po) (, lpp) (, Qoooo, Rpp) (= qqq ------ qqq) [LF] [NUL] [ESC] PVaa;...
Page 221
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Character attribution Black character W (aabb): Reverse character aa: No. of dots from the character string to the end of the black background in the horizontal direction bb: No. of dots from the character string to the end of the black...
Page 222
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Alignment (Omissible. If omitted, the alignment is set to the left.) o: Designates the character position. 1: Left 2: Center 3: Right 4aaaa: Justification aaaa: Character string in the X direction 0050 to 1040 (in 0.1 mm units) * 4 is reserved in the case of the compatible mode for the B-SP series.
Page 223
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Explanation Character string number When drawing by the Data Command ([ESC] RV), the format designated by the character string number is selected. Print origin of coordinates Backing paper Backing paper Origin of...
Page 224
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Type of font TEC FONT1 (Helvetica [bold]) TEC FONT1 (Helvetica [bold], proportional) Price Font 1 (POP Font) Price Font 2 (POP Font) 5-54...
Page 225
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Price Font 3 (POP Font) Fine adjustment of character-to-character space If no character-to-character space is specified or the number of space dots between characters is 0, drawing will take place according to the horizontal spacing/proportional spacing determined for each character.
Page 226
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Rotational angles of a character and character string Sample Origin 0° (00) 90° (11) 180° (22) 270° (33) Selection of character attribution No. of dots in the horizontal direction No. of dots in the...
Page 227
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Increment/decrement Printing is performed while the data is incremented or decremented every time a label is issued. Where the data row exceeds the maximum number of digits (40), the data row will not be drawn.
Page 228
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series (12) Italic designation This designation allows italic printing. However, it is available only when TEC FONT1 is selected for the type of font. (13) Character string width and number of character string digits Usually, one character size is determined by the character width and height.
Page 229
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series When one field width < specified character string width (Space between characters = 0, Specified character string digits = 6) ■ Print image when the parameter setting is omitted. 1 field width (140 dots)
Page 230
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series When one field width < specified character string width (Space between characters < 0, Specified character string digits = 8) ■ Print image when the parameter setting is omitted. 1 field width (125 dots)
Page 231
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series When one field width ≥ specified character string width (Space between characters ≥ 0, Specified character string digits = 6) ■ Print image when the parameter setting is omitted. 1 field width (215 dots)
Page 232
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series When one field width ≥ specified character string width (Space between characters < 0, Specified character string digits = 5) ■ Print image when the parameter setting is omitted. 1 field width (185 dots)
Page 233
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series (14) Data string to be printed Drawing data can be programmed by designating the number of digits after the symbol “=.” Up to 255 digits can be printed. When the number of digits exceeds the maximum number of characters, the excess data will be discarded.
Page 234
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Notes The check digit attachment, increment/decrement and zero suppression are performed according to the following priority. If any of the conditions is improper, no drawing will take place. For example, the zero(s) is replaced by a space(s) as a result of zero suppression, but the modulus 10 designated to be attached cannot be calculated.
Page 235
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series The Outline Font Format Command may be connected to the Bit Map Font Format Command when transmitted. [ESC] PC001; 0100, 0150, 1, 1, A, 00, B [LF] C002; 0350, 0180, 1, 1, A, 00, B [LF] C005;...
Page 236
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Examples Origin (0, 0) 12.5 Effective print area 30.0 S a m p l e 55.0 A B C D 20.0 mm 65.0 mm [ESC] C [LF] [NUL] [ESC] PV00; 0200, 0300, 0080, 0080, B, 00, B=ABCD [LF] [NUL] [ESC] PV01;...
Page 237
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Origin (0, 0) Effective print area 30.0 55.0 S 0 0 1 Paper feed direction 20.0 mm 65.0 mm [ESC] C [LF] [NUL] [ESC] PC001; 0200, 0300, 1, 1, C, 00, B; 01, 02 [LF] [NUL] [ESC] PV01;...
Page 238
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 5.6.4 BARCODE FORMAT COMMAND [ESC] XB In the case of WPC, CODE93, CODE128, UCC/EAN128, EAN128, Customer Barcode, POSTNET, RM4SCC, KIX CODE Function Sets the format to indicate where and how the barcode is to be printed and how it is to be printed.
Page 239
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Type of check digit Without attaching check digit Check digit check Modulus 10 CODE93 Modulus 47 CODE128 PSEUDO 103 Check digit auto attachment (1) Modulus 10 CODE93 Modulus 47 CODE128 PSEUDO 103...
Page 240
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series No. of digits after zero suppression (Omissible. If omitted, zero suppression is not performed.) 00 to 20 * Reserved in the case of the compatible mode for the B-SP series sss ------ sss: Data string to be printed (Omissible) Max.
Page 241
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Explanation Barcode number When drawing by the Data Command ([ESC] RB), the format designated by the barcode is selected. Print origin of coordinates Backing paper Backing paper Origin of Label Label coordinates...
Page 243
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Bar width, space width, and character-to-character space Designate the bar, space and character-to-character space widths according to the type of barcode. Note that the proper value differs according to the rotational angle of barcode, type, number of digits, print speed, paper used, etc.
Page 244
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Rotational angle of barcode Point of origin 0° 90° 180° 270° Barcode height Height Height [Postal code] Height 5-74...
Page 245
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Increment/decrement Printing is performed while the data is incremented or decremented every time a label is issued. Where the data row exceeds the maximum number of digits (40), the data row will not be drawn.
Page 246
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Length of guard bar The length of guard bar is valid only when the type of barcode is WPC. It is ignored in all other cases. Height of barcode Length of guard bar...
Page 247
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series (Example) UPC-A + 2 digits (Example) UPC-E Barcodes other than JAN, EAN and UPC (Example) CODE39 (Example) UCC/EAN128 or EAN128 5-77...
Page 248
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series (11) Zero suppression No. of digits after zero suppression Data 0000 0000 0000 0A12 0123 0123 0123 Print 0000 0123 0123 Zero(s) in a data row is replaced with a space(s) from the upper digits, according to the designated number of digits.
Page 249
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series [Data Command] [ESC] RB; A [LF] B [LF] ABCD [LF] 001 [LF] [NUL] Link field No. 4 Link field No. 3 Link field No. 2 Link field No. 1 ABCD ABCD *ABCD001*...
Page 250
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Notes The check digit attachment, increment/decrement and zero suppression are performed according to the following priority. If any of the conditions is improper, no drawing will take place. For example, the zero(s) is replaced with a space(s) as a result of zero suppression, but the modulus 10 designated to be attached cannot be calculated.
Page 251
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series More than one Barcode Format Command can be connected when transmitted. [ESC] XB01; 0100, 0150, 3, 1, 02, 02, 06, 06, 02, 0, 0150 [LF] B02; 0350, 0150, 3, 1, 02, 02, 06, 06, 02, 0, 0150 [LF] [NUL]...
Page 252
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Examples Origin (0, 0) 12.5 Effective print area 15.0 55.0 20.0 mm 83.0 mm 15.0 mm [ESC] C [LF] [NUL] [ESC] XB01; 0200, 0125, 9, 3, 02, 0, 0150, +0000000000, 010, 0, 00 = 12345 [LF] [NUL] [ESC] XB02;...
Page 253
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 5.6.5 BARCODE FORMAT COMMAND [ESC] XB In the case of MSI, Interleaved 2 of 5, CODE39, NW7, Industrial 2 of 5, MATRIX 2 of 5 for NEC Format [ESC] XBaa; bbbb, cccc, d, e, ff, gg, hh, ii, jj, k, llll (, mnnnnnnnnnn, p, qq) (, r) (= sss ------ sss) [LF] [NUL] [ESC] XBaa;...
Page 254
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Wide bar width 01 to 99 (in units of dots) Wide space width 01 to 99 (in units of dots) * In the case of industrial 2 of 5, the value is fixed at 00.
Page 255
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Explanation Barcode number When drawing by the Data Command ([ESC] RB), the format designated by the barcode is selected. Print origin of coordinates Backing paper Backing paper Origin of Label Label coordinates...
Page 256
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Type of check digit When no check digit is attached, a barcode of the data row will be drawn. In the case of the check digit check, when each check digit check is performed according to the type of barcode and results in normal, a barcode will be drawn.
Page 257
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Rotational angle of barcode Point of origin 0° 90° 180° 270° Barcode height Height Height Increment/decrement Printing is performed while the data is incremented or decremented every time a label is issued. Where the data row exceeds the maximum number of digits (40), the data row will not be drawn.
Page 259
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series (12) Data string to be printed Drawing data can be programmed by designating the number of digits after the symbol “=.” The maximum number of digits to be printed varies according to the type of barcode.
Page 260
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Notes The check digit attachment, increment/decrement and zero suppression are performed according to the following priority. If any of the conditions is improper, no drawing will take place. For example, the zero(s) is replaced with a space(s) as a result of zero suppression, but the modulus 10 designated to be attached cannot be calculated.
Page 261
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series More than one Barcode Format Command can be connected when transmitted. [ESC] XB01; 0100, 0150, 3, 1, 02, 02, 06, 06, 02, 0, 0150 [LF] B02; 0350, 0150, 3, 1, 02, 02, 06, 06, 02, 0, 0150 [LF] [NUL]...
Page 262
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Examples Origin (0, 0) 12.5 Effective print area 15.0 55.0 20.0 mm 83.0 mm 15.0 mm [ESC] C [LF] [NUL] [ESC] XB01; 0200, 0125, 3, 1, 02, 02, 06, 06, 02, 0, 0150 = 12345 [LF] [NUL] [ESC] XB02;...
Page 263
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 5.6.6 BARCODE FORMAT COMMAND [ESC] XB In the case of GS1 Databar Format [ESC] XBaa; bbbb, cccc, d, e, ff, g, hhhh (, ijjjjjjjjjj, kk) (= sss ------ sss) [LF] [NUL] [ESC] XBaa; bbbb, cccc, d, e, ff, g, hhhh (, ijjjjjjjjjj, kk) (; tt...
Page 264
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series sss ------ sss: Data string to be printed (Omissible) Max. 126 digits. However, the number of digits varies according to the type of barcode. , tt , tt , ------. tt : Link field No. (Omissible) 01 to 99 (1 to 99 can also be used.)
Page 266
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Bar width, space width, and character-to-character space Designate the bar, space, and character-to-character space widths according to the type of barcode. Note that the designated proper value differs according to the rotational angle of barcode, type, number of digits, print speed, paper used, etc.
Page 267
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Barcode height [GS1 Databar Omni-directional] Height [GS1 Databar Stacked] Height (The height of the bottom row is 7/5 of the specified height.) [GS1 Databar Stacked Omni-directional] Height (The height of the upper barcode and the lower barcode are equal.)
Page 268
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Increment/decrement Printing is performed while the data is incremented or decremented every time a label is issued. Where the data row exceeds the maximum number of digits (40), the data row will not be drawn.
Page 269
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series (10) Link field No. The link field No. can be programmed by designating it after the symbol “;.” After the link field No. is designated using the Format Command, the data strings are linked by the Link Field Data Command to draw an image.
Page 270
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Notes The check digit attachment, increment/decrement and zero suppression are performed according to the following priority. If any of the conditions is improper, no drawing will take place. For example, the zero(s) is replaced with a space(s) as a result of zero suppression, but the modulus 10 designated to be attached cannot be calculated.
Page 271
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series More than one Barcode Format Command can be connected when transmitted. [ESC] XB01; 0100, 0150, 3, 1, 02, 02, 06, 06, 02, 0, 0150 [LF] B02; 0350, 0150, 3, 1, 02, 02, 06, 06, 02, 0, 0150 [LF] [NUL]...
Page 272
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Examples Origin (0, 0) 12.5 Effective print area 15.0 55.0 20.0 mm 83.0 mm 15.0 mm [ESC] C [LF] [NUL] [ESC] XB01; 0200, 0125, 3, 1, 03, 03, 08, 08, 03, 0, 0150 = 12345 [LF] [NUL] [ESC] XB02;...
Page 274
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Rotational angle of two-dimensional code 0: 0° 1: 90° 2: 180° 3: 270° Ciiijjj: No. of cells (Omissible. If omitted, it is automatically set.) iii: No. of cells in the X direction...
Page 275
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Explanation Two-dimensional code number When drawing by the Data Command ([ESC] RB), the format designated by the two- dimensional code number is selected. Print origin of coordinates Backing paper Backing paper Origin of...
Page 276
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 1-cell width 1-cell width When 1-cell width is set to 00 for the Data Matrix or CP code, a two-dimensional code 1-cell width = 3 is not drawn. However, the barcode printed on the previous label is cleared.
Page 277
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Maximum number of digits The maximum number of digits varies according to the ECC type or format ID. Since a Kanji character uses 2 bytes, its maximum number of digits becomes half of the...
Page 278
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series (11) Link field No. The link field No. can be programmed by designating it after the symbol “;.” After the link field No. is designated using the Format Command, the data strings are linked by the Link Field Data Command to draw an image.
Page 279
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series (12) Cell size and the effective data capacity ECC000 ECC050 ECC080 ECC100 ECC140 Numeric Alphanum 8-bit Numeric Alphanum 8-bit Numeric Alphanum 8-bit Numeric Alphanum 8-bit Numeric Alphanum 8-bit Symbol size capacity capacity...
Page 284
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Explanation Two-dimensional code number When drawing by the Data Command ([ESC] RB), the format designated by the two- dimensional code number is selected. Print origin of coordinates Backing paper Backing paper Origin of...
Page 285
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 1-module width The width of 2 to 6 modules is automatically calculated by designating a 1-module width. [Example of setting] 203-dpi print head (1 dot = 1/8 mm) 1 module 2 modules 3 modules 4 modules 5 modules 6 modules...
Page 286
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Rotational angle of two-dimensional code Point of origin 0° 90° 180° 270° Height of two-dimensional code Height Height 5-116...
Page 287
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Data string to be printed Drawing data can be programmed by designating the number of digits after the symbol “=.” The maximum number of digits to be printed is 2000. (However, the number of digits of data should be limited so the two-dimensional code can be printed within the 2- inch head width.)
Page 288
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Notes More than one Two-dimensional Code Format Command can be connected when transmitted. [ESC] XB01; 0100, 0150, 3, 1, 02, 02, 06, 06, 02, 0, 0150 [LF] B02; 0350, 0150, 3, 1, 02, 02, 06, 06, 02, 0, 0150 [LF] [NUL]...
Page 289
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Examples Origin (0, 0) 12.5 Effective print area 55.0 20.0 mm 83.0 mm [ESC] C [LF] [NUL] [ESC] XB01; 0200, 0125, P, 04, 02, 03, 0, 0010 [LF] [NUL] [ESC] XB02; 0830, 0550, Q, 08, 03, 05, 3 [LF] [NUL] [ESC] RB01;...
Page 291
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Explanation Two-dimensional code number When drawing by the Data Command ([ESC] RB), the format designated by the two- dimensional code number is selected. Print origin of coordinates Backing paper Backing paper Origin of...
Page 292
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 1-module width The width of 2 to 6 modules is automatically calculated by designating a 1-module width. [Example of setting] 203-dpi print head (1 dot = 1/8 mm) 1 module 2 modules 3 modules 4 modules 5 modules 6 modules...
Page 293
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Rotational angle of two-dimensional code Point of origin 0° 90° 180° 270° Height of two-dimensional code Height Height Data string to be printed Drawing data can be programmed by designating the number of digits after the symbol “=.”...
Page 294
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series (10) Link field No. The link field No. can be programmed by designating it after the symbol “;.” After the link field No. is designated using the Format Command, the data strings are linked by the Link Field Data Command to draw an image.
Page 295
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series (11) The maximum number of columns and rows Parameter Max. number of digits Max. number of digits for Max. number of digits No. of columns No. of rows (gg) for binary mode...
Page 296
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Notes More than one Two-dimensional Code Format Command can be connected when transmitted. [ESC] XB01; 0100, 0150, 3, 1, 02, 02, 06, 06, 02, 0, 0150 [LF] B02; 0350, 0150, 3, 1, 02, 02, 06, 06, 02, 0, 0150 [LF] [NUL]...
Page 297
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Examples Origin (0, 0) 12.5 Effective print area 55.0 Paper feed direction 5.0 mm 30.0 mm [ESC] C [LF] [NUL] [ESC] XB01; 0200, 0125, X, 00, 02, 00, 0, 0010 [LF] [NUL] [ESC] XB02;...
Page 298
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 5.6.10 TWO-DIMENSIONAL CODE FORMAT COMMAND (QR Code) [ESC] XB Format [ESC] XBaa; bbbb, cccc, d, e, ff, g, h (, Mi) (, Kj) (, Jkkllmm) (= nnn --- nnn) [LF] [NUL] [ESC] XBaa; bbbb, cccc, d, e, ff, g, h (, Mi) (, Kj) (, Jkkllmm) (; oo...
Page 299
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series nnn --- nnn: Data string to be printed (Omissible) Max. 2000 digits --- oo Link field No. (Omissible) 01 to 99 (1 to 99 can also be used.) Up to 20 digits can be designated using commas.
Page 300
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Explanation Two-dimensional code number When drawing by the Data Command ([ESC] RB), the format designated by the two- dimensional code number is selected. Print origin of coordinates Backing paper Backing paper Origin of...
Page 301
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 1-cell width 1-cell width 1-cell width When the 1-cell width is set to 0 for the QR code, a two-dimensional code is not drawn. However, the barcode printed on the previous label is cleared.
Page 302
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series (10) Connection setting For QR code, data can be divided into several codes. Even though the print space is limited, divided codes can be printed there. The data can be divided into a max. of 16 codes.
Page 303
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series (12) Link field No. The link field No. can be programmed by designating it after the symbol “;.” After the link field No. is designated using the Format Command, the data strings are linked by the Link Field Data Command to draw an image.
Page 304
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Notes More than one Two-dimensional Code Format Command can be connected when transmitted. [ESC] XB01; 0100, 0150, 3, 1, 02, 02, 06, 06, 02, 0, 0150 [LF] B02; 0350, 0150, 3, 1, 02, 02, 06, 06, 02, 0, 0150 [LF] [NUL]...
Page 305
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Examples Origin (0, 0) 12.5 Effective print area 55.0 Paper feed direction 20.0 mm 83.0 mm [ESC] C [LF] [NUL] [ESC] XB01; 0200, 0125, T, M, 02, A, 0 [LF] [NUL] [ESC] XB02; 0830, 0550, Q, 08, 03, 05, 3 [LF] [NUL] [ESC] RB01;...
Page 306
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 5.6.11 TWO-DIMENSIONAL CODE FORMAT COMMAND (MaxiCode) [ESC] XB Format [ESC] XBaa; bbbb, cccc, d (, e) (, Jffgg) (, Zh) (= mmm ------ mmm) [LF] [NUL] [ESC] XBaa; bbbb, cccc, d (, e) (, Jffgg) (, Zh) (; nn...
Page 307
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Attachment of Zipper block and Contrast block (Omissible. If omitted, they are not attached.) h= 0: No attachment of Zipper block and Contrast block 1: Attachment of Zipper block and Contrast block...
Page 308
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Explanation Two-dimensional code number When drawing by the Data Command ([ESC] RB), the format designated by the two- dimensional code number is selected. Print origin of coordinates Backing paper Backing paper Origin of...
Page 309
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Link field No. The link field No. can be programmed by designating it after the symbol “;.” After the link field No. is designated using the Format Command, the data strings are linked by the Link Field Data Command to draw an image.
Page 310
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Notes More than one Two-dimensional Code Format Command can be connected when transmitted. [ESC] XB01; 0100, 0150, 3, 1, 02, 02, 06, 06, 02, 0, 0150 [LF] B02; 0350, 0150, 3, 1, 02, 02, 06, 06, 02, 0, 0150 [LF] [NUL]...
Page 311
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Examples Origin (0, 0) 12.5 Effective print area 55.0 Paper feed direction 20.0 mm 83.0 mm [ESC] C [LF] [NUL] [ESC] XB01; 0200, 0125, Z [LF] [NUL] [ESC] XB02; 0830, 0550, Q, 08, 03, 05, 3 [LF] [NUL] [ESC] RB01;...
Page 312
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series COMMANDS RELATED TO PRINT DATA 5.7.1 BIT MAP FONT DATA COMMAND [ESC] RC Function Provides data for the bit map font row. Format [ESC] RCaaa; bbb ------- bbb [LF] [NUL] Link Field Data Command [ESC] RC;...
Page 313
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Explanation Link field data string • After the link field No. is designated using the Format Command, the data strings are linked by the Link Field Data Command to draw an image.
Page 314
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Examples Origin (0, 0) Effective print area 12.5 mm Sample 55.0 mm 20.0 mm 65.0 mm [ESC] C [LF] [NUL] [ESC] PC001; 0200, 0125, 1, 1, C, 00, B [LF] [NUL] [ESC] PC002; 0650, 0550, 2, 2, G, 33, B, +0000000001 [LF] [NUL] [ESC] RC001;...
Page 315
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Origin (0, 0) Effective print area 30.0 55.0 S 0 0 1 20.0 mm 65.0 mm [ESC] C [LF] [NUL] [ESC] PC001; 0200, 0300, 1, 1, C, 00, B; 01, 02 [LF] [NUL] [ESC] PV01;...
Page 316
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Origin (0, 0) Effective print area 12.5 30.0 20.0 mm [ESC] C [LF] [NUL] [ESC] PC000; 0200, 0125, 1, 1, W, 00, B [LF] [NUL] [ESC] PC001; 0200, 0300, 1, 1, W, 01, B [LF] [NUL] [ESC] RC000;...
Page 317
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 5.7.2 OUTLINE FONT DATA COMMAND [ESC] RV Function Provides data for the outline font row. Format [ESC] RVaa; bbb ------- bbb [LF] [NUL] Link Field Data Command [ESC] RV; ccc --- ccc [LF] ddd --- ddd [LF] ------- [LF] xxx --- xxx [LF] [NUL]...
Page 318
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Examples Origin (0, 0) Effective print area 12.5 mm Sample 55.0 mm 20.0 mm 65.0 mm [ESC] C [LF] [NUL] [ESC] PV01; 0200, 0125, 0100, 0100, B, 00, B [LF] [NUL] [ESC] PV02; 0650, 0550, 0200, 0150, B, 33, B, +0000000001 [LF] [NUL] [ESC] RV01;...
Page 319
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Origin (0, 0) Effective print area 30.0 55.0 S 0 0 1 20.0 mm 65.0 mm [ESC] C [LF] [NUL] [ESC] PC001; 0200, 0300, 1, 1, C, 00, B; 01, 02 [LF] [NUL] [ESC] PV01;...
Page 320
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 5.7.3 BARCODE/TWO-DIMENSIONAL CODE DATA COMMAND (Any codes other than MaxiCode) [ESC] RB Function Provides data for the barcode/two-dimensional code. Format [ESC] RBaa; bbb ------- bbb [LF] [NUL] Link Field Data Command [ESC] RB; ccc --- ccc [LF] ddd --- ddd [LF] ------- [LF] xxx --- xxx [LF] [NUL]...
Page 321
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Explanation Link field data string • After the link field No. is designated using the Format Command, the data strings are linked by the Link Field Data Command to draw an image.
Page 322
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series The maximum number of digits for Data Matrix varies according to the settings for ECC type, format ID, and the cell size. In the case of Kanji, the maximum number of digits becomes half of the values described below since a Kanji character occupies 2 bytes.
Page 324
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series When PDF417 or MicroPDF417 is used, the number of symbol characters, called code words, is limited to 928 or less. Moreover, the data compression rate varies according to the data. Therefore, the maximum number of digits according to the mode is as follows.
Page 325
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series The maximum number of columns and rows for the MicroPDF417 Parameter Max. number of digits Max. number of digits for Max. number of digits No. of columns No. of rows (gg) for binary mode...
Page 326
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series CODE128 code selection In the case of CODE128 (with auto code selection), code selection is performed in the following manner. (Conforming to USS-128 APPENDIX-G) Determining the start character (a) If the data begins with four or more consecutive numerals, the start code to be used is (CODE C).
Page 327
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series CODE128 code selection check Check if selection of (CODE A), (CODE B) or (CODE C) of CODE128 has been set correctly. If an error is found, the barcode will not be drawn.
Page 328
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series (10) When the automatic mode is selected using the Format Command for QR code. Data to be printed How to transmit the control code data NUL (00H) > @ (3EH, 40H) SOH (01H) >...
Page 329
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series (12) Examples of data designation Alphanumeric mode: ABC123 A A B C 1 2 3 Data to be printed Designation of mode Binary mode: 01h, 03h, 05h B 0 0 0 6 > A > C > E Data to be printed No.
Page 330
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Examples Origin (0, 0) 12.5 Effective print area 55.0 20.0 mm 83.0 mm [ESC] C [LF] [NUL] [ESC] XB01; 0200, 0125, P, 04, 02, 03, 0, 0010 [LF] [NUL] [ESC] XB02; 0830, 0550, Q, 08, 03, 05, 3 [LF] [NUL] [ESC] RB01;...
Page 331
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 5.7.4 TWO-DIMENSIONAL CODE DATA COMMAND (MaxiCode) [ESC] RB Function Provides data for the two-dimensional code. Format For mode 2 or 3: [ESC] RBaa; bbbbbbbbbcccdddeeeee --- eeeee [LF] [NUL] For mode 4 or 6: [ESC] RBaa;...
Page 332
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Explanation When any data other than numerics is included in the data string of zip code (mode 2), zip code extension, class of service, or country code, a MaxiCode is not drawn.
Page 333
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series COMMANDS RELATED TO ISSUE AND FEED 5.8.1 ISSUE COMMAND [ESC] XS Function Issues labels according to the print conditions programmed. Format [ESC] XS; I, aaaa, bbbcdefgh [LF] [NUL] Term aaaa: Number of labels to be issued...
Page 334
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Explanation Number of labels to be issued If increment/decrement is not specified, the same data will be printed on the designated number of labels. If increment/decrement is specified, the designated number of labels will be printed while incrementing/decrementing the designated drawing area one by one.
Page 335
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Top first printing Black mark Backing paper (Back side of paper) Label Label pitch Effective Effective pitch print length print length Origin of Origin of Effective Effective coordinates coordinates print width print width...
Page 336
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Examples • Issue count: 4 pieces 41.0 • Paper: Tag paper (Reflective sensor is used.) S a m p l e • Issue mode: Cut issue 76.2 73.2 • Print speed: 4”/sec.
Page 337
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 5.8.2 FEED COMMAND [ESC] T Function Feeds the paper. Format [ESC] Tabcde [LF] [NUL] Term Type of sensor 0: No sensor 1: Reflective sensor 2: Transmissive sensor 3: Transmissive sensor (when using manual threshold value)
Page 338
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Notes If the label size, type of sensor, feed amount fine adjustment or strip position fine adjustment is changed, the Feed Command must be sent to adjust the print start position prior to printing by feeding one label.
Page 339
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 5.8.3 STORAGE AREA ALLOCATE COMMAND [ESC] XF Function Allocates the storage area in the flash ROM on the CPU board. Format [ESC] XF; aa, bb, cc (, dd, ee) [LF] [NUL] Term...
Page 340
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series [Example of allocation] In case that the size of BASIC file storage area is set in a range of “00” to “14”: The storage areas are allocated in the following order of precedence – the bit map writable character storage area, the BASIC file storage area, the form storage area and the graphic storage area.
Page 341
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series COMMANDS RELATED TO FORMAT 5.9.1 FLASH MEMORY FORMAT COMMAND [ESC] J1 Function Formats (initializes) the flash ROM on the CPU board for storage. Format [ESC] J1; a (, b) [LF] [NUL] Term...
Page 342
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 5.10 COMMANDS RELATED TO WRITABLE CHARACTERS 5.10.1 2-BYTE WRITABLE CHARACTER CODE RANGE COMMAND [ESC] XE Function Sets the code range when a 2-byte writable character code is stored in the flash ROM on the CPU board.
Page 343
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Example Shift JIS 8140H to 83DFH: Character data is present. Character data is not present. 8140 81F0 8240 82F0 8340 83D0 [ESC] XE; 8140, 00BD, 8240, 00B7, 8340, 00BD [LF] [NUL] 5-173...
Page 344
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 5.10.2 BIT MAP WRITABLE CHARACTER COMMAND [ESC] XD Function Stores writable characters and logos in the flash ROM on the CPU board. Format [ESC] XD; (Sj, ) aa, b, ccc, ddd, eee, fff, ggg, h, iii ----- iii [LF] [NUL]...
Page 345
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Explanation Type of writable character Up to 43 types of writable character sets can be stored. However, the maximum number of characters varies depending on the writable character size and number of characters because of the limited memory capacity.
Page 347
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Writable character type: 41 (16 dots ×16 dots) Nibble mode Character width 16 dots • Character • height • 16 dots Hex. mode • • • [Nibble mode] The writable character data to be stored is separated into four dot units and sent in →...
Page 350
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Notes No matter what character type or character code is selected, no memory will be wasted. When a new writable character is stored, the Flash Memory Format Command ([ESC] J1) must be transmitted.
Page 351
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Examples Writable character type: Writable character code: offset 22 dots Char. height 31 dots Base line Reference Reference point of next point char. Left offset Char. width 26 dots 2 dots Character-to-character spacing/proportional spacing: 30 dots [ESC] J1;...
Page 352
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 5.11 COMMANDS RELATED TO GRAPHICS 5.11.1 GRAPHIC COMMAND [ESC] SG Function Draws graphic data. Format [ESC] SG; aaaa(D), bbbb(D), cccc, dddd, e, ggg --- ggg [LF] [NUL] Term aaaa(D): X-coordinate of the print origin for drawing graphic data Fixed at 4 digits (in 0.1 mm units)
Page 353
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Explanation When the graphic data “0,” “1,” “2,” “3” or “6” is selected, the graphic data is drawn by overwriting the image buffer. When the graphic data “4” or “5” is selected, the graphic data is drawn by carrying out OR between the graphic data and the data in the image buffer.
Page 355
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series [TOPIX compression mode] Range for length First line Second line Graphic data Length (1) Length: Total number of bytes of the graphic data (0001H ~ ) Ex. Length = 20 bytes: (2) L1 parameter: Shows in which large block (512 dots/block) the changed data is contained.
Page 356
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Notes The print origin of coordinates must be set so that the result of drawing the graphic data will be within the effective print area set by the Label Size Set Command ([ESC] D).
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 5.12 COMMANDS RELATED TO PC COMMAND SAVING 5.12.1 SAVE START COMMAND [ESC] XO Function Declares the start of saving PC interface commands. (Places the printer in the mode where PC interface commands are written in the flash memory.)
Page 360
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Examples [ESC] J1; B [LF] [NUL] [ESC] XO; 01, 0 [LF] [NUL] [ESC] D0508, 0760, 0468 [LF] [NUL] [ESC] T20C30 [LF] [NUL] [ESC] C [LF] [NUL] [ESC] PC001; 0200, 0125, 1, 1, A, 00, B [LF] [NUL] [ESC] PC002;...
Page 361
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 5.12.2 SAVE TERMINATE COMMAND [ESC] XP Function Declares the termination of saving PC interface commands. Format [ESC] XP [LF] [NUL] Note When further storing operation is not continued for about 10 seconds after storing the PC interface commands, the printer enters the online mode (label issue operation).
Page 362
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 5.12.3 SAVED DATA READ COMMAND [ESC] XQ Function Reads PC interface commands saved in flash memory. Format [ESC] XQ; aa, (Sb,) c, d [LF] [NUL] Term aa: Identification number of the file to be read from flash memory...
Page 363
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 5.13 COMMANDS RELATED TO CHECK 5.13.1 HEAD BROKEN DOTS CHECK COMMAND [ESC] HD Function Checks the thermal head for broken dots. Format [ESC] HD001 (, a) [LF] [NUL] --- All thermal elements are checked.
Page 364
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 5.13.2 MESSAGE DISPLAY COMMAND [ESC] XJ Function Displays the message on the LCD. Format [ESC] XJ; aaa ------ aaa [LF] [NUL] Term aaa ------ aaa: Display data (16 digits) Explanation When the printer receives the Message Display Command, first it processes the already received data (or completes the label issue if the Issue Command has been sent).
Page 365
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Examples Load the paper. One piece of paper is fed. 4 pieces are issued. 41.0 S a m p l e 76.2 73.2 15.0 mm 82.0 mm Message, “Please set [Tag]”, is displayed.
Page 366
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 5.14 COMMANDS RELATED TO CONTROL 5.14.1 RESET COMMAND [ESC] WR Function Returns the printer to its initial state. Format [ESC] WR [LF] [NUL] Explanation The printer is returned to the same state as when the power is turned on.
Page 367
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series (zero) 5.14.2 BATCH RESET COMMAND [ESC] Z0 Function Resets the printer. Format [ESC] Z0 [LF] [NUL] Explanation This command will not be executed until the printer enters an idle state. 5-197...
Page 368
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 5.15 COMMANDS RELATED TO STATUS 5.15.1 STATUS REQUEST COMMAND [ESC] WS, [ESC] FM, [ESC] v Function Sends the printer status to the host computer. Format [ESC] WS [LF] [NUL] [ESC] FM [LF] [NUL]...
Page 369
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series [IrDA: IrCOMM, IrDA: IrOBEX, USB, RS-232C, Bluetooth, Wireless LAN] SOH STX Status Remaining No. of labels ETX EOT 01H 02H 3xH 3xH 3xH 03H 04H 0DH 0AH Remaining No. of labels (“0000” to “9999”) Status type “1”...
Page 370
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Detailed status in the compatible mode for the B-SP series “00”: Normal state “01”: Cover open state “02”: Operating (including wait for strip, pause state, wait for battery recovery, wait for head temperature reduction, wait for...
Page 371
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 5.15.2 RECEIVE BUFFER FREE SPACE STATUS REQUEST COMMAND [ESC] WB Function Sends information on the printer status and the free space of the receive buffer to the host. Format [ESC] WS [LF] [NUL]...
Page 372
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Printer status ..Printer status is indicated in 2-byte data. “00”: Normal state “01”: Cover open state “02”: Operating “04”: Pause state “05”: Wait for strip “06”: Command syntax error (including Ir packet error) “09”: Normal issue end + Label end...
Page 373
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series Notes The status is returned only to the interface which sent this command. The printer returns the same status, regardless of whether or not the compatible mode for the B-SP series is set.
Page 374
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 5.15.3 MODE INFORMATION ACQUIRE COMMAND [ESC] WX Function Sends the printer mode information to the host. Format [ESC] WX [LF] [NUL] Explanation The status when the compatible mode for the B-SP series is on differs from the status when the compatible mode is off.
Page 376
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series • When the compatible mode for the B-SP series is on. TPCL mode (Mode = A) Batch issue mode [IrDA: TEC Protocol] Mode information (16 bytes) CRC CRC 02H 54H 50H 43H 4CH 2DH 4CH 45H 20H 20H 20H 20H 20H 20H 20H 20H 20H xxH xxH...
Page 377
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 5.15.4 VERSION INFORMATION ACQUIRE COMMAND [ESC] WV Function Sends information such as the program version of the printer. Format [ESC] WV [LF] [NUL] Explanation The format of the program version data to be returned to the host is as follows.
Page 378
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series [IrDA: IrCOMM, IrDA: IrOBEX, RS-232C, Bluetooth, Wireless LAN] (24-byte data in total) “0” “4” “A” “P” Creation date of program: Creation date “R” 9 bytes of data indicated in order of Day- “2”...
Page 379
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 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 The format of the printer serial No. to be returned to the host is as follows.
Page 380
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 5.16 COMMANDS RELATED TO BLUETOOTH AND WIRELESS LAN 5.16.1 DEVICE ADDRESS ACQUIRE COMMAND [ESC] IT Function Reads the device address of the Bluetooth or MAC address of the wireless LAN. Format [ESC] IT [LF] [NUL]...
Page 381
CHAPTER 5 TPCL-LE MODE (INTERFACE COMMANDS) B-EP Series 5.16.2 BLUETOOTH RELATED PARAMETER ACQUIRE COMMAND [ESC] WT Function Acquires the parameters related to the Bluetooth. Format [ESC] WT [LF] [NUL] Explanation (1) This command reads the parameters related to the Bluetooth. When using the IrDA: TEC Protocol, the following information field is placed in the information frame and sent in packets to the host.
Page 382
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6. LABEL MODE (INTERFACE COMMANDS) 6.1 GENERAL DESCRIPTION This chapter describes details regarding the interface commands for the LABEL mode of the issue mode. <<Up to V1.0C>> There are three issue types, “Batch issue,” “Strip issue” and “Linerless issue.” When the back feed amount fine adjustment is omitted in the Position Fine Adjust Command in batch issues, regardless of the selected sensor type, printing is started at 5 mm of from the leading edge of the label.
Page 383
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series "HEAD." However, it is necessary to press the FEED key and move a label to the cutting position to take it out because the label is not stopped at the cutting position after printing has been completed.
Page 384
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.2 OUTLINE OF COMMANDS 6.2.1 FORMAT OF INTERFACE COMMAND Command & Data LF NUL The length from [ESC] to [LF] [NUL] must be as specified by each command. Only the following control code is used:...
Page 385
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.3 COMMANDS RELATED TO SETTING 6.3.1 LABEL SIZE SET COMMAND [ESC] D Function Sets the size of a label or tag. Format [ESC] Daaaa, bbbb, cccc [LF] [NUL] Term aaaa: Label/tag pitch Fixed at 4 digits (in 0.1 mm units)
Page 386
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series Explanation (1) After the Form Store Start Command is sent, the Label Size Set Command must be sent before each field command, the Print Density Fine Adjust Command, or the Position Fine Adjust Command is sent.
Page 387
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series Programmable value range by the software [mm] B-EP2DL B-EP4DL Model 203 dpi 203 dpi Mode Batch Strip Batch Strip Item Thermal head dot density 8 dots/mm 8 dots/mm Thermal head width 48.0 mm 104.0 mm...
Page 388
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.3.2 PRINTER ID SET COMMAND [ESC] ID Function Sets the ID for the printer. Format [ESC] ID; aa(,b) [LF] [NUL] Term Printer ID (2-byte hex data) 0000H to FFFFH Reserved area (Omissible)
Page 389
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.3.3 MODE SELECT COMMAND [ESC] M Function Changes the print mode. Format [ESC] M; a(,b) [LF] [NUL] Term Print mode designation Print mode (Bit 0 to Bit 6 * See Table 1.)
Page 390
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series Notes (1) The print mode designation (the specified print mode and the automatic status response in IrDA: IrCOMM or USB) is backed up in memory (even if the power is turned off).
Page 391
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series (11) When the LABEL or TPCL mode is selected in the mode select command and the print position detection feed parameter is set 0 (not performed), and if an error occurs while the printer issues in the RECEIPT1 or ESC/POS mode, the print mode is changed to the LABEL or TPCL mode after the error is cleared.
Page 392
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.4 COMMANDS RELATED TO FINE ADJUSTMENT 6.4.1 PRINT START POSITION FINE ADJUST COMMAND [ESC] AX Function Adjusts the feed value so that the label will be shifted forward or backward from the standard print start position.
Page 393
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series Explanation (1) The print start position is adjusted to stop backward or forward from the standard print start position. (2) When the back feed amount fine adjustment is enabled by this command while the command is being stored in a form, the print start position moves backward by 2mm from the standard position, which enlarges the effective print area.
Page 394
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series Paper feed direction ± 0 mm Print start position (Standard: 5 mm from the leading edge of the label) +5 mm Print start position -5 mm Print start position Notes The set fine adjustment value for print position is backed up in memory (retained even if the power is turned off).
Page 395
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.4.2 PRINT DENSITY FINE ADJUST COMMAND [ESC] AY Function Adjusts the automatically set print density. Format [ESC] AY; abb, c (, d) [LF] [NUL] Term Indicates whether to increase or decrease the density...
Page 396
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series (6) When “0: Auto” is designated on the 2-inch print head, “Divided by 2” or “Divided by 3” is automatically selected for every line according to the print ratio. The width of half a dot may not be printed on the line when switching between “Divided by 2”...
Page 397
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.4.3 STRIP SENSOR THRESHOLD VALUE SET COMMAND [ESC] AZ Function Sets the sensor threshold value to switch the mode between strip and batch. Format [ESC] AZ; a [LF] [NUL] Term Setting 0: Operation in conformance with the strip sensor...
Page 398
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.5 COMMANDS RELATED TO DRAWING FORMAT 6.5.1 LINE FORMAT COMMAND [ESC] LC Function Sets the line format and draws the line. Format [ESC] LC; aaaa, bbbb, cccc, dddd, e, f [LF] [NUL]...
Page 399
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series Rectangle Line width Line width Line width Line width (2) When the start and end point coordinates which make a slant line are specified, a rectangle is drawn, even if “Line” is selected for the line type.
Page 400
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.5.2 BIT MAP FONT FIELD COMMAND [ESC] PC Function Sets the format indicating the position on the label at which the bit map font is to be printed and how it is to be printed.
Page 401
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series Rotational angles of a character or character string 0° (chara.) 0° (chara.-string) 90° (chara.) 90° (chara.-string) 180° (chara.) 180° (chara.-string) 270° (chara.) 270° (chara.-string) Selects black character or reverse character B (Fixed value): Black character...
Page 402
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series Explanation (1) Character string No. The data in the Data Print Command (X) is selected and linked in the order of this character string No. (The format of character string Nos. 00 and 01 is linked to the first and second data, respectively.
Page 403
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series (4) Space between characters is described below. [Standard character] Horizontal mag.: 2 24 dots 12 dots 12 dots 12 dots 24 dots 24 dots 24 dots [Bold character] 96 dots 48 dots...
Page 404
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series (5) Rotational angles of a character and character string Sample Origin 0° 90° 180° 270° (6) Data length, Data code JIS 8 code ....The length that one-byte data is counted as one digit Packed BCD ....
Page 405
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series Example Origin of Effective print width coordinates (0, 0) Sample Effective Bit map font character print length string No. 00 (3 mm, 12 mm) Standard character (2×2) Label Backing paper [ESC] XO; 01, 1 [LF] [NUL] [ESC] D0430, 0480, 0400 [LF] [NUL] [ESC] PC00;...
Page 406
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.5.3 OUTLINE FONT FIELD COMMAND [ESC] PV Function Sets the format to indicate the position on the label, at which the outline font is to be printed and how it is to be printed.
Page 407
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series Print position (Omissible. If omitted, the print position is left-aligned.) P0: Left P1: Center P2: Right Qoooo: Character string width (Omissible. If omitted, the width is set to 0000.) 0000 to 1600 (in units of 0.1mm) Rpp: No.
Page 408
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series Explanation (1) Character string No. The data in the Data Print Command (X) is selected and linked in the order of this character string No. (The format of character string Nos. 00 and 01 is linked to the first and second data, respectively.
Page 409
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series (4) Rotational angles of a character and character string Sample Origin 0° 90° 180° 270° (5) Print position • Left (Default) Origin • Center Origin • Right Origin (6) Character string width and number of character string digits Usually, one character size is determined by the character width and height.
Page 410
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series When one field width < specified character string width (Space between characters = 0, Specified character string digits = 6) Print image when the parameter setting is omitted. 1 field width (140 dots)
Page 411
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series When one field width < specified character string width (Space between characters < 0, Specified character string digits = 8) Print image when the parameter setting is omitted. 1 field width (125 dots)
Page 412
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series When one field width ≥ specified character string width (Space between characters ≥ 0, Specified character string digits = 6) Print image when the parameter setting is omitted. 1 field width (215 dots)
Page 413
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series When one field width ≥ specified character string width (Space between characters < 0, Specified character string digits = 5) Print image when the parameter setting is omitted. 1 field width (185 dots)
Page 415
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.5.4 BARCODE FORMAT COMMAND [ESC] XB (MSI, ITF, CODE39, NW7) Function Sets the format to indicate the position on the label, at which the barcode is to be printed and how it is to be printed.
Page 416
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series Data length (including start/stop codes) 00 to 32 NOTE: When “00” is designated, the length is equivalent to the data sent by the Data Print Command. JIS8 code: Data which is delimited by [LF] Packed BCD code: Data which is delimited by “F”...
Page 417
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.5.5 BARCODE FORMAT COMMAND [ESC] XB (JAN8/EAN8, JAN13/EAN13) Function Sets the format to indicate the position on the label, at which the barcode is to be printed and how it is to be printed.
Page 418
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.5.6 BARCODE FORMAT COMMAND [ESC] XB (EAN128, UCC/EAN128) Function Sets the format to indicate the position on the label, at which the barcode is to be printed and how it is to be printed.
Page 419
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.5.7 BARCODE FORMAT COMMAND [ESC] XB (CODE128) Function Sets the format to indicate the position on the label, at which the barcode is to be printed and how it is to be printed.
Page 420
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series Examples of using commands in EAN128, UCC/EAN128 and CODE128 Form storage [ESC] ID; 01 [LF] [NUL] : ID setting [ESC] XO; 01, 1 [LF] [NUL] : Declaration of the start of form storage...
Page 421
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.5.8 BARCODE FORMAT COMMAND [ESC] XB (CUSTOMER BARCODE) Function Sets the format to indicate the position on the label, at which the barcode is to be printed and how it is to be printed.
Page 422
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.5.9 two-dimensional CODE FORMAT COMMAND [ESC] XB (PDF417) Function Sets the format to indicate the position on the label, at which the two-dimensional code is to be printed and how it is to be printed.
Page 423
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series Data length 00 to 99 NOTES: 1. A two-digit value (00 to 99) is also available. 2. When “00” is designated, the length is equivalent to the data sent by the Data Print Command.
Page 424
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series Examples of using commands in PDF417 Form storage [ESC] ID; 01 [LF] [NUL] : ID setting [ESC] XO; 01, 1 [LF] [NUL] : Declaration of the start of form storage [ESC] D0360, 0480, 0330 [LF] [NUL] : Label size setting [ESC] XB00;...
Page 425
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.5.10 two-dimensional CODE FORMAT COMMAND [ESC] XB (QR CODE) Function Sets the format to indicate the position on the label, at which the two-dimensional code is to be printed and how it is to be printed.
Page 426
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series Data length 00 to 99 NOTES: 1. A two-digit value (00 to 99) is also available. 2. When “00” is designated, the length is equivalent to the data sent by the Data Print Command. It corresponds for up to 2000 digits.
Page 427
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.5.11 TWO-DIMENSIONAL CODE FORMAT COMMAND [ESC] XB (DATA MATRIX) Function Sets the format to indicate the position on the label, at which the two-dimensional code is to be printed and how it is to be printed.
Page 428
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series Ciiijjj: No. of cells (Omissible. If this parameter is omitted, it is automatically set.) iii: No. of cells in the X direction 000 to 144 jjj: No. of cells in the Y direction 000 to 144 NOTE: Cell setting varies according to the ECC type.
Page 429
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.5.12 TWO-DIMENSIONAL CODE FORMAT COMMAND [ESC] XB (MIRCOPDF417) Function Sets the format to indicate the position on the label, at which the two-dimensional code is to be printed and how it is to be printed.
Page 430
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.5.13 TWO-DIMENSIONAL CODE FORMAT COMMAND [ESC] XB (MAXICODE) Function Sets the format to indicate the position on the label, at which the two-dimensional code is to be printed and how it is to be printed.
Page 431
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series Explanation (1) Two-dimensional code No. The data in the Data Print Command (X) is selected and linked in the order of this barcode/two-dimensional code No. (The formats of barcode/two-dimensional code Nos. 00 and 01 are linked to the first and second data, respectively. In the same order, the format is linked to the data.) Therefore, the Nos.
Page 432
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series (4) Rotational angles of a barcode Origin Origin Origin Origin 0° 90° 180° 270° NOTE: If a barcode is rotated at 90° or 270°, the print density may become lower in relation to the bar height. A barcode with a height of 14 mm or less should be used.
Page 433
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series Explanation for QR code Error correction level The QR code contains functions to detect and correct an error. If one of the data characters is damaged, the information can be restored when this code is read.
Page 434
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series Connection setting For QR code, data can be divided into several codes. Even though there is only a narrow print space, the code can be entered in the space by dividing the code. The data can be divided into a max.
Page 435
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series (10) Security level The PDF417 contains a function to correct a code reading error using an error correcting code word and restore normal data. The security level should be designated according to usage to perform the error correction function.
Page 436
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.6 COMMANDS RELATED TO ISSUE AND FEED 6.6.1 DATA PRINT COMMAND Function Draws or prints the data. Format [IrDA: TEC Protocol] Xabcddd --- eee --- nnn --- [IrDA: IrCOMM, IrDA: IrOBEX, USB, RS-232C, Bluetooth, Wireless LAN]...
Page 437
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series Explanation (1) When the printer receives this command, the following operations will be performed. The printer clears the drawing buffer. The printer links the form to the data. The printer draws the data in the drawing buffer.
Page 438
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series (11) Automatic status transmission (IrDA: IrCOMM, IrDA: IrOBEX、RS-232C, Bluetooth, Wireless LAN) When the status response is designated, the printer automatically sends the printer status and the battery status after issuing labels. Data to be sent (Fixed at 5 bytes)
Page 439
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series Status in the compatible mode for B-SP series 00H: Normal state (idling) 01H: Cover open state 02H: Command syntax error (including Ir packet error) 03H: Paper jam 04H: Label end (including ambient temperature error)
Page 440
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series (13) If an error occurs when 99% of print data has been printed, pressing the FEED key after clearing the error causes the printer to reprint, even when the restart key is set to disabled and the form number is selected from 1 to 10.
Page 441
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series When the manual mode is selected in the Format Command for a QR code • Numeric mode, alphanumeric and symbol mode, Kanji mode Mode selection Data to be printed • Binary mode No.
Page 442
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series [Transfer code] NUL DLE SP SOH DC1 STX DC2 ” ETX DC3 EOT DC4 ENQ NAK ACK SYN & BEL ETB ’ < • > * The shaded parts are Japanese. They are omitted here.
Page 443
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.7 COMMANDS RELATED TO FORMAT 6.7.1 FLASH MEMORY STORAGE AREA FORMAT COMMAND [ESC] J1 Function Formats (Initializes) the form storage area in flash memory. Format [ESC] J1; a [LF] [NUL] Term Format (Initialization) designation...
Page 444
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.7.2 STORAGE AREA ALLOCATE COMMAND [ESC] XF Function Allocates the storage area in the flash ROM on the CPU board. Format [ESC] XF; aa, bb, cc (, dd, ee) [LF] [NUL] Term...
Page 445
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series [Example of allocation] In case that the size of BASIC file storage area is set in a range of “00” to “14”: The storage areas are allocated in the following order of precedence – the bit map writable character storage area, the BASIC file storage area, the form storage area and the graphic storage area.
Page 446
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.8 COMMANDS RELATED TO WRITABLE CHARACTERS 6.8.1 WRITABLE CHARACTER DATA STORE COMMAND [ESC] XD Function Stores writable characters and logos into flash memory. Format [ESC] XD; aa, bbb --- bbb [LF] [NUL]...
Page 448
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.9 COMMANDS RELATED TO GRAPHICS 6.9.1 GRAPHIC DATA STORE COMMAND [ESC] SG Function Stores the graphic data on the printer. Format [ESC] SG ; a, bbbb, cccc, ddd --- ddd [LF] [NUL] Term Graphic No.
Page 449
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series (4) The number of bytes of the graphic to be transmitted must be as follows; The number of bytes of the graphic to be transmitted (Max. 64 KB) = {(No. of graphic width dots + 7)/8} × No. of graphic height dots * The value in the brackets is rounded down to the nearest whole number.
Page 450
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.9.2 GRAPHIC FIELD COMMAND [ESC] N Function Sets how the graphic data is to be printed on the label. Format [ESC] N; a, bbbb, cccc [LF] [NUL] Term Graphic No. to be invoked and drawn...
Page 451
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.10 COMMANDS RELATED TO PC COMMAND SAVING 6.10.1 FORM STORE START COMMAND [ESC] XO Function Declares the start of form storage. Format [ESC] XO; aa, b [LF] [NUL] Term Form No. 01 to 20 Form version No.
Page 452
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.10.2 FORM STORE TERMINATE COMMAND [ESC] XP Function Declares the termination of form storage. Format [ESC] XP [LF] [NUL] Note (1) If the Form Store Start Command ([ESC] XO) is not previously received when this command is received, this command is ignored.
Page 453
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.11 COMMANDS RELATED TO CHECK 6.11.1 MESSAGE DISPLAY COMMAND [ESC] XJ Function Displays the message on the LCD. Format [ESC] XJ; aaa ------ aaa [LF] [NUL] Term aaa ------ aaa: Display data (16 digits)
Page 454
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.12 COMMANDS RELATED TO CONTROL 6.12.1 INITIALIZE COMMAND [ESC] WR, [ESC] @ Function Returns the printer to its initial state. Format [ESC] WR [LF] [NUL] [ESC] @ Explanation (1) The printer is returned to the same state as when the power is turned on.
Page 455
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series (ZERO) 6.12.2 BATCH RESET COMMAND [ESC] Z0 Function Resets the printer. Format [ESC] Z0 [LF] [NUL] Explanation (1) This command will not be executed until the printer enters an idle state. 6-74...
Page 456
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.13 COMMANDS RELATED TO STATUS 6.13.1 STATUS REQUEST COMMAND [ESC] FM, [ESC] WS, [ESC] V Function Sends the printer status to the host computer. Format [ESC] WS [LF] [NUL] [ESC] FM [LF] [NUL]...
Page 457
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series Status in the compatible mode for B-SP series 00H: Normal state (idling) 01H: Cover open state 02H: Command syntax error (including Ir packet error) 03H: Paper jam 04H: Label end 05H: Cover open error...
Page 458
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series (B-EP4DL) 01H: 14.0 V or less (Print failure) 02H: 14.1 V to 14.6 V (Remaining No. of printable labels: Approx. 1 to 30) 03H: 14.7 V to 15.2 V (Remaining No. of printable labels: Approx. 30 to 150) 04H: 15.3 V to 15.9 V...
Page 459
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.13.2 RECEIVE BUFFER FREE SPACE STATUS REQUEST COMMAND [ESC] WB Function Sends information on the printer status and the free space of the receive buffer to the host. Format [ESC] WB [LF] [NUL]...
Page 460
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series Printer status ..Printer status is indicated in 2-byte data. “00”: Normal status “01”: Cover open state “02”: Operating “04”: Pause state “05”: Wait for strip “06”: Command syntax error (including Ir packet error) “09”: Normal issue end + Label end...
Page 461
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series Notes The status is returned only to the interface which sent this command. The printer returns the same status, regardless of whether or not the compatible mode for the B-SP series is set.
Page 462
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.13.3 MODE INFORMATION ACQUIRE COMMAND [ESC] WX Function Sends the printer mode information to the host. Format [ESC] WX [LF] [NUL] Explanation (1) The status when the compatible mode for the B-SP series is on differs from the status when the compatible mode is off.
Page 463
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series The previous page shows examples where the message is received in LABEL mode when the compatible mode for the B-SP series is off. In addition, the following messages are returned. TPCL mode...
Page 464
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series • When the compatible mode for the B-SP series is on. LABEL mode (Mode = 0) [IrDA: TEC Protocol] Mode information (16 bytes) CRC CRC 02H 4CH 41H 42H 45H 4CH 20H 20H 20H 20H 20H 20H 20H 20H 20H 20H 20H xxH xxH...
Page 465
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.13.4 VERSION INFORMATION ACQUIRE COMMAND [ESC] WV Function Sends information such as the program version of the printer. Format [ESC] WV [LF] [NUL] Explanation (1) The format of the program version data to be returned to the host is as follows.
Page 466
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series [IrDA: IrCOMM, IrDA: IrOBEX, RS-232C, Bluetooth, Wireless LAN] “0” “4” “A” “P” Creation date of program: Creation date “R” 9 bytes of data indicated in order of Day- “2” Month-Year “0” “0”...
Page 467
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.13.5 PRINTER SERIAL NUMBER ACQUIRE COMMAND [ESC] WY Function Sends the printer serial number to the host. Format [ESC] WY [LF] [NUL] Explanation The format of the printer serial No. to be returned to the host is as follows.
Page 468
CHAPTER 6 LABEL MODE (INTERFACE COMMANDS) B-EP Series 6.14 COMMANDS RELATED TO BLUETOOTH AND WIRELESS LAN 6.14.1 DEVICE ADDRESS ACQUIRE COMMAND [ESC] IT Function Reads the device address of the Bluetooth interface or MAC address of the wireless LAN interface.
Page 469
32 bytes xxH xxH Bluetooth device name: Fixed at 32 bytes. When the Bluetooth device name is “TOSHIBA TEC BT.” [54H] [4FH] [53H] [48H] [49H] [42H] [41H] [20H] [54H] [45H] [43H] [20H] [42H] [54H] [00H] [00H] ‘ ’ ‘ ’...
Page 470
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7. RECEIPT MODE (INTERFACE COMMANDS) 7.1 GENERAL DESCRIPTION This chapter describes details regarding the interface commands for the RECEIPT and RECEIPT1 modes of the print mode. If operations are the same between the RECEIPT mode and the RECEIPT1 mode, only “RECEIPT mode”...
Page 471
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.2 OUTLINE OF COMMANDS 7.2.1 FORMAT OF INTERFACE COMMAND Command Command Command The control codes are as follows: ESC (1BH) LF (0AH) NUL (00H) GS (1DH) FF (0CH) CAN (18H) 7.2.2 HOW TO USE REFERENCE Function Describes the outline of the function of the command.
Page 472
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.2.3 PRECAUTIONS (1) The host should send the print data and the Print Line Feed Command for printing. Commands other than these should be sent as required. (2) Character type Only standard characters are used when printing the data.
Page 473
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.3 COMMANDS RELATED TO SETTING 7.3.1 MODE SELECT COMMAND [ESC] M Function Changes the print mode. Format [ESC] M; a(,b) [LF] [NUL] Term Print mode designation Print mode (Bit 0 to Bit 6 * See Table 1.)
Page 474
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series (3) The sensor is not used in the RECEIPT, RECEIPT1 or ESC/POS mode. When sensor detectable paper is used for receipts and labels, print position detection feed cannot be done in the LABEL, TPCL or TPCL1 mode. By setting the print position detection feed parameter to 1, print position detection feed is carried out after the mode is changed to LABEL, TPCL or TPCL1.
Page 475
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series (10) When changing the print mode by the printer itself, the print position detection feed parameter cannot be set. (11) When the mode select command is designated with the print position detection...
Page 476
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.3.2 PRINTER ID SET COMMAND [ESC] ID Function Sets the ID for the printer. Format [ESC] ID; aa [LF] [NUL] Term aa: Printer ID (2-byte hex data) 0000H to FFFFH Explanation (1) The printer ID is the information required to identify each printer when communicating according to the IrDA: TEC Protocol.
Page 477
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.4 COMMANDS RELATED TO FINE ADJUSTMENT 7.4.1 LINE FEED LENGTH SET COMMAND [ESC] 3 Function Sets the length of the line feed (the number of dots) which is performed by the Print Line Feed Command ([LF]).
Page 478
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.4.2 PRINT POSITION ALIGN COMMAND [ESC] a Function Aligns the print position on the left, the right, or at the center. Format [ESC] an Term Alignment 0: Left 1: Center 2: Right...
Page 479
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.4.3 PRINT DENSITY FINE ADJUST COMMAND [ESC] AY Function Adjusts the automatically set print density. Format [ESC] AY; abb, c (, d) [LF] [NUL] Term Indicates whether to increase or decrease the density...
Page 480
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series (6) When “3: Auto1” or “5: Auto2” is designated for the 2-inch print head, “Not divided,” “Divided by 3” or “Divided by 2” is automatically selected for every line according to the print ratio. The width of half a dot may not be printed on the line when switching among “Not divided,”...
Page 481
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.5 COMMANDS RELATED TO DRAWING FORMAT 7.5.1 LINE FORMAT COMMAND [ESC] L Function Specifies the line format and draws it. Format [ESC] Labbb [ESC] Lcddeeee Term Line width 1 to 9 (in units of dots)
Page 482
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series Note (1) If the print ratio of one line (the print head width) is higher than defined, printing may become poor, or the printer may be reset. When a horizontal line is to be drawn, note the print ratio.
Page 483
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.5.2 FONT TYPE COMMAND [ESC] K Function Specifies the font used for printing. Format [ESC] Kn Initial value A: Standard character Term Font type A: Standard Character (12 × 24 dots) B: Bold Character (48 ×...
Page 484
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.5.3 OUTLINE FONT FORMAT COMMAND [ESC] KV Function Sets the outline font. Format [ESC] KVabbbccc Initial value None Term Font type A: TEC Font 1 (Helvetica [Bold]) B: TEC Font 1 (Helvetica [Bold], Proportional)
Page 485
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.5.4 BARCODE/TWO-DIMENSIONAL CODE PRINT COMMAND [GS] k Function Prints the specified barcode/two-dimensional code. Format [GS] kn <bar data> [NUL] Term Type of barcode/two-dimensional code 0: JAN8/EAN8 1: MSI 2: Interleaved 2 of 5 (ITF)
Page 486
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series Paper feed direction A B C ABC [LF] [GS] k3 *87654321* [NUL] [LF] * 8 7 6 5 4 3 2 1 * [GS] k04940045 [NUL] [LF] 4 9 4 0 0 4 5 8...
Page 487
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.5.5 CHARACTER MAGNIFICATION COMMAND [ESC] ! Function Designates the magnification of the character to be printed. Format [ESC] !n Term Character magnification (1 byte) 00H: 1 magnification (horizontal) × 1 magnification (vertical) 10H: 1 magnification (horizontal) ×...
Page 488
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.5.6 BARCODE HORIZONTAL SIZE COMMAND [GS] w Function Sets the horizontal size of the barcode. For QR code, the 1-cell width is set. Format [GS] wn Term Horizontal size of the barcode (1 byte)
Page 489
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series [NW7, CODE39, Interleaved 2 of 5, MSI] Narrow Wide Character-to-character space Space Space (Unit: dots) * The character-to-character space does not exist in Interleaved 2 of 5 and MSI. [PDF417] 1 module 2 modules 3 modules 4 modules 5 modules 6 modules...
Page 490
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.5.7 BARCODE HEIGHT COMMAND [GS] h Function Sets the barcode height. Format [GS] hn Term Barcode height (1 byte) 01H to FFH (1 to 255 dots) Initial value 68H (104 dots) Explanation (1) When “n”...
Page 491
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.5.8 NUMERALS UNDER BARS COMMAND [GS] Hn Function Sets numerals under bars. Format [GS] Hn Term Selection to print numerals under bars 0: Non-print 1: Print (with EAN guard bar) 2: Print (without EAN guard bar)
Page 492
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.5.9 SECURITY LEVEL COMMAND [GS] s Function Sets the security level. Format [GS] sn Initial value Term Security level to be set 00: Level 0 01: Level 1 02: Level 2 03: Level 3...
Page 493
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.5.10 NO. OF COLUMNS (STRINGS) COMMAND [GS] c Function Sets the number of columns (strings). Format [GS] cn Initial value Term No. of columns (strings) 01H to 1EH (01 to 30) Explanation (1) When “n”...
Page 494
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.5.11 PRINT WIDTH COMMAND [ESC] W Function Sets the print width. Format [ESC] Wnnn Initial value nnn: B-EP2DL-GHxx B-EP4DL-GHxx Term nnn: No. of dots for the print width matching the receipt width (Fixed at 3 digits).
Page 495
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.5.12 HORIZONTAL PRINT POSITION COMMAND [ESC] H Function Sets the left margin of the line (space from the left edge). Format [ESC] Hnnn Initial value nnn: 000 dot Term nnn: No. of dots for the margin (space) from the left edge of the paper to the print start...
Page 497
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.5.13 HORIZONTAL OFFSET POSITION COMMAND [ESC] O Function Sets the left margin (space from the left edge) of only the line. Format [ESC] Oabbb [ESC] Ocadddd Initial value abbb: +000 Term Indicates whether the number of offset dots is increased or decreased...
Page 499
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.5.14 CHARACTER ROTATE COMMAND [ESC] R Function Specifies the rotational angle of characters. Format [ESC] Rn Initial value Term Rotational angle of characters 0: 0° 1: 90° 2: 180° 3: 270° Explanation (1) When “n”...
Page 500
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.5.15 ERROR CORRECTION LEVEL SET COMMAND [GS] q Function Sets the error correction level. Format [GS] qn Term Error correction level to be set L: High density level M: Standard level Q: Reliability level...
Page 501
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.5.16 QR CODE MODEL SET COMMAND [GS] r Function Sets the model of the QR code. Format [GS] rn Term Model to be set 1: Model 1 2: Model 2 Initial value...
Page 502
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.6 COMMANDS RELATED TO ISSUE AND FEED 7.6.1 PRINT LINE FEED COMMAND [LF] Function Prints the received data and performs a line feed. Format [LF] Explanation (1) When the Print Line Feed Command is received without data to be printed, only the length of the line feed which has been set is performed.
Page 503
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.6.2 BACK FEED OMISSION COMMAND [ESC] B Function Omits a back feed before printing. Format [ESC] B Explanation (1) Usually, in the RECEIPT mode, the printer feeds for about 1-mm backward before starting to print or before printing after a pause.
Page 504
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.6.3 PAGE MODE SELECT COMMAND [GS] C Function Changes to page mode. Format [GS] C Explanation (1) When any data remains unprinted before the Page Select command is received, the data is printed before changing to page mode.
Page 505
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.6.4 PAGE MODE PRINT COMMAND [FF] Function Starts printing in page mode. Format [FF] Explanation (1) This command is used to print data received in page mode. (2) After printing the data received in page mode, the printer returns to usual print and line feed operations using the Print and Lie Feed Command ([LF]) for each line.
Page 506
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.6.5 PAGE MODE CANCEL COMMAND [CAN] Function Cancels page mode. Format [CAN] Explanation (1) Data received in page mode is cleared. (2) Values set before the Page Mode Select Command is sent, or set in page mode are retained.
Page 507
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.7 COMMANDS RELATED TO FORMAT 7.7.1 FLASH MEMORY FORMAT COMMAND [ESC] J1 Function Formats (Initializes) flash ROM on the CPU board. Format [ESC] J1; a [LF] [NUL] Term Format (Initialization) designation A: Form storage area...
Page 508
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.8 COMMANDS RELATED TO GRAPHICS 7.8.1 GRAPHIC DATA STORE COMMAND [ESC] SG Function Stores the graphic data on the printer. Format [ESC] SG; a, bbbb, cccc, ddd --- ddd [LF] [NUL] Term Graphic No.
Page 510
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.8.2 GRAPHIC PRINT COMMAND [GS] / Function Prints the graphic data which is stored on the printer. Format [GS] /n Term Graphic No. 1 or 2 Explanation (1) When “n” is set to any value other than the above, a command error occurs.
Page 511
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.9 COMMANDS RELATED TO CONTROL 7.9.1 INITIALIZE COMMAND [ESC] @, [ESC] WR Function Returns the printer to its initial state. Format [ESC] WR [LF] [NUL] [ESC] @ Explanation (1) The printer is returned to the same state as when the power is turned on.
Page 512
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.10 COMMANDS RELATED TO STATUS 7.10.1 STATUS REQUEST COMMAND [ESC] v, [ [ESC] FM, [ESC] WS Function Requests that the printer sends back the printer status and the battery status to the host.
Page 513
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series Status in the compatible mode for B-SP series 00H: Normal state (idling) 01H: Cover open state 02H: Command syntax error (including Ir packet error) 03H: Paper jam 04H: Label end 05H: Cover open error...
Page 514
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.10.2 RECEIVE BUFFER FREE SPACE STATUS REQUEST COMMAND [ESC] WB Function Sends information on the printer status and the free space of the receive buffer to the host. Format [ESC] WB [LF] [NUL]...
Page 515
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series Printer status ..Printer status is indicated in 2-byte data. “00”: Normal status “01”: Cover open state “02”: Operating “04”: Pause state “05”: Wait for strip “06”: Command syntax error (including Ir packet error) “09”: Normal issue end + Label end...
Page 516
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series Notes The status is returned only to the interface which sent this command. The printer returns the same status, regardless of whether or not the compatible mode for the B-SP series is set.
Page 517
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.10.3 MODE INFORMATION ACQUIRE COMMAND [ESC] WX Function Sends the printer mode information to the host. Format [ESC] WX [LF] [NUL] Explanation (1) The mode information format to be sent to the host, is as follows:...
Page 518
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series • When the compatible mode for the B-SP series is on. TPCL mode TPCL TPCL1 mode TPCL1 LABEL mode LABEL RECEIPT mode RECEIPT RECEIPT1 mode RECEIPT1 ESC/POS mode ESC/POS Online reset menu...
Page 519
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.10.4 VERSION INFORMATION ACQUIRE COMMAND [ESC] WV Function Sends information such as the program version of the printer. Format [ESC] WV [LF] [NUL] Explanation (1) The format of the program version data to be returned to the host is as follows.
Page 520
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series [IrDA: IrCOMM, IrDA: IrOBEX, RS-232C, Bluetooth, Wireless LAN] “0” “4” “A” “P” Creation date of program: Creation date “R” 9 bytes of data indicated in order of Day- “2” Month-Year “0” “0”...
Page 521
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.10.5 PRINTER SERIAL NUMBER ACQUIRE COMMAND [ESC] WY Function Sends the printer serial number to the host. Format [ESC] WY [LF] [NUL] Explanation The format of the printer serial No. to be returned to the host is as follows.
Page 522
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.11 COMMANDS RELATED TO BLUETOOTH AND WIRELESS LAN 7.11.1 DEVICE ADDRESS ACQUIRE COMMAND [ESC] IT Function Reads the device address of the Bluetooth or MAC address of the Wireless LAN. Format [ESC] IT [LF] [NUL]...
Page 523
32 bytes xxH xxH Bluetooth device name: Fixed at 32 bytes. When the Bluetooth device name is “TOSHIBA TEC BT.” [54H] [4FH] [53H] [48H] [49H] [42H] [41H] [20H] [54H] [45H] [43H] [20H] [42H] [54H] [00H] [00H] ‘ ’ ‘ ’...
Page 524
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.12 COMMANDS RELATED TO MACRO SETTING 7.12.1 MACRO DEFINITION COMMAND [GS] : Function Defines the print position and the items to be printed at the fixed position. Format [GS] : aaaaa###bbbbbbbbbb#####ccccccc [GS] :...
Page 525
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.12.2 MACRO EXECUTE COMMAND [GS] ^ <Data> [NUL] Function Stores data for items for which the macro definitions are made. Format [GS] ^ aaaaabbbbbccccc [NUL] Term aaaaa: 1st data to be printed...
Page 526
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series 7.13 EXAMPLES 7.13.1 EXAMPLES OF USING COMMANDS Paper feed direction 1) Setting the length of a line feed and printing A B C characters 2) Aligning characters at the center A B C...
Page 527
CHAPTER 7 RECEIPT MODE (INTERFACE COMMANDS) B-EP Series [Examples of transmitted data] (Continued) [GS] k3*54321* [NUL] Printing CODE39 [LF] Printing and a line feed [GS]/1 Printing a graphic [ESC] ! [00H] GHIJK [LF] Printing characters (1x1 magnification) + printing and a line feed...
Page 528
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8. ESC/POS MODE (INTERFACE COMMAND) 8.1 GENERAL DESCRIPTION This printer has 2 modes: standard mode and page mode. In standard mode, the printer performs a print job or feeds paper every time a print or feed command is received.
Page 529
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.2 OUTLINE OF COMMANDS 8.2.1 FORMAT OF INTERFACE COMMAND Command Command Command Control codes are as listed below: (1BH) (1DH) (1CH) (09H) (0AH) (0CH) CAN (18H) 8.2.2 HOW TO USE REFERENCE Function Describes the outline of the function of the command.
Page 530
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.2.3 PRECAUTIONS Print density fine adjustment cannot be selected in the ESC/POS mode. The mode must be switched to the TPCL, LABEL or RECEIPT1 mode once, to select print density fine adjustment.
Page 531
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.6 VALUE SPECIFIED BY EACH COMMAND The values specified by each command are commonly applied in standard and page modes. However, as for the following commands, values must be independently specified and maintained in standard and page modes.
Page 532
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.7 EXPANSION OF PRINT DATA IN PRINT AREA The print data is expanded in the print area as follows. (1) The print area is defined by the Page Mode Print Area Set command ([ESC] W). The left end of the printer as one face must be considered as the starting point of the print area (x0,y0) at the moment when printing or feeding before the printer receives [ESC] W is completed.
Page 533
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.8 EXAMPLE OF RECEIPT PRINTER PRINT LAYOUT (B-EP2DL) Receipt print position (unit: mm) Printable range: 384 dots Note 1 Logo printed Note 3 Note 4 Note 2 3.75 3.75 Note 1 3±1.5 (4±1.5)
Page 534
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.9 EXCEPTION HANDLING 8.9.1 UNDEFINED CODE This applies to the codes that fall in the range between 00h and 1Fh in the character code table. If a code that is not defined in the range is inputted as a command, 1 byte must be discarded, and the subsequent data must be processed as normal data.
Page 535
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10 ESC/POS COMMANDS 8.10.1 HORIZONTAL TAB COMMAND [HT] Function Moves a print position to the next horizontal tab position. Format ASCII: HT Hex: 09h Default Every 8 characters of font A (9th, 17th digit…) Explanation (1) This command will be ignored if the next horizontal tab position is not specified.
Page 536
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.2 LINE FEED COMMAND [LF] Function Prints data and inserts a line feed. Format ASCII: LF Hex: 0Ah Explanation (1) If print data is received with the specified number of digits per line exceeded and no line feed ([LF]), it will be printed with a line feed inserted automatically.
Page 537
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.3 PAGE MODE PRINT COMMAND [FF] Function Prints the data expanded in the print area in page mode, and returns the printer to standard mode. Format ASCII: FF Hex: 0Ch Explanation (1) This command is ignored except when page mode is selected.
Page 538
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.4 PAGE MODE CANCEL COMMAND [CAN] Function Clears all data in the currently specified print area for page mode. Format ASCII: CAN Hex: 18h Explanation (1) This command is ignored except when page mode is selected.
Page 539
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.5 PAGE MODE COLLECTIVE PRINT COMMAND [ESC] [FF] Function Prints the data expanded in the print area in page mode altogether. Format ASCII: ESC FF Hex: 1Bh 0Ch Explanation (1) This command is ignored except when page mode is selected.
Page 540
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.6 SPACING SET COMMAND [ESC] [SP] Function Specifies spacing (or the number of dots) on the right of an ANK character. Format [ESC] SPn Term ASCII: ESC SP n Hex: 1Bh 20h n [Parameter] n: Spacing (or the number of dots) on the right 0 ≤...
Page 541
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.7 PRINT MODE ALL SET COMMAND [ESC] ! Function Performs character control (specifies print modes altogether). Format [ESC] !n Term ASCII: ESC ! n Hex: 1Bh 21h n [Parameter] 0 ≤ n ≤ 255 (00h ≤ n ≤ FFh) n: Specifying print mode 0: Font A (12 ×...
Page 543
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.8 DOWNLOADED CHARACTER (WRITABLE CHARACTER) SET COMMAND [ESC] % Function Sets or cancels downloaded characters (writable characters). Format [ESC] %n Term ASCII: ESC % n Hex: 1Bh 25h n [Parameter] n: Setting / canceling downloaded character 0 ≤ n ≤ 255 (00h ≤ n ≤ FFh)
Page 544
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.9 DOWNLOADED CHARACTER (WRITABLE CHARACTER) DEFINE COMMAND [ESC] & Function Defines downloaded characters (writable characters) of the ANK code. Format [ESC] &ynm [xd …d …d ・・・・・[xd Term ASCII: ESC & Hex: 1Bh 26h [Parameter] y: No.
Page 549
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series [Print example] Single density (m = 0) 8-dot single density: 8-dot double density: 1-byte data is tripled in the vertical direction, 1-byte data is tripled in the vertical and doubled in the horizontal direction.
Page 550
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.11 UNDERLINING SET COMMAND [ESC] - Function Sets or cancels underlining. Format [ESC] -n Term ASCII: ESC - Hex: 1Bh 2Dh [Parameter] 0 ≤ n ≤ 2 (00h ≤ n ≤ 02h) n: Setting underlining 48 ≤...
Page 551
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.12 DOWNLOADED CHARACTER ERASE COMMAND [ESC] ? Function Erases downloaded characters in a specified code. Format [ESC] ?n Term ASCII: ESC ? Hex: 1Bh 3Fh [Parameter] 32 ≤ n ≤ 126 (20h ≤ n ≤ 7Eh)
Page 552
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.13 30-DOT LINE FEED LENGTH SET COMMAND [ESC] 2 Function Sets a line feed length to 30 dots. 203 dpi: 0.125 mm/dot Format ASCII: ESC 2 Hex: 1Bh 32h Explanation (1) Line feed lengths can be independently specified in standard and page modes.
Page 553
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.14 MINIMUM DOTS FOR LINE FEED LENGTH SET COMMAND [ESC] 3 Function Sets a line feed length to n/2 dot. Specifies the minimum number of dots for line feed. Format [ESC] 3n...
Page 554
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.15 PRINTER SELECT/DESELECT COMMAND [ESC] = Function Selects or deselects the printer. While the printer is deselected, received data is discarded until it is selected by this command again. Format [ESC] =n...
Page 555
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.16 INITIALIZE COMMAND [ESC] @ Function Clears data in the currently expanded image buffer, and initializes the settings. Format [ESC] @ Term ASCII: ESC @ Hex: 1Bh 40h Explanation (1) The data and macro definition in the receive buffer are maintained.
Page 556
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series [Data initialized by ESC@] Command Functions Default value Horizontal tab Every 8 characters of font A (9th, 17th digit …) ESC SP Spacing on the right of character 1 dot ESC !
Page 557
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.17 HORIZONTAL TAB POSITIONS SET COMMAND [ESC] D Function Specifies the position of the horizontal tab. Format [ESC] D [n … n ] [NUL] Term ASCII: ESC D Hex: 1Bh 44h [Parameter] 1 ≤...
Page 559
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.18 BOLD PRINTING SET COMMAND [ESC] E Function Sets or cancels bold printing. Format [ESC] En Term ASCII: ESC E Hex: 1Bh 45h [Parameter] 0 ≤ n ≤ 255 (00h ≤ n ≤ FFh)
Page 560
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.19 DOUBLE PRINTING SET COMMAND [ESC] G Function Sets or cancels double printing. Format [ESC] Gn Term ASCII: ESC G Hex: 1Bh 47h [Parameter] 0 ≤ n ≤ 255 (00h ≤ n ≤ FFh)
Page 561
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.20 FEED LENGTH SET COMMAND [ESC] J Function Prints data and feeds over the length of n/2 dots. Format [ESC] Jn Term ASCII: ESC J Hex: 1Bh 4Ah [Parameter] 0 ≤ n ≤ 255 (00h ≤ n ≤ FFh)
Page 562
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.21 SWITCHING TO PAGE MODE COMMAND [ESC] L Function Makes transition from standard mode to page mode Format [ESC] L Term ASCII: ESC L Hex: 1Bh 4Ch Explanation (1) This command will be valid only if it is included at the beginning of a line.
Page 563
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.22 INTERNATIONAL CHARACTER SELECT COMMAND [ESC] R Function Selects an international character set. The value specified by this command is invalid because the B-EP series does not support this function. Format [ESC] Rn Term ASCII: ESC R...
Page 564
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series [Print example] France Germany Denmark I Sweden Italy Spain Japan Norway Denmark II 8-37...
Page 565
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.23 SWITCHING TO STANDARD MODE COMMAND [ESC] S Function Makes transition from page mode to standard mode. Format [ESC] S Term ASCII: ESC S Hex: 1Bh 53h Explanation (1) This command will be valid only if it is executed in page mode.
Page 566
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.24 PAGE MODE PRINT DIRECTION SET COMMAND [ESC] T Function Selects a print direction and print starting point in page mode. Format [ESC] Tn Term ASCII: ESC T Hex: 1Bh 54h [Parameter] 0 ≤...
Page 567
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.25 CHARACTER ROTATION SET COMMAND [ESC] V Function Sets or cancels the 90-degree rotation (clockwise) of a character. Format [ESC] Vn Term ASCII: ESC V Hex: 1Bh 56h [Parameter] 0 ≤ n ≤ 1 (00h ≤ n ≤ 01h) n: Selecting 90-degree rotation (clockwise) 48 ≤...
Page 568
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.26 PAGE MODE PRINT AREA SET COMMAND [ESC] W Function Specifies a position and size of the print area in page mode. Format [ESC] WxLxHyLyHdxLdxHdyLdyH Term ASCII: ESC W Hex: 1Bh 57h [Parameter] : Starting point in horizontal direction (low order) 0 ≤...
Page 569
(6) If the following commands, which are used commonly among the B-EP series, are received, a higher priority will be given to them. Therefore, the same range as these commands cannot be specified.
Page 570
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.27 JUSTIFICATION COMMAND [ESC] a Function Justifies print data. Format [ESC] an Term ASCII: ESC a Hex: 1Bh 61h [Parameter] 0 ≤ n ≤ 2 (00h ≤ n ≤ 02h) n: Justifying print position 48 ≤...
Page 571
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.28 PANEL KEY (FEED KEY) SET COMMAND [ESC] c5 Function Enables or disables the panel key (FEED key). Format [ESC] c5n Term ASCII: ESC c 5 Hex: 1Bh 63h 35h [Parameter] 0 ≤ n ≤ 255 (00h ≤ n ≤ FFh)
Page 572
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.29 PAPER FEED LENGTH SET COMMAND [ESC] d Function Prints data and feeds paper over n lines. However, the specified number of lines that paper is fed over is not stored. Format...
Page 573
5: PC865 (Nordic) 255: Blank page Default value n: 0 Explanation (1) PC850 is the only code page that the B-EP series supports. Therefore, any values other than 2 are invalid. [Program example] for(i=0;i<2;i++) { fprintf( stdprn, "\033t"); /* Selecting code page */ fputc( i, stdprn );...
Page 574
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.31 INVERTED PRINTING SET COMMAND [ESC] { Function Sets or cancels inverted printing (upside-down). Format [ESC] {n Term ASCII: ESC { Hex: 1Bh 7Bh [Parameter] 0 ≤ n ≤ 255 (00h ≤ n ≤ FFh)
Page 575
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.32 ABSOLUTE POSITION SET COMMAND [ESC] $ Function Specifies an absolute position. Format [ESC] $nLnH Term ASCII: ESC $ Hex: 1Bh 24h [Parameter] 0 ≤ nL ≤ 255 (00h ≤ nL ≤ FFh) n: No.
Page 576
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.33 RELATIVE POSITION SET COMMAND [ESC] \ Function Specifies a relative position. Format [ESC] \nLnH Term ASCII: ESC \ Hex: 1Bh 5Ch [Parameter] 0 ≤ nL ≤ 255 (00h ≤ nL ≤ FFh) n: No.
Page 577
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.34 CHINESE CHARACTER PRINT MODE ALL SET COMMAND [FS] ! Function Specifies printing mode for Chinese characters altogether. Format [FS] ! Term ASCII: FS! Hex: 1Ch 21h [Parameter] 0 ≤ n ≤ 255 (00h ≤ n ≤ FFh)
Page 578
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.35 CHINESE CHARACTER MODE SET COMMAND [FS] & Function Prints Chinese characters. Format [FS] & Term ASCII: FS& Hex: 1Ch 26h Explanation (1) If this command is received with shift JIS selected for a Chinese character code system, the defined parameter setting will be applied when the Chinese character code system is changed to JIS.
Page 579
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.36 CHINESE CHARACTER UNDERLINING SET COMMAND [FS] - Function Sets or cancels underlining for ANK characters. Format [FS]-n Term ASCII: FS- Hex: 1Ch 2Dh [Parameter] 0 ≤ n ≤ 2 (00h ≤ n ≤ 02h) n: Setting underlining for Chinese character 48 ≤...
Page 580
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.37 CHINESE CHARACTER MODE CANCEL COMMAND [FS] . Function Cancels Chinese character mode. Format [FS] . Term ASCII: FS. Hex: 1Ch 2Eh Explanation (1) If this command is received with shift JIS selected for a Chinese character code system, the defined parameter setting will be applied when the Chinese character code system is changed to JIS.
Page 581
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.38 WRITABLE CHARACTER OF CHINESE CHARACTER DEFINE COMMAND [FS] 2 Function Specifies writable characters of Chinese characters. Format [FS] 2a1a2 [d …d Term ASCII: FS2 Hex: 1Ch 32h [Parameter] a1: Writable character code (high order) a2: Writable character code (low order) a1 = 77h, 21h ≤...
Page 582
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series [Defined character] Example of font A 24 dots Example: 24 dots 24 dots [Character] d1=0x00 d4=0x03 d7=0x0F d10=0x0D d13=0x0C d16=0x0D … d2=0x00 d5=0xC0 d8=0XC0 d11=0x80 d14=0x03 d17=0x83 … d3=0x00 d6=0x00 d9=0x00 d12=0x00 d15=0x00 d18=0x80 …...
Page 583
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.39 CHINESE CHARACTER CODE SYSTEM SET COMMAND [FS] C Function Selects a Chinese character code system. Format [FS] Cn Term ASCII: FS C Hex: 1Ch 43h [Parameter] n: Selecting Chinese character code system...
Page 584
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series [Example] [1C][43][01][1C][26][31][32][33][41][42][43][82][A0][82][A2][82][A4][1C][2E][B1][B2][B3] [1C][2E][31][32][33][41][42][43][1C][43][00][1C][26][24][22][24][24][24][26][1C][2E][B1][B2][B3] [1C][2E][31][32][33][41][42][43][1C][43][01][1C][26][82][A0][82][A2][82][A4][1C][2E][B1][B2][B3] [1C][43][01][1C][26][31][32][33][41][42][43][82][A0][82][A2][82][A4][B1][B2][B3] [1C][2E][31][32][33][41][42][43][1C][43][01][1C][26][82][A0][82][A2][82][A4][B1][B2][B3] [1C][2E][31][32][33][41][42][43][1C][43][00][1C][26][24][22][24][24][24][26][B1][B2][B3] Reference Chapter 12 Character Code Table Chapter 13 Chinese Character Code Table 8-57...
Page 585
(4) If a double-width character is specified, spacing will also be doubled. (5) For the B-EP series, spacing on the left of a Chinese character is added to spacing on its right. Therefore, there is no space found on the left of the Chinese character in the print output.
Page 586
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series [Program example] fprintf( stdprn, "\034S%c\x02",0x00); /* 2 dots on the right of character */ fprintf( stdprn, "\x82\x50\x82\x50\x82\x50\x82\x50\n"); fprintf( stdprn, "\034S%c\x1c",0x00); /* 28 dots on the right of character */ fprintf( stdprn, "\x82\x51\x82\x51\x82\x51\x82\x51\n");...
Page 587
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.41 CHINESE CHARACTER MAGNIFICATION SET COMMAND [FS] W Sets or cancels the quadrupling of Chinese character (double height × double width). Function Format [FS] Wn Term ASCII: FS W Hex: 1Ch 57h [Parameter] n: Setting quadrupling of Chinese character (double height ×...
Page 588
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.42 PAGE MODE ABSOLUTE POSITION SET COMMAND [GS] $ Function Specifies an absolute position in the vertical direction in page mode. Format [GS] $nLnH Term ASCII: GS $ Hex: 1Dh 24h [Parameter] nL: Specifying absolute position in the vertical direction in page mode (low order) 0 ≤...
Page 589
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.43 REVERSE CHARACTER SET COMMAND [GS] B Function Sets or cancels reverse characters (white text on black) Format [FS] Bn Term ASCII: GS B Hex: 1Dh 42h [Parameter] 0 ≤ n ≤ 255 (00h ≤ n ≤ FFh)
Page 590
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.44 ID TRANSMISSION COMMAND [GS] I Function Transmits the following ID specified by n. Format [GS] In Term ASCII: GS I Hex: 1Dh 49h [Parameter] 1 ≤ n ≤ 3 (01h ≤ n ≤ 03h) n: Selecting ID to transmit 49 ≤...
Page 591
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.45 PAGE MODE RELATIVE POSITION IN VERTICAL DIRECTION SET COMMAND [GS] \ Function Specifies a relative position in the vertical direction in page mode. Format [GS] \nLnH Term ASCII: GS \ Hex: 1Dh 5Ch...
Page 592
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.47 BARCODE PRINT COMMAND [GS] k Function Selects a barcode system and prints barcodes. Format 1 [GS] km [d …d ] [NUL] 2 [GS] kmn [d …d Term ASCII: GS k Hex: 1Dh 6Bh...
Page 593
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series Explanation (1) This command ends with the [NUL] code. (2) For UPC-A and UPC-E, upon the input of 12-byte barcode data, a barcode is printed. The data subsequent to it is processed as normal data.
Page 594
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series Explanation [CODE128] (1) Please refer to “APPENDIX: BARCODE” for the overview of CODE 128. (2) When this printer is used to print a CODE128 barcode, care must be taken regarding the following points when transmitting barcode data: 1 The beginning of the barcode data must always be a code set (CODE A, CODE B, or CODE C), based on which the first code set is selected.
Page 595
(8) An HRI character for a control character (00H to 1FH and 7FH) is space. [CODE93] The B-EP series does not support the following functions: (1) An HRI character for a start character ( ) is printed at the beginning of the HRI character string.
Page 596
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.48 APPENDIX: BARCODE 8.10.48.1 CODE128 Code set A: ASCII characters ranging between 00H and 5FH can be represented. Code set B: ASCII characters ranging between 20H and 7FH can be represented. Code set C: Two digits can be represented using 1 character.
Page 597
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series [Characters printable with code set B] Data to be Data to be Data to be Data to be Data to be Char Char Char Char Char transmitted transmitted transmitted transmitted transmitted FNC1...
Page 598
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.48.2 UPC-E Conversion to UPC-E is performed as shown by the tables below. UPC-E (7 digit) version UPC-A (12 digit) version ← ← ← ← ← ← • Data check is performed for the “0” portion (shaded in the right table) to categorize the data into 4 patterns from .
Page 599
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.49 BARCODE HORIZONTAL SIZE COMMAND [GS] w Function Sets the horizontal size of the barcode. Format [GS] wn Term ASCII: GS w Hex: 1Dh 77h [Parameter] Horizontal size of the barcode 2 ≤ n ≤ 15 (02h ≤ n ≤ 0Fh)
Page 600
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series [CODE39, Interleaved 2 of 5, or NW-7] Narrow Wide Character-to-char Space Space acter space (Unit: dot) * The character-to-character space does not exist in Interleaved 2 of 5. (1) A multilevel barcode refers to the following barcode system:...
Page 601
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.50 BARCODE HEIGHT COMMAND [GS] h Function Sets the barcode height. Format [GS] hn Term ASCII: GS h Hex: 1Dh 68h [Parameter] No. of dots for the barcode height 1 ≤ n ≤ 255 (01h ≤ n ≤ FFh)
Page 602
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.51 NUMERALS UNDER BARS COMMAND [GS] H Function Specifies a print position of an HRI character when a barcode is printed. Format [GS] Hn Term ASCII: GS H Hex: 1Dh 48h [Parameter] 0 ≤...
Page 603
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.52 PRINT AREA WIDTH SET COMMAND [GS] W Function Specifies the width of the print area defined by nL and nH. The width of the print area is determined by [(nL + nH × 256) dots].
Page 604
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.53 DOWNLOADED BIT IMAGE DEFINE COMMAND [GS] * Function Defines a downloaded bit image that contains the number of dots specified by n1 and n2. Format [GS] *n1n2 [d …d (n1×n2×8) Term...
Page 605
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series n1*8 dots n2*8 dots dn1* n2*8 Reference Downloaded Bit image Print Mode Set Command ([GS] /) 8-78...
Page 606
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.54 DOWNLOADED BIT IMAGE PRINT MODE SET COMMAND [GS] / Function Prints a logo (image data) specified by n in mode specified by k Format [GS] /m Term ASCII: GS / Hex: 1Dh 2Fh [Parameter] Downloaded bit image data print mode 0 ≤...
Page 607
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.55 MACRO DEFINITION START/END COMMAND [GS] : Function Specifies the start or end of a macro. Format [GS] : Term ASCII: GS : Hex: 1Dh 3Ah Explanation (1) If this command is included under normal operation, the start of a macro definition will be specified.
Page 608
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.56 MACRO EXECUTE COMMAND [GS] ^ Function Executes a defined macro. Format [GS] ^n1n2n3 Term ASCII: GS ^ Hex: 1Dh 5Eh [Parameter] 0 ≤ n1 ≤ 255 (00h ≤ n1 ≤ FFh) n1: No.
Page 609
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.58 LEFT MARGIN SET COMMAND [GS] L Function Sets the left margin as specified by nL and nH. The left margin is determined by [(nL + nH × 256) × dots]. Format...
Page 610
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.10.59 CHARACTER SIZE SET COMMAND [GS] ! Function Specifies a character size (magnification in the vertical / horizontal direction). Format [GS] !n Term ASCII: GS ! Hex: 1Dh 21h [Parameter] 1 ≤ n ≤ 255 (00h ≤ n ≤ FFh) n: Specifying a character size * 1 ≤...
Page 611
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.11 TEC ORIGINAL COMMANDS 8.11.1 MODE SELECT COMMAND [ESC] M Function Changes the print mode. Format [ESC] M; a (,b) [LF] [NUL] Term Print mode designation Print mode (Bit 0 to Bit 6 * See Table 1.)
Page 612
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series Explanation There are 4 types of the print mode: “LABEL,” “RECEIPT,” “TPCL” and “ESC/POS.” “Automatic status response in IrDA: IrCOMM” or USB is the function for the specifications which do not allow the printer to spontaneously send the status through IrDA; IrCOMM or USB.
Page 613
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series The print mode can be changed by the printer itself. However, since the setting for the automatic status response in IrDA: IrCOMM or USB cannot be changed, the setting remains as the same.
Page 614
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.11.2 RESET COMMAND [ESC] WR Function Returns the printer to its initial state. Format [ESC] WR [LF] [NUL] Explanation The printer is returned to the same state as when the power is turned on.
Page 615
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.11.3 STATUS REQUEST COMMAND [ESC] v, [ESC] FM, [ESC] WS Function Requests that the printer sends back the printer status and the battery status to the host. Format [ESC] v [ESC] FM [LF] [NUL]...
Page 616
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series Status in the compatible mode for the B-SP series 00H: Normal state (idling) 01H: Cover open state 02H: Command syntax error (including Ir packet error) 03H: Paper jam 04H: Label end 05H: Cover open error...
Page 617
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.11.4 RECEIVE BUFFER FREE SPACE STATUS REQUEST COMMAND [ESC] WB Function Sends information on the printer status and the free space of the receive buffer to the host. Format [ESC] WB [LF] [NUL]...
Page 618
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series Printer status Printer status is indicated in 2-byte data. “00”: Normal state “01”: Cover open state “02”: Operating “04”: Pause state “05”: Wait for strip “06”: Command syntax error (including Ir packet error) “09”: Normal issue end + Label end...
Page 619
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series Notes The status is returned only to the interface which sent this command. (2) The printer returns the same status, regardless of whether or not the compatible mode for the B-SP series is set.
Page 620
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.11.5 MODE INFORMATION ACQUIRE COMMAND [ESC] WX Function Sends the printer mode information to the host. Format [ESC] WX [LF] [NUL] Explanation (1) The status when the compatible mode for the B-SP series is on differs from the status when the compatible mode is off.
Page 622
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series • When the compatible mode for the B-SP series is on TPCL mode TPCL-LE TPCL1 mode TPCL-LE1 LABEL mode LABEL RECEIPT mode RECEIPT RECEIPT1 mode RECEIPT1 ESC/POS mode ESC/POS Online reset menu...
Page 623
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 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 The format of the printer serial No. to be returned to the host is as follows.
Page 624
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.11.7 DEVICE ADDRESS ACQUIRE COMMAND [ESC] IT Function Reads the device address of the Bluetooth or MAC address of the wireless LAN. Format [ESC] IT [LF] [NUL] Explanation (1) This command reads the device address of the Bluetooth or MAC address of the wireless LAN.
Page 625
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series 8.11.8 BLUETOOTH RELATED PARAMETER ACQUIRE COMMAND [ESC] WT Function Acquires the parameters related to the Bluetooth. Format [ESC] WT [LF] [NUL] Explanation (1) This command reads the parameters related to the Bluetooth. When using the IrDA: TEC Protocol, the following information field is placed in the information frame and sent in packets to the host.
Page 626
CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS) B-EP Series [Information field to be sent when IrDA: IrCOMM, IrDA: IrOBEX, USB, RS-232C, Bluetooth, or wireless LAN is used] STX Sec Interval Window 02H 3xH 3xH 3xH 3xH 3xH 3xH 3xH 3xH 3xH 3xH...
Page 627
CHAPTER 9 ERROR PROCESSING B-EP Series 9. ERROR PROCESSING 9.1 GENERAL DESCRIPTION This chapter describes details regarding the errors of the printer. If the printer detects an error, it indicates an error message (on the LCD or LED), returns a status...
Page 628
CHAPTER 9 ERROR PROCESSING B-EP Series 9.2 COMMUNICATION ERRORS 9.2.1 COMMAND SYNTAX ERROR An error will occur if a command length error or parameter designation error is found while analyzing the command. If the form corresponding to the form number designated by the Data Print Command is not stored, or if the form length designated by the Data Print Command does not match the stored form length, an error will occur.
Page 629
CHAPTER 9 ERROR PROCESSING B-EP Series 9.3 ERRORS IN ISSUING OR FEEDING 9.3.1 PAPER JAM / LABEL END / NORMAL END + LABEL END B-EP (It does not matter whether the compatibility setting for the B-SP series is on or off.)
Page 630
CHAPTER 9 ERROR PROCESSING B-EP Series If the label pitch is longer than 170 While printing is being performed on mm, the tag paper is fed over the the receipt with no sensor designated, distance 1.5 times as long as the tag...
Page 631
CHAPTER 9 ERROR PROCESSING B-EP Series 9.3.2 BROKEN HEAD DOTS ERROR If broken head dots are detected in the broken head dots check when turning the power on or closing the cover, an error will occur. If the thermal head driver fails, an error will occur.
Page 632
CHAPTER 9 ERROR PROCESSING B-EP Series 9.4 BATTERY ERROR 9.4.1 LOW BATTERY The LED lights up in red, if printing is cannot be performed any more because the battery level is low. 9.4.2 ABNORMAL HIGH VOLTAGE If it is detected that the battery voltage exceeds 9.5V for B-EP2DL or 17.5V for B-EP4DL, an error will occur.
Page 633
CHAPTER 9 ERROR PROCESSING B-EP Series 9.8 SYSTEM ERRORS 9.8.1 ADDRESS ERROR • A command has been fetched from an odd address. • Word data has been accessed from a place other than the boundary of the word data. •...
Page 634
CHAPTER 9 ERROR PROCESSING B-EP Series 9.9 OPERATIONS WHEN AN ERROR OCCURS If the printer detects an error, the LED will blink (at intervals of 0.1 seconds), the printer stops the operation, and reverts to a wait state for a command from the host.
Page 635
CHAPTER 9 ERROR PROCESSING B-EP Series 9.11 STATUS VALUES [The compatible mode for the B-SP series is off.] * The values in the upper cell are provided for the LABEL/RECEIPT mode (1 byte). The values in the lower cell are provided for the TPCL mode (3 bytes).
Page 636
CHAPTER 9 ERROR PROCESSING B-EP Series Status when the Status by the Auto status Condition of command is Status Request transmission clearing error received during an State Command error state indication RS-232C IrDA: TEC Protocol IrDA: IrCOMM IrDA: TEC Protocol...
Page 637
CHAPTER 9 ERROR PROCESSING B-EP Series [The compatible mode for the B-SP series is on.] * The values in the upper cell are provided for the LABEL/RECEIPT mode (1 byte). The values in the lower cell are provided for the TPCL mode (3 bytes).
Page 638
CHAPTER 9 ERROR PROCESSING B-EP Series Status when the Status by the Auto status Condition of command is Status Request transmission clearing error received during an State Command error state indication RS-232C IrDA: TEC Protocol IrDA: IrCOMM IrDA: TEC Protocol...
Page 639
CHAPTER 9 ERROR PROCESSING B-EP Series * The LED goes OFF when: • The auto power-off function is performed. (This is the same state when the printer is turned OFF.) • The error LED turns off in 5 minutes if the auto power-off time is set to 6 minutes or more.
Page 640
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series 10. SYSTEM MODE 10.1 GENERAL DESCRIPTION This chapter describes details regarding the interface commands for the SYSTEM mode. specification regarding keys, refer to the Key Operation Specification, and command specification for setup tools, refer to the Setup Command Specification.
Page 641
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series 10.5 OUTLINE OF COMMANDS 10.5.1 FORMAT OF INTERFACE COMMAND Command & Data LF NUL The length from [ESC] to [LF] [NUL] must be as specified by each command. There is the following control code:...
Page 642
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series 10.6 COMMANDS RELATED TO SETTING 10.6.1 ID SET COMMAND [ESC] ID Function Sets the ID for the printer. Format [ESC] ID; aa(, b) [LF] [NUL] Term aa: Printer ID (2-byte hex data)
Page 643
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series 10.6.2 MODE SELECT COMMAND [ESC] M Function Changes the print mode. Format [ESC] M; a(, b) [LF] [NUL] Term Print mode designation Print mode (Bit 0 to Bit 6 * See Table 1.)
Page 644
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series Notes (1) The print mode designation (the specified print mode and the automatic status response in IrDA: IrCOMM or USB) is backed up in memory (even if the power is turned off).
Page 645
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series (12) When the LABEL or TPCL mode is selected in the mode select command and the print position detection feed parameter is set 0 (not performed), and if an error occurs while the printer issues in RECEIPT1 or ESC/POS mode, the print mode is changed to the LABEL or TPCL mode after the error is cleared.
Page 646
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series 10.7 COMMANDS RELATED TO FINE ADJUSTMENT 10.7.1 PRINT START POSITION FINE ADJUST COMMAND [ESC] AX Function Adjusts the feed value so that the label will be shifted forward or backward from the print start position automatically determined.
Page 647
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series Explanation (1) When any value other than + or – is designated for the backward/forward print position fine adjustment, a command error results. (2) When any fine adjustment value for print position which is out of the above range, is set, an error results.
Page 648
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series [Strip position fine adjustment] When the label-to-label gap is 3 mm, ± 0.0 mm ▼ + 3.0 mm - 2.0 mm ▼ When the label-to-label gap is 7 mm, ± 0.0 mm ▼...
Page 649
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series Notes (1) Each fine adjustment value is backed up in memory (even if the power is turned off). (2) Each parameter is set to 0.0 mm at the time of shipment from the factory.
Page 650
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series 10.7.2 PRINT DENSITY FINE ADJUST COMMAND [ESC] AY Function Adjusts the automatically set print density. Format [ESC] AY; abb, c(, d) [LF] [NUL] Term Indicates whether to increase or decrease the density...
Page 651
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series (6) When “3: Auto1” or “5: Auto2” is designated for the 2-inch print head, “Not divided,” “Divided by 3” or “Divided by 2” is automatically selected for every line according to the print ratio. The width of half a dot may not be printed on the line when switching among “Not divided,”...
Page 652
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series 10.7.3 STRIP SENSOR THRESHOLD VALUE SET COMMAND [ESC] AH, [ESC] AZ Function Sets the sensor threshold value to switch the mode between strip and batch. Format [ESC] AH; a [LF] [NUL] [ESC] AZ; a [LF] [NUL]...
Page 653
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series 10.8 COMMANDS RELATED TO CONTROL 10.8.1 INITIALIZE COMMAND [ESC] WR, [ESC] @ Function Returns the printer to its initial state. Format [ESC] WR [LF] [NUL] [ESC] @ Explanation (1) The printer is returned to the same state as when the power is turned on.
Page 654
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series 10.9 COMMANDS RELATED TO STATUS 10.9.1 STATUS REQUEST COMMAND [ESC] FM, [ESC] WS, [ESC] v Function Sends the printer status to the host computer. Format [ESC] FM [LF] [NUL] [ESC] WS [LF] [NUL]...
Page 655
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series Printer status ..Printer status is indicated in 1-byte data. 00H: Normal status (Idling) 01H: Cover open status 02H: Command syntax error (including Ir packet error) 03H: Paper jam 04H: Label end...
Page 656
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series Status in the compatible mode for B-SP series 00H: Normal state (idling) 01H: Cover open state 02H: Command syntax error (including Ir packet error) 03H: Paper jam 04H: Label end 05H: Cover open error...
Page 657
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series [TPCL mode] This command makes the printer send its status regardless of the status response setting. The status to be transmitted is the current printer status, and indicates the latest status only. The remaining count indicates the remaining count of the batch currently being printed.
Page 658
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series Printer status “00”: Normal state “01”: Cover open state “02”: Operating “04”: Pause state “05”: Wait for strip “06”: Command syntax error (including Ir packet error) “11”: Paper jam “13”: Label end “15”: Cover open error...
Page 659
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series Printer status for the compatible mode for the B-SP series “00”: Normal state “01”: Cover open state “02”: Operating including the following statuses: wait for strip, pause state, wait for battery recovery, wait for print head/motor...
Page 660
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series 10.9.2 MODE INFORMATION ACQUIRE COMMAND [ESC] WX Function Sends the printer mode information to the host. Format [ESC] WX [LF] [NUL] Explanation (1) Statuses are different between when the compatible mode for the B-SP series is on and when it is off.
Page 661
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series • When the compatible mode for the B-SP series is on. TPCL mode TPCL TPCL1 mode TPCL1 LABEL mode LABEL RECEIPT mode RECEIPT RECEIPT1 mode RECEIPT1 ESC/POS mode ESC/POS Online reset menu...
Page 662
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series 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 The format of the printer serial No. to be returned to the host is as follows.
Page 663
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series 10.10 COMMANDS RELATED TO BLUETOOTH AND WIRELESS LAN 10.10.1 DEVICE ADDRESS ACQUIRE COMMAND [ESC] IT Function Reads the device address of the Bluetooth or MAC address of the wireless LAN. Format [ESC] IT [LF] [NUL]...
Page 664
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series 10.10.2 BLUETOOTH DEVICE NICKNAME SETTING [ESC] BN Function Sets Bluetooth device nickname. Format [ESC] BN; aaa…aaa [LF] [NUL] Term aaa…aaa: Device nickname B-EP-GH30/TH30: Up to 32 bytes B-EP-GH32: Up to 24 bytes Factory default: “TOSHIBATEC BT”...
Page 665
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series 10.10.3 INQUIRY RESPONSE TIME SETTING COMMAND [ESC] BZ Function Sets the time for the printer to respond to an inquiry of the Bluetooth. Format [ESC] BZ; a [LF] [NUL] Term Inquiry response time 0: Inquiry is not possible.
Page 666
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series 10.10.4 INTERVAL/WINDOW SETTING AT THE INQUIRY/PAGE [ESC] BQ Function Sets an interval and window of inquiry/page for the Bluetooth interface. Format [ESC] BQ; aaaa, bbbb [LF] [NUL] Term aaaa: Interval of an inquiry/page (Fixed at 4 digits) 0018 to 4096 (0.625 msec./unit)
Page 667
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series 10.10.5 BONDING SETTING COMMAND [ESC] BP Function Sets the destination and the PIN code (bonding setting) of the Bluetooth. Format [ESC]BP; aaaaaaaaaaaa, b, cccccccccccccccccccccccccccccccc [LF] [NUL] Term aaaaaaaaaaaa: Bluetooth device address (BD address) of the destination B-EP-GH30/TH30: (1) 12-byte ASCII characters (hex.
Page 668
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series (8) This command can be sent from either the Bluetooth interface or the IrDA interface. When the printer power is not turned off then on after sending the command via either interface, and command transmission is performed via a different interface, the command may be invalid.
Page 669
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series 10.10.6 BONDING TABLE DELETION COMMAND [ESC] BE Function Deletes the bonding table of the Bluetooth. Format [ESC] BE; aaaaaaaaaaaa [LF] [NUL] [ESC] BE; b [LF] [NUL] Term aaaaaaaaaaaa: Bluetooth device address (BD address) 12-byte ASCII (hex.
Page 670
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series 10.10.7 SECURITY SETTING COMMAND [ESC] BS Function Performs the security setting for the Bluetooth. Format [ESC] BS; a [LF] [NUL] Term Security setting 1: No security (Factory defalut setting) 2: Reserved. 3: Link level security...
Page 671
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series B-EP-GH32: When the Bluetooth version of the host is V2.0 or before, link level security (with PIN code) is implemented regardless of the security setting. When the Bluetooth version of the host is V2.1 or later, SSP is implemented regardless of the security setting.
Page 672
32 bytes xxH xxH Bluetooth device name: Fixed at 32 bytes. When the Bluetooth device name is “TOSHIBA TEC BT.” [54H] [4FH] [53H] [48H] [49H] [42H] [41H] [20H] [54H] [45H] [43H] [20H] [42H] [54H] [00H] [00H] ‘ ’ ‘ ’...
Page 673
32 bytes xxH xxH Bluetooth device name: Fixed at 32 bytes. When the Bluetooth device name is “TOSHIBA TEC BT.” [54H] [4FH] [53H] [48H] [49H] [42H] [41H] [20H] [54H] [45H] [43H] [20H] [42H] [54H] [00H] [00H] ‘ ’ ‘ ’...
Page 674
CHAPTER 10 SYSTEM MODE (INTERFACE COMMANDS) B-EP Series 10.11 SETUP MODE 10.11.1 GENERAL DESCRIPTION The settings can be changed not only by commands but also by the key operations from the printer. This section describes how to change the settings by the key operations from the printer.
Page 675
CHAPTER 11 OTHER FUNCTIONS B-EP Series 11. OTHER FUNCTIONS 11.1 GENERAL DESCRIPTION This chapter describes details regarding the individual functions of the printer. 11-1...
Page 676
CHAPTER 11 OTHER FUNCTIONS B-EP Series 11.2 REPRINT FUNCTION 11.2.1 LABEL MODE When the batch issue mode is selected, the same label as the last one issued is printed out by pressing the [FEED] key. When the [FEED] key is pressed if no label has been printed, the specified label pitch length of one label is fed.
Page 677
CHAPTER 11 OTHER FUNCTIONS B-EP Series * A time period until the printer enters the power save mode varies depending on the setting (1 to 30 seconds.) 11.4 AUTOMATIC LABEL PRINT POSITIONING 11.4.1 LABEL MODE, TPCL MODE When the cover is closed, the label is automatically fed to the first print position. However, if no sensor is designated, a feed is not performed.
Page 678
CHAPTER 11 OTHER FUNCTIONS B-EP Series [Barcode sample of Bluetooth device address] 11.8 WIRELESS LAN PARAMETER SETTINGS PRINTING FUNCTION When the printer which supports the wireless LAN is turned ON by holding down the [POWER] key while the power is off, the printer prints a wireless LAN parameter settings label regardless of the issue mode.
Page 679
CHAPTER 11 OTHER FUNCTIONS B-EP Series 11.11 STATUS 11.11.1 FUNCTIONS The printer has the status response functions as listed below: (1) Status transmission at the end of a normal issue or in the event of the occurrence of an error...
Page 680
CHAPTER 11 OTHER FUNCTIONS B-EP Series • Strip wait status If the Status Request Command is sent while printing is being attempted using the [FEED] key and a label is on the strip shaft (for example, while idling, after feeding a label, or after printing all specified number of labels), the printer returns the strip wait status to the host.
Page 681
CHAPTER 11 OTHER FUNCTIONS B-EP Series 11.11.2 STATUS FORMAT • TPCL Mode [IrDA: TEC Protocol] Status Remaining count CRC CRC 01H XXH XXH 3XH 3XH 3XH 3XH 3XH 3XH 3XH XXH XXH Remaining count • 0000 to 9999 (Fixed at 0000 in the save mode) Type of status •...
Page 682
CHAPTER 11 OTHER FUNCTIONS B-EP Series Status to be returned in response to the Receive Buffer Free Space Status Request Command Commonly used in all modes (TPCL, TPCL1, LABEL, RECEIPT, RECEIPT1, or ESC/POS) [IrDA: TEC Protocol] Status after [ESC] WB [LF] [NUL] (22 bytes)
Page 683
CHAPTER 11 OTHER FUNCTIONS B-EP Series [IrDA: IrCOMM, IrDA: IrOBEX, USB, RS-232C, Bluetooth, or wireless LAN interface] Status after [ESC] WB [LF] [NUL] (23 bytes) Header of the status block Printer status Status * Details are described later. Status type This indicates a status with free space of the receive buffer included.
Page 684
CHAPTER 11 OTHER FUNCTIONS B-EP Series 11.11.3 DETAIL STATUS [The compatible mode for the B-SP series is off.] * The values in the upper cell are provided for LABEL/RECEIPT mode (1 byte HEX). The values in the lower cell are provided for TPCL mode (2 bytes ASCII).
Page 685
CHAPTER 11 OTHER FUNCTIONS B-EP Series LCD Message of the Detail Status Printer Status Upper Line Auto Status Status Request (English) Transmission Command Saving failed because of insufficient space in the FLASH MEM FULL flash memory. “54” “54” A back-up EEPROM cannot be read/written EEPROM ERROR properly.
Page 686
CHAPTER 11 OTHER FUNCTIONS B-EP Series LCD Message of the Detail Status Printer Status Upper Line Auto Status Status Request (English) Transmission Command BD address and bonding information are being BT Initializing registered. Bluetooth pairing failed. (This message is displayed SSP AUTH FAILED “00”...
Page 687
CHAPTER 11 OTHER FUNCTIONS B-EP Series [The compatible mode for the B-SP series is on.] * The values in the upper cell are provided for LABEL/RECEIPT mode (1 byte HEX). The values in the lower cell are provided for TPCL mode (2 bytes ASCII).
Page 688
CHAPTER 11 OTHER FUNCTIONS B-EP Series LCD Message of the Detail Status Printer Status Upper Line Auto Status Status Request (English) Transmission Command Saving failed because of insufficient space in the FLASH MEM FULL flash memory. “54” “54” A back-up EEPROM cannot be read/written EEPROM ERROR properly.
Page 689
CHAPTER 11 OTHER FUNCTIONS B-EP Series LCD Message of the Detail Status Printer Status Upper Line Auto Status Status Request (English) Transmission Command BD address and bonding information are being BT Initializing registered. Bluetooth pairing failed. (This message is displayed SSP AUTH FAILED “00”...
Page 690
CHAPTER 11 OTHER FUNCTIONS B-EP Series 11.12 LCD MESSAGES AND LED INDICATIONS The model and the firmware version are displayed on the character-oriented LCD. Restoration Acceptance LCD Messages of by the of Status Indication [PAUSE] Request and Upper line Printer Status...
Page 691
CHAPTER 11 OTHER FUNCTIONS B-EP Series Restoration Acceptance LCD Messages of by the of Status Indication [PAUSE] Request and Upper line Printer Status Reset (English) Yes/No Commands STATUS Yes/No 20 SYSTEM ERROR -- System error (a) A command has been fetched from an odd address.
Page 692
CHAPTER 11 OTHER FUNCTIONS B-EP Series NOTE 1: When a command error has been found in the sent command, 16-byte command code of the erroneous command is displayed on the LCD. (However, [LF] and [NUL] are not displayed.) [Example 1] [ESC] PC001;...
Page 693
CHAPTER 11 OTHER FUNCTIONS B-EP Series 11.14 LCD MESSAGES IN DIFFERENT LANGUAGES ENGLISH GERMAN FRENCH ON LINE ON LINE PRETE COVER OPEN DECKEL OFFEN ERR. CAPOT PAUSE **** PAUSE **** PAUSE **** COMMS ERROR UEBERTR.-FEHLER ERR. COMMUNICAT. PAPER JAM **** PAPIERSTAU **** PB.
Page 694
CHAPTER 11 OTHER FUNCTIONS B-EP Series DUTCH SPANISH ITALIAN IN LIJN ON LINE PRONTA DEKSEL OPEN TAPA ABIERTA TESTA APERTA PAUZE **** PAUSA **** PAUSA **** COMM. FOUT ERROR COMUNICACI ERR. COMUNICAZ. PAPIER VAST **** ATASCO PAPEL**** CARTA INCEP.**** PAPIER OP...
Page 695
CHAPTER 11 OTHER FUNCTIONS B-EP Series JAPANESE The Japanese messages are omitted here. 11-21...
Page 696
CHAPTER 11 OTHER FUNCTIONS B-EP Series 11.15 RECOVERY OF BD ADDRESS From the firmware V1.2, a function to recover the BD address has been supported because the BD address sometimes becomes indefinite. (The B-EP-GH32 does not support the recovery function.) When the BD address is indefinite, the host cannot communicate using the registered BD address and requires to obtain a new BD address by performing an inquiry scan.
Page 697
CHAPTER 11 OTHER FUNCTIONS B-EP Series 11.15.1 RECOVERY OF BONDING TABLE This function, which backs up the bonding table (BD address and PIN code) information, is supported from firmware version V1.3. (The B-EP-GH32 does not support the recovery function.) If the registered bonding table information cannot be obtained, the printer recovers the information based on the backed up information.
Page 698
CHAPTER 11 OTHER FUNCTIONS B-EP Series Flow chart for recovery processing Power ON Is the registered information for an occurrence of failure shown? Is the Bluetooth module version V257 or later? “BT Initializing” is displayed on the LCD. Recovery processing...
Page 699
CHAPTER 12 CHARACTER CODE TABLE B-EP Series 12. CHARACTER CODE TABLE 12.1 GENERAL DESCRIPTION This chapter provides the character code tables. 12.2 CHARACTER CODE The printable characters are slightly different according to the character type, because the fonts, which have been installed on the printer, are not described in the table.
Page 700
CHAPTER 12 CHARACTER CODE TABLE B-EP Series 12.3 TIMES ROMAN, HELVETICA, LETTER GOTHIC, PRESTIGE ELITE, COURIER, GOTHIC725 Black (Bit map font type: A, B, C, D, E, F, G, H, I, J, K, L, N, O, P, Q, R, o, q) PC-850 Ç...
Page 701
CHAPTER 12 CHARACTER CODE TABLE B-EP Series PC-852 Ç É á Ó ü í Ð ß ” é ó Ô â ô ú Ë ä ö Á § & Â Í ÷ ’ ç Î ¸ ° ë Ö Ú...
Page 702
CHAPTER 12 CHARACTER CODE TABLE B-EP Series PC-851 Ç ü ± ” é â ô ä ö à § & û ’ ç ù ¸ ê ° ë Ö ¨ è Ü Ï ½ < î £ – > Ä...
Page 711
CHAPTER 12 CHARACTER CODE TABLE B-EP Series 12.4 PRESENTATION (Bit map font type: M) PC-850, PC-857 " & < – > ¥ When any Japanese message is selected in the SYSTEM mode, code 5CH indicates “¥.” The Euro code (B0H) can be changed in the parameter setting in the SYSTEM mode.
Page 712
CHAPTER 12 CHARACTER CODE TABLE B-EP Series PC-852 " & < – > When any Japanese message is selected in the SYSTEM mode, code 5CH indicates “¥.” The Euro code (B0H) can be changed in the parameter setting in the SYSTEM mode.
Page 713
CHAPTER 12 CHARACTER CODE TABLE B-EP Series PC-1252, PC-1254 " ¥ & ˜ < – > █ When any Japanese message is selected in the SYSTEM mode, code 5CH indicates “¥.” The Euro code (B0H) can be changed in the parameter setting in the SYSTEM mode.
Page 715
CHAPTER 12 CHARACTER CODE TABLE B-EP Series 12.5 OCR-A (Bit map font type: S) PC-850, PC-857 " < > ¥ When any Japanese message is selected in the SYSTEM mode, code 5CH indicates “¥.” PC-8 " < ¥ > When any Japanese message is selected in the SYSTEM mode, code 5CH indicates “¥.”...
Page 716
CHAPTER 12 CHARACTER CODE TABLE B-EP Series PC-852 " < > When any Japanese message is selected in the SYSTEM mode, code 5CH indicates “¥.” PC-851, PC-855, PC-1250, PC-1251, PC-1257, Arabic " < > When any Japanese message is selected in the SYSTEM mode, code 5CH indicates “¥.”...
Page 717
CHAPTER 12 CHARACTER CODE TABLE B-EP Series PC-1252, PC-1254 " ¥ ˜ < > When any Japanese message is selected in the SYSTEM mode, code 5CH indicates “¥.” PC-1253 " ¥ < > When any Japanese message is selected in the SYSTEM mode, code 5CH indicates “¥.”...
Page 718
CHAPTER 12 CHARACTER CODE TABLE B-EP Series LATIN9 " ¥ < > When any Japanese message is selected in the SYSTEM mode, code 5CH indicates “¥.” UTF-8 “ < > ¥ 12-20...
Page 719
CHAPTER 12 CHARACTER CODE TABLE B-EP Series 12.6 OCR-B (Bit map font type: T) PC-850, PC-857 " < > ¥ The size of the numerals of codes 80h ~ 89h are reduced to 80%. When any Japanese message is selected in the SYSTEM mode, code 5CH indicates “¥.”...
Page 720
CHAPTER 12 CHARACTER CODE TABLE B-EP Series PC-852 " < > The size of the numerals of codes 80h ~ 89h are reduced to 80%. When any Japanese message is selected in the SYSTEM mode, code 5CH indicates “¥.” PC-851, PC-855, PC-1250, PC-1251, PC-1257, Arabic "...
Page 721
CHAPTER 12 CHARACTER CODE TABLE B-EP Series PC-1252, PC-1254, LATIN9 " ¥ ˜ < > The size of the numerals of codes 80h ~ 89h are reduced to 80%. When any Japanese message is selected in the SYSTEM mode, code 5CH indicates “¥.”...
Page 722
CHAPTER 12 CHARACTER CODE TABLE B-EP Series UTF-8 “ < > ¥ 12-24...
Page 723
CHAPTER 12 CHARACTER CODE TABLE B-EP Series 12.7 STANDARD CHARACTER (in Japan)/KANJI (in Japan)/ (16 x 16) KANJI (in Japan) (24 x 24) (Bit map font type: A, U, V) Other than UTF-8 (PC-850, PC-852, PC-857, PC-8, PC-851, PC-855, PC-1250, PC-1251, PC-1252, PC-1253, PC-1254, PC-1257, LATIN9, Arabic, PC-866) "...
Page 724
CHAPTER 12 CHARACTER CODE TABLE B-EP Series UTF-8 UTF-8 “ & < > ‘ ¥ Ñ ñ Ð ı E2809 E281B E282A E2889 EFBDA EFBDB EFBE8 EFBE9 * The shaded parts are Japanese. They are omitted here. 12-26...
Page 725
CHAPTER 12 CHARACTER CODE TABLE B-EP Series 12.8 STANDARD CHARACTER (outside Japan) (Bit map font type: a) Other than UTF-8 (PC-850, PC-852, PC-857, PC-8, PC-851, PC-855, PC-1250, PC-1251, PC-1252, PC-1253, PC-1254, PC-1257, LATIN9, Arabic, PC-866) " & < > ¥...
Page 726
CHAPTER 12 CHARACTER CODE TABLE B-EP Series UTF-8 UTF-8 “ & < > ‘ ¥ Ñ ñ Ð ı E2809 E281B E282A E2889 EFBDA EFBDB EFBE8 EFBE9 * The shaded parts are Japanese. They are omitted here. 12-28...
Page 727
CHAPTER 12 CHARACTER CODE TABLE B-EP Series 12.9 CHINESE CHARACTER (outside Japan) (24 x 24) (Bit map font type: r) Other than UTF-8 (PC-850, PC-852, PC-857, PC-8, PC-851, PC-855, PC-1250, PC-1251, PC-1252, PC-1253, PC-1254, PC-1257, LATIN9, Arabic, PC-866) " &...
Page 728
CHAPTER 12 CHARACTER CODE TABLE B-EP Series UTF-8 (Not supported) UTF-8 “ & < > ‘ ¥ Ñ ñ Ð ı E2809 E281B E282A E2889 EFBDA EFBDB EFBE8 EFBE9 * The shaded parts are Japanese. They are omitted here. 12-30...
Page 729
CHAPTER 12 CHARACTER CODE TABLE B-EP Series 12.10 KOREAN CHARACTER (outside Japan) (24 x 24) (Bit map font type: s) Other than UTF-8 (PC-850, PC-852, PC-857, PC-8, PC-851, PC-855, PC-1250, PC-1251, PC-1252, PC-1253, PC-1254, PC-1257, LATIN9, Arabic, PC-866) " &...
Page 730
CHAPTER 12 CHARACTER CODE TABLE B-EP Series UTF-8 (Not supported) UTF-8 “ & < > ‘ ¥ Ñ ñ Ð ı E2809 E281B E282A E2889 EFBDA EFBDB EFBE8 EFBE9 * The shaded parts are Japanese. They are omitted here. 12-32...
Page 731
CHAPTER 12 CHARACTER CODE TABLE B-EP Series 12.11 BOLD CHARACTER (Bit map font type: b) Other than UTF-8 (PC-850, PC-852, PC-857, PC-8, PC-851, PC-855, PC-1250, PC-1251, PC-1252, PC-1253, PC-1254, PC-1257, LATIN9, Arabic, PC-866) UTF-8 12-33...
Page 732
CHAPTER 12 CHARACTER CODE TABLE B-EP Series 12.12 PRICE CHARACTER 1/PRICE CHARACTER 2 (Bit map font type: d, e) Other than UTF-8 (PC-850, PC-852, PC-857, PC-8, PC-851, PC-855, PC-1250, PC-1251, PC-1252, PC-1253, PC-1254, PC-1257, LATIN9, Arabic, PC-866) ¥ ¥ * Code 5CH for “¥” indicates “ “ in the international setting.
Page 733
CHAPTER 12 CHARACTER CODE TABLE B-EP Series 12.13 TEC OUTLINE FONT 1 (Outline font type: A, B, K) When any Japanese message is selected in the SYSTEM mode: (1.1) PC-850, PC-8, PC-852, PC-857 ” & ’ < ¥ > ∆...
Page 734
CHAPTER 12 CHARACTER CODE TABLE B-EP Series (2.2) PC-8 α ≡ Ç É á β ± ü æ í Γ ≥ " é Æ ó π ≤ â ô ú Σ ⎧ ä ö ñ σ ⎭ à ò Ñ...
Page 735
CHAPTER 12 CHARACTER CODE TABLE B-EP Series (2.4) PC-857 ∧ Ç É á ¬ ü æ í ß ± ” é Æ ó â ô ú ä ö ñ õ à ò Ñ § & å û ã µ ÷...
Page 736
CHAPTER 12 CHARACTER CODE TABLE B-EP Series (2.6) PC-855 " & < – § > « ∆ » ¤ The Euro code (B0H) can be changed in the parameter setting in the SYSTEM mode. (2.7) PC-1250 á " â ó...
Page 737
CHAPTER 12 CHARACTER CODE TABLE B-EP Series (2.8) PC-1251 " ¤ µ & § · « » < ¬ – > ∆ The Euro code (B0H) can be changed in the parameter setting in the SYSTEM mode. (2.9) PC-1252 à...
Page 738
CHAPTER 12 CHARACTER CODE TABLE B-EP Series (2.10) PC-1253 " ² ƒ £ ¤ ¥ µ & § · ¬ « » < ¬ – ½ > ∆ The Euro code (B0H) can be changed in the parameter setting in the SYSTEM mode.
Page 739
CHAPTER 12 CHARACTER CODE TABLE B-EP Series (2.12) PC-1257 " ¢ ² £ ó ¤ Ä ä µ Å å õ & Ö ö § · ÷ Ø ø É é « » < ¬ ¼ Ü ü – ½...
Page 740
CHAPTER 12 CHARACTER CODE TABLE B-EP Series (2.14) Arabic " & < – > ∆ The Euro code (B0H) can be changed in the parameter setting in the SYSTEM mode. 12-42...
Page 743
CHAPTER 12 CHARACTER CODE TABLE B-EP Series 12.14 PRICE FONT 1, 2, 3 (Outline font type: E, F, G) Other than UTF-8 (PC-850, PC-852, PC-857, PC-8, PC-851, PC-855, PC-1250, PC-1251, PC-1252, PC-1253, PC-1254, PC-1257, LATIN9, Arabic, PC-866) ¥ – UTF-8 ¥...
Page 744
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series 16. BARCODE/TWO-DIMENSIONAL CODE TABLE 16.1 GENERAL DESCRIPTION This chapter provides the barcode/two-dimensional code tables. Note that some barcodes/two- dimensional codes are not supported depending on the print mode. 16-1...
Page 748
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series 16.6 KIX CODE NOTE: “(“,”)” in the above table is used only as the start/stop codes. It should not be included in the middle of data. In this case, a barcode is not drawn.
Page 753
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series 16.11 CODE128 16.11.1 TRANSFER CODE – – SOH DC1 " EOT DC4 ENQ NAK ACK SYN & [Drawing code] Value Code Table < – > ∆ 16.11.2 HOW TO TRANSMIT THE CONTROL CODE DATA →...
Page 754
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series 16.11.5 VALUE CODE TABLE VALUE CODE CODE CODE VALUE CODE CODE CODE VALUE CODE CODE CODE " " & & – – FNC3 FNC3 FNC2 FNC2 SHIFT SHIFT CODE C CODE C <...
Page 756
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series 16.12 DATA MATRIX 16.12.1 FORMAT ID The code to be used is designated using the format ID. Format ID Code Details Numerics 0 to 9 space Letters A to Z space Alphanumerics, symbols 0 to 9 A to Z space .
Page 757
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series 16.13 PDF417, MicroPDF417 16.13.1 MODE/CODE The following modes are automatically selected according to the code used. [PDF417] Mode Code Details EXC mode Alphanumerics, 0 to 9 A to Z a to z space ! ”...
Page 758
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series 16.13.2 TRANSFER CODE NUL DLE SP SOH DC1 STX DC2 ” ETX DC3 EOT DC4 ENQ NAK ACK SYN & BEL ETB ’ < – > ∆ 16.13.3 HOW TO TRANSMIT THE CONTROL CODE DATA →...
Page 759
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series 16.14 QR CODE 16.14.1 MODE SELECTION When manual mode is selected in the Format Command Numeric mode, alphanumeric and symbol mode, Kanji mode Mode selection Data to be printed Binary mode No. of data strings...
Page 760
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series 16.14.2 TRANSFER CODE NUL DLE SP SOH DC1 STX DC2 ” ETX DC3 EOT DC4 ENQ NAK ACK SYN & BEL ETB ’ < > * The shaded parts are Japanese. They are omitted here.
Page 761
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series 16.14.3 HOW TO TRANSMIT THE CONTROL CODE DATA NUL (00H) > @ (3EH, 40H) SOH (01H) > A (3EH, 41H) STX (02H) > B (3EH, 42H) GS (1DH) > ] (3EH, 5DH) RS (1EH) >...
Page 762
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series 16.15 MAXICODE Symbol Character Code Set A Code Set B Code Set C Code Set D Code Set E Value Decimal Binary Character Decimal Character Decimal Character Decimal Character Decimal Character Decimal 000000 ‘...
Page 763
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series 16.15.1 When the MaxiCode specification is set to “TYPE1: Compatible with the current version” in the system mode: How to transmit the control code data → SOH (01H) > A (3EH, 41H) →...
Page 764
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series 16.15.2 When the MaxiCode specification is set to “TYPE2: Special specification” in the system mode: [Transfer Code for MaxiCode] DLE SP ” & ’ Note1 < > (Note2) The all codes (00H to FFH) can be used. In the following cases, however, the codes will become special codes.
Page 765
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series 16.16. DRAWING OF BARCODE DATA Field to be incremented/decremented (The absence of a solid line invalidates incrementing/decrementing.) Field subject to printing numerals under bars. Type of Barcode: JAN8, EAN8 No affix No. of Input Digits...
Page 766
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series Type of Barcode: JAN13, EAN13 No affix No. of Input Digits Input Data To be checked as modulus 10 C/D 13 digits Drawing Data Other than 13 digits Not to be drawn Modulus 10 check No.
Page 767
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series Type of Barcode: UPC-A No affix No. of Input Digits Input Data To be checked as modulus 10 C/D 12 digits Drawing Data Other than 12 digits Not to be drawn Modulus 10 check No.
Page 768
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series Type of Barcode: UPC-E No affix No. of Input Digits Input Data To be checked as modulus 10 C/D 7 digits Drawing Data Other than 7 digits Not to be drawn Modulus 10 check No.
Page 769
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series Type of Barcode: JAN8 + 2 digits, EAN8 + 2 digits No affix No. of Input Digits Input Data To be checked as modulus 10 C/D 10 digits Drawing Data Other than 10 digits...
Page 770
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series Type of Barcode: JAN8 + 5 digits, EAN8 + 5 digits No affix No. of Input Digits Input Data To be checked as modulus 10 C/D 13 digits Drawing Data Other than 13 digits...
Page 771
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series Type of Barcode: JAN13 + 2 digits, EAN13 + 2 digits No affix No. of Input Digits Input Data To be checked as modulus 10 C/D 15 digits Drawing Data Other than 15 digits...
Page 772
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series Type of Barcode: JAN13 + 5 digits, EAN13 + 5 digits No affix No. of Input Digits Input Data To be checked as modulus 10 C/D 18 digits Drawing Data Other than 18 digits...
Page 773
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series Type of Barcode: UPC-A + 2 digits No affix No. of Input Digits Input Data To be checked as modulus 10 C/D 14 digits Drawing Data Other than 14 digits Not to be drawn Modulus 10 check No.
Page 774
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series Type of Barcode: UPC-A + 5 digits No affix No. of Input Digits Input Data To be checked as modulus 10 C/D 17 digits Drawing Data Other than 17 digits Not to be drawn Modulus 10 check No.
Page 775
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series Type of Barcode: UPC-E + 2 digits No affix No. of Input Digits Input Data To be checked as modulus 10 C/D 9 digits Drawing Data Other than 9 digits Not to be drawn Modulus 10 check No.
Page 776
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series Type of Barcode: UPC-E + 5 digits No affix No. of Input Digits Input Data To be checked as modulus 10 C/D 12 digits Drawing Data Other than 12 digits Not to be drawn Modulus 10 check No.
Page 777
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series Type of Barcode: MSI No affix No. of Input Digits Input Data Not recognized as a check digit. Max. 15 digits Drawing Data 16 digits or more Not to be drawn IBM modulus 10 check No.
Page 778
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series Type of Barcode: Interleaved 2 of 5 No affix No. of Input Digits Input Data Not recognized as a check digit. Max. 126 digits Drawing Data 127 digits or more Not to be drawn Modulus 10 check No.
Page 779
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series Type of Barcode: Industrial 2 of 5 No affix No. of Input Digits Input Data Not recognized as a check digit. Max. 126 digits Drawing Data 127 digits or more Not to be drawn Modulus check character check No.
Page 780
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series Type of Barcode: CODE39 (Standard) No affix No. of Input Digits ST D Input Data Start code Stop code Not recognized as a check digit. Max. 123 digits ST D Drawing Data 124 digits or more...
Page 781
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series Type of Barcode: CODE39 (Full ASCII) No affix No. of Input Digits ST D Input Data Start code Stop code Not recognized as a check digit. Max. 60 digits ST D Drawing Data...
Page 782
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series Type of Barcode: No auto selection of CODE128 (Character “>” to be also counted as a digit) No affix, PSEUDO103 check, Auto affix of PSEUDO103 No. of Input Digits Input ST D Min. 3 digits Data Max.
Page 783
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series Type of Barcode: UCC/EAN128 No affix, C/D check, Auto affix of C/D No. of Input Digits Input Data FNC1 19 digits Drawing Data Start code Affix a modulus 10 C/D. Affix a modulus 11 C/D.
Page 784
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series Type of Barcode: RM4SCC Auto affix of dedicated C/D No. of Input Digits (ST) (SP) Input Data Start code Stop code 12 digits Drawing Data Start code Stop code Dedicated check digit 13 digits or more...
Page 785
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series Type of Barcode: RSS-14, RSS-14 Stacked, RSS-14 Stacked Omni-directional, RSS Limited Auto affix of dedicated C/D No. of Input Digits Input Data 13 digits Drawing Data Dedicated check digit 14 digits or more...
Page 786
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series Type of Barcode: MATRIX 2 of 5 for NEC No affix No. of Input Digits Input Data Not recognized as a check digit. Max. 126 digits Drawing Data 127 digits or more Not to be drawn Modulus check character check No.
Page 787
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series 16.17. AUTOMATIC ADDITION OF START/STOP CODES Designation of Type of Barcode Input Data Drawing Data Start/Stop Codes 12345ABC Standard *12345ABC* Full ASCII *12345ABC* *12345ABC Standard *12345ABC* Full ASCII *12345ABC* 12345ABC* Standard *12345ABC* Full ASCII...
Page 788
CHAPTER 16 BARCODE/TWO-DIMENSIONAL CODE TABLE B-EP Series Designation of Type of Barcode Input Data Drawing Data Start/Stop Codes 12345ABC Standard 12345ABC Full ASCII 12345ABC *12345ABC Standard *12345ABC Full ASCII *12345ABC 12345ABC* Standard 12345ABC* Full ASCII 12345ABC* *12345ABC* Standard *12345ABC* CODE 39...
Need help?
Do you have a question about the B-EP Series and is the answer not in the manual?
Questions and answers