Toshiba TEC B-SX4T Network Specification
Hide thumbs Also See for TEC B-SX4T:

Advertisement

TOSHIBA TEC Bar Code Printer
B-SX4T, B-SX5T
Network Specification
First Edition: October 18, 2002

Advertisement

Table of Contents
loading

Summary of Contents for Toshiba TEC B-SX4T

  • Page 1 TOSHIBA TEC Bar Code Printer B-SX4T, B-SX5T Network Specification First Edition: October 18, 2002...
  • Page 2: Table Of Contents

    TABLE OF CONTENTS Page 1. SCOPE............................2. GENERAL DESCRIPTION ......................3. APPLICABLE PROTOCOL ......................4. IP ADDRESS SETTING....................... 5. NETWORK SPECIFICATIONS ....................6. LPR SERVER ..........................6.1 REQUIREMENTS........................6.2 CONNECTION DIAGRAM...................... 7. WEB PRINTER ..........................7.1 ABOUT THE WEB PRINTER....................7.2 REQUIREMENTS........................
  • Page 3 Page 9. FTP SERVER..........................32 9.1 FTP SERVER FUNCTION ..................... 32 9.2 REQUIREMENTS........................32 9.3 CONNECTION DIAGRAM...................... 32 9.4 FTP SERVER SPECIFICATIONS ..................34 9.4.1 Setup ..........................34 9.4.2 Connection ........................34 9.4.3 Storing Print Jobs ......................34 9.4.4 Example of Setup File ...................... 34 10.
  • Page 4: Scope

    1. SCOPE This specification applies to the network for the B-SX4T and the B-SX5T general purpose thermal label/tag printers. 2. GENERAL DESCRIPTION With the optional PCMCIA board (B-9700-PCM-QM) and either the LAN card or the optional LAN interface board (B-9700-LAN-QM), the B-SX4T and the B-SX5T can be connected to the host by using TCP/IP.
  • Page 5: Lpr Server

    6. LPR SERVER If the LAN card has been inserted into Slot 2 on the PCMCIA board, when the power is turned on or the LAN interface board has been installed, this printer starts up the printer daemon task. 6.1 REQUIREMENTS •...
  • Page 6 (2) Interface board CPU board LAN interface board TCP/IP Printer Centronics connector LAN interface board RS-232C connector Rear side of printer - 3 -...
  • Page 7: Web Printer

    • LAN interface board (B-9700-LAN-QM) • ATA card (Conforming to the PC CARD ATA Standard) • Display files for the browser (*.htm, *.asp) TOSHIBA TEC provides samples of display files (*.htm, *.asp). Display files (*.htm, *.asp) include the following files. Default.htm Headsens.htm...
  • Page 8: Connection Diagram

    7.3 CONNECTION DIAGRAM (1) PC card LAN card TCP/IP PCMCIA CPU board board ATA card Printer Slot 1 (Insert the ATA card into this slot.) Centronics connector Slot 2 (Insert the LAN card into this slot.) PCMCIA interface board RS-232C connector Rear side of printer - 5 -...
  • Page 9 (2) Interface board LAN interface board TCP/IP CPU board PCMCIA ATA card board Printer LAN interface board Centronics connector Slot 1 (Insert the ATA card into this slot.) Slot 2 PCMCIA interface board RS-232C connector Rear side of printer - 6 -...
  • Page 10: Web Printer Specifications

    7.4 WEB PRINTER SPECIFICATIONS This section describes the Web printer specifications using sample display files (*.htm, *.asp). 7.4.1 Setup (1) To enable the Web printer function, the HTML files must be installed in the ATA card. The procedure for installation is as follows: Insert the ATA card into the PC card slot if the notebook computer is used, or into the PC card adapter if the desktop computer is used.
  • Page 11: Startup

    7.4.2 Startup Start up the browser on the PC (A JavaScript-enabled browser such as Internet Explorer or Netscape Navigator should be used.) to connect to the printer. The “SX_HTM” folder is a root directory. The address is either of the following: http://Printer IP address/ http://Printer IP address/default.htm [Top page]...
  • Page 12: Watching The Printer Status

    7.4.3 Watching The Printer Status Select the menu on the left of the window. PRINTER STATUS: Indicates the printer state. (The display is updated every 3 seconds.) • IDLE HEAD CLOSE (The printer is in an idle state, and the head is closed.) •...
  • Page 13 MAINTENANCE COUNTER: Indicates the values for various counters such as the label distance covered. (The display is updated every 3 seconds.) • TOTAL FEED: ∗.∗ km (Total label distance covered) ∗.∗ km • FEED: (Label distance covered) ∗.∗ km • PRINT: (Print distance) •...
  • Page 14 [Display Examples] PRINTER STATUS (The printer is in an idle state and the head is closed.) RIBBON STATUS (The used ribbon length is 4/8 of the total length.) - 11 -...
  • Page 15 PAPER SENSOR (Transmissive sensor: 2.5 V/Reflective sensor: 1.2 V) HEAD UP SENSOR (The head is closed.) - 12 -...
  • Page 16 TEMPERATURE SENSOR (Head temperature: 24 °C/Outside air temperature: 24 °C) - 13 -...
  • Page 17 MAINTENANCE COUNTER - 14 -...
  • Page 18: Issuing Labels

    7.4.4 Issuing Labels (1) Select “ISSUED BY FILE” from the menu at the left of the window. Select the file to be transmitted, then click on the [Transmit] button. The file to be transmitted is a text file in which commands are described. When the Issue Command is described in this file, an issue is performed.
  • Page 19 (2) Select “ISSUED BY INPUTTING” from the menu at the left of the window. Input data in each item field, and then click on the [Issue] button. Data is printed in the specified format. NOTE: The ATA card must have free space greater than the size of the file to be transmitted to the ATA card, since temporary files are created in the ATA card.
  • Page 20: Downloading Firmware Files

    7.4.5 Downloading Firmware Files (1) Select “PROGRAM DOWNLOAD” from the menu at the left of the window. Select the firmware file to be downloaded, then click on the [Transmit] button. There is a difference between the firmware file format that is transmitted here and that which is transmitted by the program downloader (for a Centronics/RS-232C).
  • Page 21: Changing Parameters

    7.4.6 Changing Parameters (1) Select “PARAMETER SETTING” from the menu at the left of the window. Enter the user name and the password in the PARAMETER SETTING LOGIN display. If they are entered correctly, the parameter setting display appears. The user name and the password to be entered here must be the same as the administrator name and password described in the “\pass\pass.txt”...
  • Page 22 The current parameter settings are displayed. To change the setting, change a value, then click on the [SUBMIT] button. The printer is then restarted to make the changes take effect. NOTES: • Only when the control code is set to “Auto” or “{ | }”, this function is available. •...
  • Page 23: Spooler Function

    7.4.7 Spooler Function (1) About the spooler function This function enables to display files stored in the specified folder of the ATA card as print jobs. This function also enables to request to issue, delete, and reissue a print job, and to issue or delete all print jobs from a browser.
  • Page 24 (3) Operation The printer performs the following operation: The printer always monitors the PRTDATA folder. Files stored in the PRTDATA folder are recognized as real-time print jobs. The moment when a file is stored in the PRTDATA, the printer: 1. Transfers the print data. 2.
  • Page 25 (4) How to store print jobs To store a real-time print job, write a file into the PRTDATA folder in the ATA card. To store a spooled print job, write a file into the PRTPOOL folder in the ATA card. NOTE: Specify the print job name (file name) with a maximum of 8 and 3 alphanumeric characters for a file name and an extension, respectively.
  • Page 26 (5) Spooler function screen Select “SPOOLER FUNCTION” from the menu at the left of the window. Example: “PRINTER STATUS:” indicates the current print status. “REST:” indicates the remaining number of print jobs to be transferred. “**, *** KB Free” indicates the free memory capacity of the ATA card.
  • Page 27 (6) Operation example NOTE: For explanations about the screen, refer to the screen on the previous page. Descriptions inside the parentheses indicate job statuses. When the [Delete] button placed on the right of “DATA.TXT” is clicked, “DATA.TXT” is deleted. When the [Issue] button placed on the right of “DATA2.TXT” is clicked, the print data of “DATA2.TXT”...
  • Page 28 NOTES: 1. The printer updates the spooler function screen at intervals of seconds specified in the “http.ini” file. If the timing of updating the screen is off when printing is attempted, the printer status, “Data Transfer Complete” may be displayed without displaying “Spooling…”.
  • Page 29: Customization Of Html File

    7.5 CUSTOMIZATION OF HTML FILE The sample display file can be edited and customized. However, the scripts before “Please do not change above script” described below must not be changed. (Ex.) Prt_sts.htm <META HTTP-EQUIV="Refresh" CONTENT="3"> <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <SCRIPT LANGUAGE="JAVASCRIPT"> <!-- sts= 1;...
  • Page 30 if (sts == 1){ pstatus = "IDLE HEAD CLOSE"; if (sts == 2){ pstatus = "IDLE HEAD OPEN"; if (sts == 3){ pstatus = "PRINTER WORKING"; if (sts == 4){ pstatus = "PRINTER PAUSE"; if (sts == 5){ pstatus = "WAITING FOR PEEL OFF"; if (sts == 6){ pstatus = "SYNTAX ERROR";...
  • Page 31 if (sts == 18){ pstatus = "FLASH WRITE ERROR"; if (sts == 19){ pstatus = "FLASH ERASE ERROR"; if (sts == 20){ pstatus = "FLASH MEMORY FULL"; document.write(pstatus); // --> </SCRIPT> </H1> </CENTER> <P> <BR> <A HREF="default.htm"target="_top"> <B><FONT COLOR="#FF0000"><H1><P ALIGN="center">Return</P></H1></FONT></B> </A>...
  • Page 32: Socket Communication

    8. SOCKET COMMUNICATION If the LAN connection environment has been provided and the socket communication is enabled when the power is turned on, this printer starts up the socket communication server task. 8.1 REQUIREMENTS • LAN connection environment Either 1) or 2) is required for LAN connection. 1) PC card •...
  • Page 33 (2) Interface board CPU board LAN interface board TCP/IP Printer Centronics connector LAN interface board RS-232C connector Rear side of printer - 30 -...
  • Page 34: Socket Communication Specifications

    8.3 SOCKET COMMUNICATION SPECIFICATIONS 8.3.1 Communication Procedure (1) Using the port number set by the printer, make the socket connection from the client PC to the printer. (2) Send a command from the client PC to the printer. (3) If the automatic status transmission is specified, the printer sends back a status to the client NOTES: 1.
  • Page 35: Ftp Server

    9. FTP SERVER 9.1 FTP SERVER FUNCTION This is the function that files can be read/written from/to the ATA card installed on the printer, using the standard protocol, FTP (File Transfer Protocol). Users are divided into two types, administrator and user.
  • Page 36 (2) Interface board LAN interface board TCP/IP CPU board PCMCIA ATA card board Printer LAN interface board Centronics connector Slot 1 (Insert the ATA card into this slot.) Slot 2 PCMCIA interface board RS-232C connector Rear side of printer - 33 -...
  • Page 37: Ftp Server Specifications

    • User’s password Format USR=toshiba,PASS=tec Set the user name and the password, following “USR=” and “PASS=”, respectively. Up to 15 characters are available for the user name. Up to 10 characters are available for the password.
  • Page 38: Mail Function

    10. MAIL FUNCTION 10.1 MAIL FUNCTION The printer has a function of automatically sending and receiving mails. Therefore, the printer can inform the client PCs of the printer status by sending mail, can execute a printer command such as a print request included in the mail sent from the client PCs, and can store print jobs.
  • Page 39: Connection Diagram

    10.3 CONNECTION DIAGRAM (1) PC card LAN card TCP/IP PCMCIA CPU board board ATA card Printer Slot 1 (Insert the ATA card into this slot.) Centronics connector Slot 2 (Insert the LAN card into this slot.) PCMCIA interface board RS-232C connector Rear side of printer - 36 -...
  • Page 40 (2) Interface board LAN interface board TCP/IP CPU board PCMCIA ATA card board Printer LAN interface board Centronics connector Slot 1 (Insert the ATA card into this slot.) Slot 2 PCMCIA interface board RS-232C connector Rear side of printer - 37 -...
  • Page 41: Mail Transmission Specifications

    10.4 MAIL TRANSMISSION SPECIFICATIONS 10.4.1 Setup (1) Register the printer account in the mail server. (2) Describe the required information for mail transmission in the setup file. The setup file should be saved as “smtp.ini” in the “mail” folder in the ATA card. How to describe the setup file is as follows: •...
  • Page 42: Operation

    Format TEXT_BODYaa=/ATA0/MAIL/TEXT/STS00.TXT The location of mail messages is specified by the file. In the previously described 3 formats, “aa” should be set in the range from “00” to “54”. The meaning of each value is described below: 00: Head close 01: Head open 06: Command error 07: Serial port error...
  • Page 43: Example Of Setup File

    10.4.3 Example of Setup File (1) “\mail\smtp.ini” file (/ATA0/MAIL/SMTP.INI) A line starting with # means a comment line and is not processed. # IP address of mail server HOST_IP=123.456.789.012 # mail address of B-SX printer FROM_USR=bcpbsxa@foo.toshibatec.co.jp # SMTP port default=25 PORT=25 # Send back response mail to sender RESMAIL=1...
  • Page 44 ENABLE17=1 TO_USR17=abc@foo.toshibatec.co.jp TEXT_BODY17=/ATA0/MAIL/TEXT/STS17.TXT # Head temp error ENABLE18=1 TO_USR18=abc@foo.toshibatec.co.jp TEXT_BODY18=/ATA0/MAIL/TEXT/STS18.TXT # Ribbon sensor error ENABLE21=1 TO_USR21=abc@foo.toshibatec.co.jp TEXT_BODY21=/ATA0/MAIL/TEXT/STS21.TXT # Rewinder full ENABLE22=1 TO_USR22=abc@foo.toshibatec.co.jp TEXT_BODY22=/ATA0/MAIL/TEXT/STS22.TXT # Issue complete ENABLE40=1 TO_USR40=abc@foo.toshibatec.co.jp TEXT_BODY40=/ATA0/MAIL/TEXT/STS40.TXT # Feed complete ENABLE41=1 TO_USR41=abc@foo.toshibatec.co.jp TEXT_BODY41=/ATA0/MAIL/TEXT/STS41.TXT # Flash write error ENABLE50=1 TO_USR50=abc@foo.toshibatec.co.jp TEXT_BODY50=/ATA0/MAIL/TEXT/STS50.TXT # Flash format error...
  • Page 45: Mail Reception Specifications

    10.5 MAIL RECEPTION SPECIFICATIONS 10.5.1 Setup (1) Register the printer account in the mail server. (2) Describe the required information for mail reception in the setup file. The setup file should be saved as “pop3.ini” in the “mail” folder in the ATA card. How to describe the setup file is as follows: •...
  • Page 46: Operation

    10.5.2 Operation The printer is connected to the mail server and checks for new e-mail at the specified mail check interval. If e-mail for the printer exists in the mail server, the printer receives it. When the received mail includes file attachments and the file subjects do not include “PRTDATA:” or “PRTPOOL:”, the printer reconstructs the attached files and executes them as commands.
  • Page 47: Storing Print Jobs

    10.6 STORING PRINT JOBS To store a file as a real-time print job, attach a file to be stored as a print job to e-mail, input the subject including “PRTDATA:”, then send e-mail to the printer. When receiving e-mail, the printer stores the attached file as a real-time print job.
  • Page 48: Dhcp Client Function

    11. DHCP CLIENT FUNCTION 11.1 ABOUT DHCP CLIENT FUNCTION This function dynamically acquires the IP address, which is usually set on the printer, from the DHCP server when the printer is turned on. If this function is used, there is no need to set the IP address on the printer in the system mode.
  • Page 49 (2) Interface board LAN interface board TCP/IP CPU board PCMCIA ATA card board Printer LAN interface board Centronics connector Slot 1 (Insert the ATA card into this slot.) Slot 2 (Insert the LAN card into this slot.) PCMCIA interface board RS-232C connector Rear side of printer - 46 -...
  • Page 50: Dhcp Client Specifications

    11.4 DHCP CLIENT SPECIFICATIONS (1) Lease period The default value for the lease period is 30 minutes. If the lease period is not specified on the DHCP server, the lease period is the default value of 30 minutes. Before the lease period is expired, the printer automatically extends the lease period.
  • Page 51: Notes On Using Network Function

    12. NOTES ON USING NETWORK FUNCTION 12.1 PROTECTION OF DATA IN ATA CARD Before turning the printer OFF, press the [PAUSE] key of the printer. Check if the printer is in a pause state and the “ON LINE” LED goes off, then turn the printer off. In the network function using the ATA card (FTP, HTTPD, e-mail), if the printer is turned OFF while it is writing data to a file, the file system on the ATA card will be damaged, and data may be lost.

This manual is also suitable for:

Tec b-sx5t

Table of Contents