Streszczenie treści zawartej na stronie nr. 1 
                    
                         
 
 
 
 
 
 
TOSHIBA TEC Bar Code Printer 
B-SV4D-GS/GC10-QM 
External Equipment Interface Specification 
 
 
 
 
 
 
 
 
 
 
First Edition: Jun. 02, 2003 
 
 
                                                                                                                                                                                                                                                                                                                                                   
                    
                    Streszczenie treści zawartej na stronie nr. 2 
                    
                        TABLE OF CONTENTS  Page  1. SCOPE........................................................................................................................................ 1    2. GENERAL DESCRIPTION......................................................................................................... 1    3. INTERFACE................................................................................................................................ 2  3.1 SERIAL INTERFACE............................
                    
                    Streszczenie treści zawartej na stronie nr. 3 
                    
                        Page  6.3.21 GRAPHIC COMMAND..................................................................................................... 146  6.3.22 SAVE START COMMAND ............................................................................................... 154  6.3.23 SAVE TERMINATE COMMAND ...................................................................................... 156  6.3.24 SAVED DATA CALL COMMAND..................................................................................... 
                    
                    Streszczenie treści zawartej na stronie nr. 4 
                    
                        Page  11. CHARACTER CODE TABLE ..................................................................................................... 183  11.1 TIMES ROMAN, HELVETICA, LETTER GOTHIC, PRESTIGE ELITE, COURIER............... 183  11.2 PRESENTATION................................................................................................................... 190  11.3 TEC OUTLINE FONT 1 ......................................................................................................... 194  1
                    
                    Streszczenie treści zawartej na stronie nr. 5 
                    
                        1. SCOPE  This specification applies to the external equipment interface for use with the Model B-SV4D general- purpose thermal label/tag printers.    2. GENERAL DESCRIPTION  The external equipment interface connects a printer to the host computer through a serial interface (RS- 232C), parallel interface (Centronics), or a network for making various settings and printing labels.  This specification describes how to use the external equipment interface.  The model configuration is described below
                    
                    Streszczenie treści zawartej na stronie nr. 6 
                    
                        3. INTERFACE  3.1 SERIAL INTERFACE  (1) Type : Conforming to RS-232C  (2) Mode of Communication  : Full duplex  (3) Transmission Speed : 2400 BPS    4800 BPS    9600 BPS    19200 BPS    38400 BPS    57600 BPS  (4) Synchronization Method : Start-stop synchronization  (5) Start Bit : 1 bit  (6) Stop Bit : 1 bit    2 bits  (7) Data Length : 7 bits    8 bits  (8) Parity : None    Even    Odd  (9) Error Detection   : Parity Error Vertical parity error check       Framing Error This error occurs if no
                    
                    Streszczenie treści zawartej na stronie nr. 7 
                    
                        (13) Transmission Control : XON/XOFF (DC1/DC3) Protocol      READY/BUSY (DTR) Protocol      XON/XOFF (DC1/DC3) Protocol + READY/BUSY (DTR)  Protocol     RTS Protocol   c XON/XOFF (DC1/DC3) Protocol    z When initialized after power on, this printer becomes ready to receive data and sends an  XON code (11H).  (Transmission or non-transmission of the XON code is selectable by  means of the parameter setting.)    z The printer sends an XOFF code (13H) when the blank positions in the receive buffer 
                    
                    Streszczenie treści zawartej na stronie nr. 8 
                    
                         e XON/XOFF (DC1/DC3) Protocol + READY/BUSY (DTR) Protocol    z When initialized after power on, this printer becomes ready to receive data and turns the  DTR signal to “High” level (READY).  The printer also sends an XON code (11H).    z When the blank positions in the receive buffer are 1K bytes or less, the printer turns the  DTR signal to “Low” level (BUSY) and sends an XOFF code (13H).    z When the blank positions in the receive buffer are 2K bytes or more, the printer turns the  DTR signa
                    
                    Streszczenie treści zawartej na stronie nr. 9 
                    
                           (14) RS-232 Interface pin configuration  Host Function 9 Pin 25 Pin  9 Pin Printer Function      1 +5V  RxD 2 3  2 TxD  TxD 3 2  3 RxD  DTR 4 20  4 DSR  GND 5 7  5 GND  DSR 6 6  6 RDY  RTS 7 4  7 N/C  CTS 8 5  8 RDY      9 +5V            (15) Connector Pin Assignment and Signal Description  Signal  Pin No. Function Signal Direction  Name  1 +5V Provide the power of 5V   2 TxD Transmit data Printer →  3 RxD Receive data ← Host  4 DSR Data set ready ← Host  5 GND General Ground   6 RDY Printer 
                    
                    Streszczenie treści zawartej na stronie nr. 10 
                    
                        3.2 PARALLEL INTERFACE  (1) Type : Centronics  (2) Mode : Conforms to IEEE1284 compatible mode  (3) Data Input Method  : Parallel 8 bits (DATA1 ~ 8)  (4) Control Signals : ACK, BUSY, SELECT, DATA • STB, FAULT, PE, INIT (Not used),  AUTOFD (Not used), SELECTIN (Not used)  (5) Data Input Code : ASCII code    European character set 8 bit code    Graphics 8 bit code  (6) Receive Buffer : 515K bytes  (7) Connector : Printer     Amp. Japan 552742-1 or equivalent     DDK 57RE-40360-73B or equivalent   
                    
                    Streszczenie treści zawartej na stronie nr. 11 
                    
                        (8) Connector Pin Diagram:  Pin No. Signal Name Pin No. Signal Name  1 DATA • STB 19 TWISTED PAIR GND (PIN1)  2 DATA 1 20 TWISTED PAIR GND (PIN2)  3 DATA 2 21 TWISTED PAIR GND (PIN3)  4 DATA 3 22 TWISTED PAIR GND (PIN4)  5 DATA 4 23 TWISTED PAIR GND (PIN5)  6 DATA 5 24 TWISTED PAIR GND (PIN6)  7 DATA 6 25 TWISTED PAIR GND (PIN7)  8 DATA 7 26 TWISTED PAIR GND (PIN8)  9 DATA 8 27 TWISTED PAIR GND (PIN9)  10 ACK 28 TWISTED PAIR GND (PIN10)  11 BUSY 29 TWISTED PAIR GND (PIN11)  12 PE 30 TWISTED PAIR
                    
                    Streszczenie treści zawartej na stronie nr. 12 
                    
                        4. KEY OPERATION FUNCTIONS  4.1 SYSTEM MODE (POWER UP WITH KEY PRESSED)  There are 6 LED light indications with following sequence.  (1) Solid orange indicates the printer has entered into system mode  (2) Green and red alternate  (3) Flashing orange  (4) Green and orange alternate  (5) Orange and red alternate  (6) Solid green    4.1.1 Firmware downloading mode  1) Release FEED key at LED light sequence (2) and push again immediately.  2) Copy the firmware file to printer parallel port by the f
                    
                    Streszczenie treści zawartej na stronie nr. 13 
                    
                        [Self-test printing]  a. Printing program version & check sum  b. Printing various parameters  Parameter Initial value  Print density fine adjustment 0  Print position fine adjustment 0 mm  Amount for finely the cut position 0 mm  Type of character code PC-850  Font of zero 0 (without slash)  Communication speed 9600 bps  Data length 8 bits  Stop bit length 1 bit  Parity NONE  Transmission control 2  Forward feed wait ON  Control code AUTO  Feed key function FEED  Euro code  B0 H  X-coordinate a
                    
                    Streszczenie treści zawartej na stronie nr. 14 
                    
                        5. TRANSMISSION SEQUENCE   This section describes the outline of the transmission sequence.  5.1 INITIALIZATION  Writable characters, logo, and PC interface commands must be stored before the label issue  operation.  (1) Storing writable characters and logo    Power ON    No        Yes  (Add/change)  [ESC] J1: Formats the flash memory on the    Memory board  memory board.   Format Command        [ESC] XD: Stores writable characters or a  Bit Map Writable    logo on the flash memory board.  
                    
                    Streszczenie treści zawartej na stronie nr. 15 
                    
                        (2) Storing PC interface commands    Power ON    No        Yes  (Add/change)  [ESC] J1: Formats the flash memory board.    Memory board     Format Command      [ESC] XO: Declares the start of saving PC interface    Save Start Command  commands.    [ESC] D: Sets the label size.  Label Size Set Command    [ESC] AX: Adjusts the feed length, cut position, and  Position Fine     Adjust Command  back feed length.    Print Density Fine     [ESC] AY: Adjusts the print density.  Adjust Command    [E
                    
                    Streszczenie treści zawartej na stronie nr. 16 
                    
                        5.2 LABEL ISSUE OPERATION  An example of the label issue operation is described below.  (1) Where the Saved Data Call Command is not used:    Power ON      Place paper    [ESC] D: Sets the label size.  Label Size Set Command    [ESC] AX: Adjusts the feed length, cut position, and  Position Fine     back feed length.  Adjust Command    Print Density Fine   [ESC] AY: Adjusts the print density.  Adjust Command    [ESC] T: Feeds one sheet of paper and aligns it    Feed Command  with the first printi
                    
                    Streszczenie treści zawartej na stronie nr. 17 
                    
                        (2) Where the Saved Data Call Command is used:    Power ON    [ESC] XQ: Calls the label format stored in the flash    Place paper  memory board.    Saved Data Call Command      Feed Command  [ESC] T: Feeds one sheet of paper and aligns it with    the first printing position.    [ESC] RC: Draws bit map font data.  Bit Map Font Data Command    [ESC] RV: Draws outline font data.  Outline Font Data Command    [ESC] RB: Draws bar code data.    Bar Code Data Command    [ESC] XS: Issues (prints) the la
                    
                    Streszczenie treści zawartej na stronie nr. 18 
                    
                        6. INTERFACE COMMANDS  6.1 OUTLINE OF COMMANDS  (1) Format of Interface command    ESC Command & Data LF NUL        z The length from [ESC] to [LF] [NUL] must be as specified by each command.    z There are the following three kinds of control codes:     c ESC (1BH),  LF (0AH),  NUL (00H)   d { (7BH),  | (7CH), } (7DH)     (2) How to use reference   Function Describes the outline of the function of the command.   Format Shows the format of the command.    The format designation method should con
                    
                    Streszczenie treści zawartej na stronie nr. 19 
                    
                        NOTES:  1. If a command is not recognized as a command, it is ignored.  e.g.) [ESC] H, [ESC]AA, and so on.  2. If the number of digits of the parameter is specified, when the number of in put digits does not  match the specified number of digits, a command error occurs.  3. When a parameter is set to any character/value other than specified characters/values, a  command error occurs.  e.g.) In the case that a value should be set for parameter, “0001” is acceptable, however, “000A”  results in an
                    
                    Streszczenie treści zawartej na stronie nr. 20 
                    
                        6.2 LIST OF COMMANDS  (1) Commands related to setting    Label Size Set Command [ESC] D......................................17  (2) Commands related to fine adjustment    Position Fine Adjust Command [ESC] AX....................................22    Print Density Fine Adjust Command [ESC] AY....................................27  (3) Commands related to clear    Image Buffer Clear Command [ESC] C......................................28    Clear Area Command [ESC] XR ............................