SATO CT400, CT410 manual C-6 9001069A Sato CT Series Printers

Page 197

Appendix C: Custom Characters and Graphics

4.Using the hexadecimal data, send the following code to print the graphic image as designed.

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

FFFFFF FFFFFF FFFFFF FFFFFF C00000 000003

C00000 000003 C000FF FFFFF3 C00080 000013

C00080 000013 C0009F FFFF13 C00080 000013

C00080 000013 C0009F FFFF13 C00080 000013

C00080 000013 C000FF FFFFF3 C00000 000003

C00000 000003 C00000 000003 C00000 000003

C00000 000003 C00000 000003 C00003 C00003

C00007 E00003 C0000F F00003 C0000F F00003

C0000F F00003 C0000F F00003 C00007 E00003

C00003 C00003 C00000 000003 C00000 000003

C00000 000003 C00000 000003 C00001 800003

C00003 C00003 C00003 C00003 C00003 C00003

C00003 C00003 C00003 C00003 C00003 C00003

C00003 C00003 C00003 C00003 C00003 C00003

C00003 C00003 C00001 800003 C00000 000003

C00000 000003 FFFFFF FFFFFF FFFFFF FFFFFF <ESC>Q1<ESC>Z

Note: Spaces shown in the hexidecimal listing above are for emphasis only. Spaces must not be encoded within the graphic portion of the data stream to the printer. Also, CR and LF characters to separate the lines must not be encoded in the data stream.

5.To send the data in binary format, the software must convert the data into binary format before transmitting it to the printer. Using the BASIC programming language for example, this is done by notation “CHR$ (&HC0)” which sends the hexidecimal value of “C0” as binary data (11000000). The BASIC program listing for sending this graphic to the printer (using the RS232 port) in binary format is:

CLS

OPEN “COM2:9600,N,8,1,CS,DS” FOR OUTPUT AS #1

E$ = CHR$(27)

PRINT #1,CHR$(2); E$; “A”; E$; “V0100"; E$; ”H0100"; E$; “GB006006";

PRINT #1,CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);

PRINT #1,CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);

PRINT #1,CHR$(&HFF);CHR$(&HFF);CHR$(&HC0);CHR$(&H00);CHR$(&H00);

PRINT #1,CHR$(&H00);CHR$(&H00);CHR$(&H03);CHR$(&HC0);CHR$(&H00);

PRINT #1,CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H03);CHR$(&HC0);

PRINT #1,CHR$(&H00);CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HF3);

PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&H80);CHR$(&H00);CHR$(&H00);

PRINT #1,CHR$(&H13);CHR$(&HC0);CHR$(&H00);CHR$(&H80);CHR$(&H00);

PRINT #1,CHR$(&H00);CHR$(&H13);CHR$(&HC0);CHR$(&H00);CHR$(&H9F);

PRINT #1,CHR$(&HFF);CHR$(&HFF);CHR$(&H13);CHR$(&HC0);CHR$(&H00);

PRINT #1,CHR$(&H80);CHR$(&H00);CHR$(&H00);CHR$(&H13);CHR$(&HC0);

PRINT #1,CHR$(&H00);CHR$(&H80);CHR$(&H00);CHR$(&H00);CHR$(&H13);

PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&H9F);CHR$(&HFF);CHR$(&HFF);

PRINT #1,CHR$(&H13);CHR$(&HC0);CHR$(&H00);CHR$(&H80);CHR$(&H00);

PRINT #1,CHR$(&H00);CHR$(&H13);CHR$(&HC0);CHR$(&H00);CHR$(&H80);

PRINT #1,CHR$(&H00);CHR$(&H00);CHR$(&H13);CHR$(&HC0);CHR$(&H00);

PRI NT #1,CHR$(&HFF);CHR$(&HFF);CHR$(&HFF);CHR$(&HF3);CHR$(&HC0);

PRINT #1,CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H03);

PRINT #1,CHR$(&HC0);CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H00);

PRINT #1,CHR$(&H03);CHR$(&HC0);CHR$(&H00);CHR$(&H00);CHR$(&H00);

PRINT #1,CHR$(&H00);CHR$(&H03);CHR$(&HC0);CHR$(&H00);CHR$(&H00);

PRINT #1,CHR$(&H00);CHR$(&H00);CHR$(&H03);CHR$(&HC0);CHR$(&H00);

PRINT #1,CHR$(&H00);CHR$(&H00);CHR$(&H00);CHR$(&H03);CHR$(&HC0);

Page C-6

9001069A

SATO CT Series Printers

Image 197
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 OverviewCT400 CT410 General Printer SpecificationsSpecification 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 InterfaceDSW1 DSW2 DSW3 Setting Configuration PanelConfiguration Switch DSW4 Setting Off EnableDSW5 Setting DSW6 SettingLED Error Error DisplayDSW8 Setting 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 Darkness Print ProceduresAdjusting the Print Quality Supplies needed Cleaning the Print HEAD, Platen and RollersCleaning the Print Head 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 ProgrammingControl HEX Description Character Value Using BasicProtocol Control Codes Open COM19600,E,8,1,CS,DS AS #1 Print Area Print AreaProgramming Reference Rotated Fields Command Default SettingsCommand Codes 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 ESCA3H+100V+0050 Command Structure ESCA3HabbbbVcddddBase Reference Point 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 SpacingSpecial Note Command Structure ESC*aClear Print Jobs & Memory Continuous Forms Printing Command Structure NoneESCWDH0100V0050X0600Y0400 Command Structure ESCWDHaaaaVbbbbXccccYddddCopy Image Area 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 ESCWB1123456 Command Structure Font WBFonts WB, WL, XB & XL Expansion rate is at least 3 times in each direction Form Overlay, Recall Form Overlay, Store ESCGH006006 Command Structure ESCGabbbcccdataGraphics, Custom Custom graphic cannot be enlarged by the Escl Character Job ID Store Journal Print ESCFWaabcccc Lines and BoxesESCFWaabbVccccHdddd ESCFW02H0200Length LINE/BOXCT400 CT412 Escwksato Command Structure ESCWKnnn. . . nJob Name Label/Tag Select Command Structure ESCYEaLine Feed Sato CT Series Printers 9001069A Media Size Command Structure ESCA1aaaabbbbOff-Line ESCBP123456789 Command Structure ESCBPn...nPostnet 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 ESC100,50 Command Structure ESCaaaa,bbbbReverse Image CT400 CL412 Rotate, Fixed Base Reference Point Command Structure ESC%aESCF0001-001,04,03,0 Command Structure ESCFaaabcccc,dd,ee,fSequential Numbering 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 Example ESCBV1,2,3,123456789,222,333,MESSAGEESC Two-Dimensional Bar Codes MaxicodeCommand Structure ESCBVa,b,c,ddddddddd,eee,fff,gggg.....ESC 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 Example ESCLD,,,%,#,&,*,~,0,0,D5 Command Structure ESCLD,a,b,c,d,e,f,g,h,i,jEurocharacter Select Command HEX Description Parameter Value Printer SettingCommand Structure ESCPGabcdefghhijklmnopqrstuvwxyz 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 SpecificationsMulti Job Buffer Receive BufferSingle Job Buffer Data Streams Electrical SpecificationsIeee 1284 Parallel Interface Ieee 1284 Parallel Interface Pin Assignments PIN Signal DirectionPIN Assignments General SpecificationsOptional RS232C Serial Interface Cable Requirements PIN Direction Signal DefinitionREADY/BUSY Flow Control DB9Data Streams Universal Serial BUS USB Optional InterfaceOn/X-Off Flow Control 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 Byte HEX Description Number Value Status ResponsePrinter Status SOH + MG Label Media Byte Value Description Number Counter Status SOH + MESensor Status SOH + SG 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 Vcdddd A1aaaabbbbA3Habbbb 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 BarODD Even CalculatingMod 10 Check Digit 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 dataESCDAbbccc data d ESCBAbbccc data dESCBDAbbccc 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