SATO CT400, CT410 Status Response, Printer Status SOH + MG, Byte HEX Description Number Value

Page 145

Section 5. Interface Specifications

STATUS RESPONSE

The second method of determining printer status is to interrograte the printer with specific commands. The response from these commands will provide specific information about the printer status depending upon the command. This allows the controlling application to determine the status of a printer when it is located in a remote location.

Printer Status (SOH + MG)

Upon Receipt of an SOH (hexadecimal 01) followed immediately by an ASCII MG causes the printer to return a 30 byte Printer Status Word bounded by an STX-ETXpair that reports the current operating status of the printer.

BYTE

HEX

DESCRIPTION

NUMBER

VALUE

 

 

 

 

 

 

 

1

00

Thermal Transfer Print Type

 

01

Direct Thermal Print Type

 

 

 

2

00

203 dpi Resolution

 

01

305 dpi Resoution

 

 

 

3

00

2 ips Print Speed

 

01

3 ips Print Speed

 

02

4 ips Print Speed

 

03

5 ips Print Speed

 

04

6 ips Print Speed

 

 

 

4

00

Continuous Print Mode

 

01

Tear-Off Print Mode

 

02

Cutter Print Mode

 

03

Label Dispense Print Mode

 

04

Reserved

 

 

 

5

00

Cut at head position

 

01

Cut at Cutter Position

 

02

No back feed after cut

 

 

 

6

00

Dispense at head position

 

01

Dispense at dispense position

 

 

 

7

00

Reserved

 

 

 

8

41

Print Density A

 

42

Print Density B

 

43

Print Density C

 

 

 

9

00

Print Density Level 1

 

01

Print Density Level 2

 

02

Print Density Level 3

 

03

Print Density Level 4

 

04

Print Density Level 5

 

 

 

10

00

Reflective (Eye-Mark) Sensor

 

01

Gap (See-Thru) Sensor

 

02

No Sensor

 

 

 

 

 

 

SATO CT Series Printers

9001069A

Page 5-11

Image 145
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 Introduction Section Printer OverviewSpecification General Printer SpecificationsCT400 CT410 Processing CPU Matrix Fonts Character FontsUCC/EAN-128 BAR CodesPhysical Power RequirementsAccessory Optional AccessoriesThis 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 Roll Media Loading MediaFanfold Media Roll Guide so that the PaperClose and latch Print Head Assembly CT Series Printer Label Sensor Positioning Label SensingOperator Panel Power Rear Connector PanelIf Installed Fanfold Paper Slot Parallel InterfaceConfiguration Switch Configuration PanelDSW1 DSW2 DSW3 Setting DSW4 Setting Off EnableDSW5 Setting DSW6 SettingDSW8 Setting Error DisplayLED Error Mode Millimeters Inches Dots Potentometer AdjustmentsOffset Pitch OffsetLabel Feed Direction Sensor Position Print Darkness HEX Dump Diagnostic Label User Test Print Print Test LabelsFACTORY/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 Replacing the Print Head Cleaning the Platen and Paper RollerCleaning and Maintenance Supplies Needed Sato SA070 Cleaning Kit Cleaning the SensorsThis page left intentionally blank Sato CT Programming Language Section ProgrammingProtocol 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 MSI Bar CodesEsca Input to PrinterPrinter Output With Incrementing UCC-128Special Notes Command Function Command Structure ESCBWaabbbBar Codes, Expansion ESCBW02100Bar Codes, Variable Ratio Command Structure ESCBTabbccddee9001069A Sato CT Series Printers Base Reference Point Command Structure ESCA3HabbbbVcddddESCA3H+100V+0050 Printer configuration until a new Base Reference Point Characters, Custom-Designed Command Structure Store Command ESCTabccESCK1H903F Printer InputCharacter is affected by the following commands Character Expansion Command Structure ESCLaabbThis command will expand the following fonts Character, Fixed Spacing Command StructureCharacter Pitch This command is affected by the Escl Character Expansion Escpr Character, Proportional SpacingClear Print Jobs & Memory Command Structure ESC*aSpecial Note Continuous Forms Printing Command Structure NoneCopy Image Area Command Structure ESCWDHaaaaVbbbbXccccYddddESCWDH0100V0050X0600Y0400 For the duplicate image Cut Job Command Structure ESCNULaaaaCut Command Structure ESCCTaaaaCut Last Fonts U, S, M, OA, OB, XU, XS & XM Command Structure Font XUCharacters may be enlarged through the use of the Character Font/Graphic Recall Command Structure ESCAESCRFaabbbb,nn...nFont, Raster Command Structure ESCAESCRDabb,ccc,ddd,nn. . .nESC$a,b,c,d Font, VectorESC$=data 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 ESCFWaabcccc Lines and BoxesESCFWaabbVccccHdddd ESCFW02H0200CT400 CT412 LINE/BOXLength Job Name Command Structure ESCWKnnn. . . nEscwksato Label/Tag Select Command Structure ESCYEaLine Feed Sato CT Series Printers 9001069A Media Size Command Structure ESCA1aaaabbbbOff-Line Postnet Command Structure ESCBPn...nESCBP123456789 Print Darkness Command Structure ESC#EabPrint Position Bbbb Print Quantity Command Structure ESCQaaaaaaESCCS3 Print SpeedEscc Repeat LabelReplace Data Partial Edit 9001069A Sato CT Series Printers Reverse Image Command Structure ESCaaaa,bbbbESC100,50 CT400 CL412 Rotate, Fixed Base Reference Point Command Structure ESC%aSequential 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 Command Structure ESCBXaabbccddeeefffghh Two-Dimensional Bar Codes Data Matrix, Data FormatESCBX03080505000000001 Printer OutpuCharacter SET Encoding Number Scheme ECCESCDC00006000 Two-Dimensional Bar Codes Data Matrix, Print DataCommand Structure ESCFXaaabcccdddeee Two-Dimensional Bar Codes Data Matrix, Sequential Numbering9001069A 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 Following modes are supported Mode Postal Code Country Code Service Class Message LengthCommand Structure ESCBKaabbcddeeffffnn...n Two-Dimensional Bar CodesCommand Function Printer Input 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 Command Structure ESCPMa Print ModePrint Type Command Structure ESCPHaPitch Offset Command Structure ESCPOabccSensor Type Command Structure ESCIGaSerial Interface Parameters Command Structure ESCI2abcdeInterface Types Section Interface SpecificationsSingle Job Buffer Receive BufferMulti Job Buffer Ieee 1284 Parallel Interface Electrical SpecificationsData Streams Ieee 1284 Parallel Interface Pin Assignments PIN Signal DirectionOptional RS232C Serial Interface General SpecificationsPIN Assignments Cable Requirements PIN Direction Signal DefinitionREADY/BUSY Flow Control DB9On/X-Off Flow Control Universal Serial BUS USB Optional InterfaceData Streams BI-DIRECTIONAL Communications Local Area Network LAN OptionalinterfaceENQUIRE/ACK/NAK Enquire ENQPrint Job Cancel canPrint Stop DLE 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 System Version Information Head Status SOH + HCMemory Status Byte Value Description Number AsciiForm Overlay Status SOH + FO Font Configuration SOH + FG Interface Status Serial Interface SettingsUsing the Ieee 1284 Parallel Interface Initial ChecklistTroubleshooting Using the RS232C Serial Interface Error Signals A3Habbbb A1aaaabbbbVcdddd BDabbcccd BabbcccdBKaabbcdd Eeefffnn...n,g BPn...nBVa,b,c BTabbccddeeDdddddddd Eee,f f f,gg..gCTaaaa CSaDabbcccd DCxx...xHdddd FWaabbVcccFWccVddd FXaaabcccI2abcde IGaLaabb LDa,b,c,d,e,f,g,iPGa.....z PaaPMa PHaNn . . . n RDabb,ccc,dddRFaabbbb,nn..n VbbbbXLa WLaXBa YEa$=data Data for Vector font #Eab $a,b,c,dAaaa,bbbb Zero~aaaa NULaaaaA-12 9001069A Sato CT Series Printers BAR Code Symbologies Appendix B BAR Code SpecificationsESCB0bbcccd data d Ratio ESCBD0bbcccd data d CodabarESCD0bbcccd data d Character SetCode Command Structure Ratio ESCB1bbccc* dataESCBD1bbccc* data ESCD1bbccc* dataESCBD2bbccc data Interleaved Two of Five I 2/5ESCD2bbccc data Density ModelWidth mils Factor Narrow BarMod 10 Check Digit CalculatingODD Even ESCD4bbccc data Command Structure ESCB4bbccc dataB5bbccc data Industrial Two of FiveBD5bbccc data D5bbccc dataESCB6bbccc data Matrix Two of FiveESCBD6bbccc data ESCD6bbccc dataDensity Char/inch Model Dimension Mils Subsets a Subset C Command Structure ESCBGbbcccdd dataESCBDAbbccc data d ESCBAbbccc data dESCDAbbccc data d Density Model Dimension Char/inch Ratio Mils ESCDEbbccc data Command Structure ESCBEbbccc dataBookland UPC/EAN Supplements Command Structure ESCBFbbccc dataUCC-128 Command Structure ESCBIbbcccd dataB-16 9001069A Sato Ct Series Printers Command Structure Escbp data Data Matrix Command Structure Data FormatSequential Numbering ESCFXaaabcccdddeee Print DataStructure of this symbology Mode Postal Code Country Code Service Ctass Message Length Command Structure ESCBFaabbcddeeffffnnn...n Value Subset a Subset B Subset C Code 128 Character TableCode 128 Character Table Code 128 Character Table cont’d CUSTOM-DESIGNED Character Example Appendix C Custom Characters and GraphicsAppendix 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