SATO CT410 Local Area Network LAN Optionalinterface, BI-DIRECTIONAL Communications, Enquire ENQ

Page 142

Section 5. Interface Specifications

LOCAL AREA NETWORK (LAN) OPTIONALINTERFACE

A Local Area Network (LAN) interface is a factory installed interface option that must be specified at the time of order. When it is installed, the printer can be configured to receive data through the IEEE 1284 parallel interface or the optional LAN interface. It requires a driver (shipped with each printer that has the interface installed) that must be loaded on your PC and the PC must be configured to support the TCP/IP network protocol using a 10BaseT LAN connection. Details for loading the LAN driver are contained in the LAN Interface Manual that is shipped with each printer with a LAN Optional interface installed.

BI-DIRECTIONAL COMMUNICATIONS

This is a two-way communications protocol between the host computer and the printer, thus enabling the host to check printer status. When Bi-Com communications is selected, there is no busy signal from the printer. The host must request the complete status from the printer, including ready/busy. The host may request status in two different ways.

ENQUIRE/ACK/NAK

In the first mode, it transmits an ENQ (05 hexadecimal) to the printer and the printer will respond with its status within five milliseconds. If printing, it will respond upon finishing the current label, then resume printing. In order for this protocol to work properly with an RS232 Optional Interface, pin 6 (DTR) and pin 5 (CTS) must be held high by the host. One way to ensure these pins are always in the correct state is to tie pin 20 (DTR) to pin 6 (DSR) and pin 4 (RTS) to pin 5 (CTS) at the printer end of the cable.

Enquire (ENQ)

Upon receipt of an ENQ command, the printer responds with 25 bytes of status information bounded by an STX/ETX pair. The Bi-Com protocol works only in the Multi Job Buffer mode. The status information is defined as follows:

<STX>{ 2 Byte ID}{1 Status Byte}{6 Byte Label Remaining}{16 Byte Job Name}<ETX>

ID - This is a two byte number identifying the current print job ID. The print job ID is defined using the <ESC>ID Job ID command transmitted with the print job (see Job ID Store in the command listing for more information on how to use this command). The range is from 00 to 99.

Status - A single byte defining the current status of the printer (see the

Status Byte Definition table).

Label Remaining - Six bytes defining the number of labels remaining in the current print job. The range is from 000000 to 999999 labels.

Job Name - 16 bytes of ASCII characters identifying the name assigned to the job by the <ESC>WK Job Name command. If the Job Name is less than 16 characters, the field will be padded with leading zeroes.

Page 5-8

9001069A

SATO CT Series Printers

Image 142
Contents CT 400 and CT410 Desk Top Printers Sato CL Series Printer PN 9001069A CT Series Printer OPERATOR’S Manual Appendices Table of Contents Programming Interface Specifications UPC-A/EAN-13 Section Printer Overview IntroductionSpecification General Printer SpecificationsCT400 CT410 Processing CPU Character Fonts Matrix FontsBAR Codes UCC/EAN-128Power Requirements PhysicalOptional Accessories AccessoryThis page left intentionally blank Section Installation and Configuration Unpacking Setting UP the Printer Installation and Configuration Loading Ribbon CT4XXTT only Ribbon Drive Spindles Ribbon Ass’y Latch Loading Media Roll MediaRoll Guide so that the Paper Fanfold MediaClose and latch Print Head Assembly Label Sensing CT Series Printer Label Sensor PositioningOperator Panel If Installed Fanfold Paper Slot Rear Connector PanelPower Parallel InterfaceConfiguration Switch Configuration PanelDSW1 DSW2 DSW3 Setting DSW5 Setting Off EnableDSW4 Setting DSW6 SettingDSW8 Setting Error DisplayLED Error Offset Potentometer AdjustmentsMode Millimeters Inches Dots Pitch OffsetLabel Feed Direction Sensor Position Print Darkness HEX Dump Diagnostic Label Print Test Labels User Test PrintFACTORY/SERVICE Test Print This page left intentionally blank Adjusting the Print Quality ProceduresDarkness Print Cleaning the Print Head Cleaning the Print HEAD, Platen and RollersSupplies needed Cleaning the Platen and Paper Roller Replacing the Print HeadCleaning and Maintenance Cleaning the Sensors Supplies Needed Sato SA070 Cleaning KitThis page left intentionally blank Section Programming Sato CT Programming LanguageProtocol Control Codes Using BasicControl HEX Description Character Value Open COM19600,E,8,1,CS,DS AS #1 Print Area Print AreaProgramming Reference Command Codes Command Default SettingsRotated Fields Sato CT Series Printers 9001069A This page left intentionally blank Bar Codes MSIInput to Printer EscaPrinter Output UCC-128 With IncrementingSpecial Notes Bar Codes, Expansion Command Structure ESCBWaabbbCommand Function ESCBW02100Command Structure ESCBTabbccddee Bar Codes, Variable Ratio9001069A Sato CT Series Printers Base Reference Point Command Structure ESCA3HabbbbVcddddESCA3H+100V+0050 Printer configuration until a new Base Reference Point ESCK1H903F Command Structure Store Command ESCTabccCharacters, Custom-Designed Printer InputCharacter is affected by the following commands Command Structure ESCLaabb Character ExpansionThis command will expand the following fonts Command Structure Character, Fixed SpacingCharacter Pitch This command is affected by the Escl Character Expansion Character, Proportional Spacing EscprClear Print Jobs & Memory Command Structure ESC*aSpecial Note Command Structure None Continuous Forms PrintingCopy Image Area Command Structure ESCWDHaaaaVbbbbXccccYddddESCWDH0100V0050X0600Y0400 For the duplicate image Command Structure ESCNULaaaa Cut JobCommand Structure ESCCTaaaa CutCut Last Command Structure Font XU Fonts U, S, M, OA, OB, XU, XS & XMCharacters may be enlarged through the use of the Character Command Structure ESCAESCRFaabbbb,nn...n Font/Graphic RecallCommand Structure ESCAESCRDabb,ccc,ddd,nn. . .n Font, RasterESC$=data Font, VectorESC$a,b,c,d ESC$A,100,200,0ESC$=123456Pitch command can be used with Vector fonts Fonts WB, WL, XB & XL Command Structure Font WBESCWB1123456 Expansion rate is at least 3 times in each direction Form Overlay, Recall Form Overlay, Store Graphics, Custom Command Structure ESCGabbbcccdataESCGH006006 Custom graphic cannot be enlarged by the Escl Character Job ID Store Journal Print ESCFWaabbVccccHdddd Lines and BoxesESCFWaabcccc ESCFW02H0200CT400 CT412 LINE/BOXLength Job Name Command Structure ESCWKnnn. . . nEscwksato Command Structure ESCYEa Label/Tag SelectLine Feed Sato CT Series Printers 9001069A Command Structure ESCA1aaaabbbb Media SizeOff-Line Postnet Command Structure ESCBPn...nESCBP123456789 Command Structure ESC#Eab Print DarknessPrint Position Bbbb Command Structure ESCQaaaaaa Print QuantityPrint Speed ESCCS3Repeat Label EsccReplace Data Partial Edit 9001069A Sato CT Series Printers Reverse Image Command Structure ESCaaaa,bbbbESC100,50 CT400 CL412 Command Structure ESC%a Rotate, Fixed Base Reference PointSequential Numbering Command Structure ESCFaaabcccc,dd,ee,fESCF0001-001,04,03,0 Value specified for Print Quantity should be equal to Start/Stop Label Two-Dimensional Symbols ESCBX03080505000000001 Two-Dimensional Bar Codes Data Matrix, Data FormatCommand Structure ESCBXaabbccddeeefffghh Printer OutpuECC Character SET Encoding Number SchemeTwo-Dimensional Bar Codes Data Matrix, Print Data ESCDC00006000Two-Dimensional Bar Codes Data Matrix, Sequential Numbering Command Structure ESCFXaaabcccdddeee9001069A Sato CT Series Printers Command Structure ESCBVa,b,c,ddddddddd,eee,fff,gggg.....ESC Two-Dimensional Bar Codes MaxicodeExample ESCBV1,2,3,123456789,222,333,MESSAGEESC Mode Postal Code Country Code Service Class Message Length Following modes are supportedCommand Function Printer Input Two-Dimensional Bar CodesCommand Structure ESCBKaabbcddeeffffnn...n ESCBK03044000000219001069A Sato CT Series Printers Printer Configuration Commands Eurocharacter Select Command Structure ESCLD,a,b,c,d,e,f,g,h,i,jExample ESCLD,,,%,#,&,*,~,0,0,D5 Command Structure ESCPGabcdefghhijklmnopqrstuvwxyz Printer SettingCommand HEX Description Parameter Value Placement Separate data stream sent to printer Default None All command parameter values must be in Ascii format Print Mode Command Structure ESCPMaCommand Structure ESCPHa Print TypeCommand Structure ESCPOabcc Pitch OffsetCommand Structure ESCIGa Sensor TypeCommand Structure ESCI2abcde Serial Interface ParametersSection Interface Specifications Interface TypesSingle Job Buffer Receive BufferMulti Job Buffer Ieee 1284 Parallel Interface Electrical SpecificationsData Streams PIN Signal Direction Ieee 1284 Parallel Interface Pin AssignmentsOptional RS232C Serial Interface General SpecificationsPIN Assignments READY/BUSY Flow Control PIN Direction Signal DefinitionCable Requirements DB9On/X-Off Flow Control Universal Serial BUS USB Optional InterfaceData Streams ENQUIRE/ACK/NAK Local Area Network LAN OptionalinterfaceBI-DIRECTIONAL Communications Enquire ENQPrint Stop DLE Cancel canPrint Job Print Start DC1Status Byte Definition, Bi-Com Protocol Printer Status SOH + MG Status ResponseByte HEX Description Number Value Label Media Sensor Status SOH + SG Counter Status SOH + MEByte Value Description Number Memory Status Head Status SOH + HCSystem Version Information Byte Value Description Number AsciiForm Overlay Status SOH + FO Font Configuration SOH + FG Serial Interface Settings Interface StatusInitial Checklist Using the Ieee 1284 Parallel InterfaceTroubleshooting Using the RS232C Serial Interface Error Signals A3Habbbb A1aaaabbbbVcdddd BKaabbcdd Eeefffnn...n,g BabbcccdBDabbcccd BPn...nDdddddddd BTabbccddeeBVa,b,c Eee,f f f,gg..gDabbcccd CSaCTaaaa DCxx...xFWccVddd FWaabbVcccHdddd FXaaabcccLaabb IGaI2abcde LDa,b,c,d,e,f,g,iPMa PaaPGa.....z PHaRFaabbbb,nn..n RDabb,ccc,dddNn . . . n VbbbbXBa WLaXLa YEaAaaa,bbbb $a,b,c,d$=data Data for Vector font #Eab ZeroNULaaaa ~aaaaA-12 9001069A Sato CT Series Printers Appendix B BAR Code Specifications BAR Code SymbologiesESCD0bbcccd data d CodabarESCB0bbcccd data d Ratio ESCBD0bbcccd data d Character SetESCBD1bbccc* data Command Structure Ratio ESCB1bbccc* dataCode ESCD1bbccc* dataESCD2bbccc data Interleaved Two of Five I 2/5ESCBD2bbccc data Density ModelNarrow Bar Width mils FactorMod 10 Check Digit CalculatingODD Even Command Structure ESCB4bbccc data ESCD4bbccc dataBD5bbccc data Industrial Two of FiveB5bbccc data D5bbccc dataESCBD6bbccc data Matrix Two of FiveESCB6bbccc data ESCD6bbccc dataCommand Structure ESCBGbbcccdd data Density Char/inch Model Dimension Mils Subsets a Subset CESCBDAbbccc data d ESCBAbbccc data dESCDAbbccc data d Density Model Dimension Char/inch Ratio Mils Command Structure ESCBEbbccc data ESCDEbbccc dataCommand Structure ESCBFbbccc data Bookland UPC/EAN SupplementsCommand Structure ESCBIbbcccd data UCC-128B-16 9001069A Sato Ct Series Printers Command Structure Escbp data Sequential Numbering ESCFXaaabcccdddeee Command Structure Data FormatData Matrix Print DataStructure of this symbology Mode Postal Code Country Code Service Ctass Message Length Command Structure ESCBFaabbcddeeffffnnn...n Code 128 Character Table Value Subset a Subset B Subset CCode 128 Character Table Code 128 Character Table cont’d Appendix C Custom Characters and Graphics CUSTOM-DESIGNED Character ExampleAppendix C Custom Characters and Graphics Sato CT Series Printers 9001069A C-3 Custom Graphics Example Sato CT Series Printers 9001069A C-5 C-6 9001069A Sato CT Series Printers Sato CT Series Printers 9001069A C-7 C-8 9001069A Sato CT Series Printers
Related manuals
Manual 8 pages 18.05 Kb