SATO CT410, CT400 manual Graphics, Custom, Command Structure ESCGabbbcccdata, ESCGH006006

Page 88

Section 4. Programming Reference

Graphics, Custom

Command Structure <ESC>Gabbbccc(data)

 

a

=

Specifies format of data stream to follow

 

 

 

B

Binary format

 

 

 

H

Hexadecimal format

 

bbb

=

Number of horizontal 8 x 8 blocks (001-248)

 

ccc

=

Number of vertical 8 x 8 blocks (001-267)

 

(data)=

Hex data to describe the graphic image

 

Example:

 

<ESC>GH006006

 

 

 

 

See Appendix C for a detailed example

 

Placement:

May be placed anywhere within the data stream after the

 

 

 

 

necessary position commands.

 

Default:

 

None

Command Function

To create and print custom graphics (logos, pictures, etc.) on a label.

 

The graphic image may be printed along with other printed data to

 

enhance label appearance or eliminate the need for preprinted label

 

stock. Using a dot-addressable matrix, design the graphic image in 8

 

dot by 8 dot blocks, then send it in a binary format to the printer.

Printer Input

<ESC>A

 

 

 

<ESC>H0100<ESC>V0100<ESC>GH006006

 

FFFFFFFFFFFFFFFFFFFFFFFFC00000000003

C00000000003C000FFFFFFF3C00080000013

C00080000013C0009FFFFF13C00080000013

C00080000013C0009FFFFF13C00080000013

C00080000013C000FFFFFFF3C00000000003

C00000000003C00000000003C00000000003

C00000000003C00000000003C00003C00003

C00007E00003C0000FF00003C0000FF00003

C0000FF00003C0000FF00003C00007E00003

C00003C00003C00003C00003C00003C00003

C00003C00003C00003C00003C00003C00003

C00003C00003C00003C00003C00003C00003

C00003C00003C00001800003C00000000003

C00000000003FFFFFFFFFFFFFFFFFFFFFFFF <ESC>H0300<ESC>V0100<ESC>XSPLEASE PLACE YOUR DISK <ESC>H0300<ESC>V0150<ESC>XSIN A SAFE PLACE <ESC>Q1<ESC>Z

See Appendix C for a details on the data format.

Page 4-44

9001069A

SATO CT Series Printers

Image 88
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 Rear Connector Panel PowerIf Installed Fanfold Paper Slot Parallel InterfaceConfiguration Switch Configuration PanelDSW1 DSW2 DSW3 Setting Off Enable DSW4 SettingDSW5 Setting DSW6 SettingDSW8 Setting Error DisplayLED Error Potentometer Adjustments Mode Millimeters Inches DotsOffset 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 Command Structure ESCBWaabbb Command FunctionBar Codes, Expansion 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 Command Structure Store Command ESCTabcc Characters, Custom-DesignedESCK1H903F 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, RasterFont, Vector ESC$a,b,c,dESC$=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 Lines and Boxes ESCFWaabccccESCFWaabbVccccHdddd 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 Two-Dimensional Bar Codes Data Matrix, Data Format Command Structure ESCBXaabbccddeeefffghhESCBX03080505000000001 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 supportedTwo-Dimensional Bar Codes Command Structure ESCBKaabbcddeeffffnn...nCommand 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 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 PIN Direction Signal Definition Cable RequirementsREADY/BUSY Flow Control DB9On/X-Off Flow Control Universal Serial BUS USB Optional InterfaceData Streams Local Area Network LAN Optionalinterface BI-DIRECTIONAL CommunicationsENQUIRE/ACK/NAK Enquire ENQCancel can Print JobPrint 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 Head Status SOH + HC System Version InformationMemory Status 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 Babbcccd BDabbcccdBKaabbcdd Eeefffnn...n,g BPn...nBTabbccddee BVa,b,cDdddddddd Eee,f f f,gg..gCSa CTaaaaDabbcccd DCxx...xFWaabbVccc HddddFWccVddd FXaaabcccIGa I2abcdeLaabb LDa,b,c,d,e,f,g,iPaa PGa.....zPMa PHaRDabb,ccc,ddd Nn . . . nRFaabbbb,nn..n VbbbbWLa XLaXBa YEa$a,b,c,d $=data Data for Vector font #EabAaaa,bbbb ZeroNULaaaa ~aaaaA-12 9001069A Sato CT Series Printers Appendix B BAR Code Specifications BAR Code SymbologiesCodabar ESCB0bbcccd data d Ratio ESCBD0bbcccd data dESCD0bbcccd data d Character SetCommand Structure Ratio ESCB1bbccc* data CodeESCBD1bbccc* data ESCD1bbccc* dataInterleaved Two of Five I 2/5 ESCBD2bbccc dataESCD2bbccc data Density ModelNarrow Bar Width mils FactorMod 10 Check Digit CalculatingODD Even Command Structure ESCB4bbccc data ESCD4bbccc dataIndustrial Two of Five B5bbccc dataBD5bbccc data D5bbccc dataMatrix Two of Five ESCB6bbccc dataESCBD6bbccc 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 Command Structure Data Format Data MatrixSequential Numbering ESCFXaaabcccdddeee 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