ProgrammingGuideCX208/212Desktop Printer®
ROTATED FIELDSThe printers can rotate each print field in 90° increments using the Rotate command.There are two variations of this command.• <ESC&g
Set Print ModeCommand Structure <ESC>CPaa = 0 for Direct Thermal Printing (without ribbon)1 for Thermal Transfer Printing (with ribbon)Example:
Set RS232 ParametersCommand Structure <ESC>CRaaaaa,b,c,daaaaa = Baud Rate (2400, 4800, 9600,19200 or 38400)b = Parity (N for None, O for Odd, E
Set Sensor TypeCommand Structure <ESC>CIaa = 0 Disable Sensor1 Reflective (Eye-Mark ) Sensing2 Transmissive (Label Gap or Notch) SensingExample:
Enable OptionsCommand Structure <ESC>CLaa = 0 Disable Dispenser Option1 Enable Dispenser option<ESC>CKaa = 0 Disable Cutter Option1 Enable
Page 100 PN 9001092 Rev. A SATO CX208/212 PrintersCX208/212 Programming GuideMODE Dispenser<ESC>CLCutter<ESC>CKBackfeed<ESC>CEQuanti
COMMAND DEFAULT SETTINGSThere are some types of commands that must have a value specified before a labelcan be printed. If the data stream does not co
LABEL SENSINGThe CX208/212 printers can use eye-mark (black bar), gap or notch label sensing.The gap and notch sensor is a transmissive or see-thru ty
command stream will calibrate the printer in the thermal transfer mode for gapsensing:<ESC>A<ESC>CP1<ESC>CI2<ESC>CA<ESC>
COMMAND CODE PAGE REFERENCEThis section contains all the printer Command Codes. The commands must be sent tothe printer in an organized fashion in ord
Bar CodesCommand Structure 1:3 narrow/wide bar ratio: <ESC>Babbcccd2:5 narrow/wide ratio: <ESC>BDabbcccd1:2 narrow/wide bar ratio: <ESC
Input to PrinterPage 12 PN 9001092 Rev. A SATO CX208/212 PrintersCX208/212 Programming Guide
Printer OutputPage 13 PN 9001092 Rev. A SATO CX208/212 PrintersCX208/212 Programming Guide
UCC-128 Without IncrementingWith IncrementingPage 14 PN 9001092 Rev. A SATO CX208/212 PrintersCX208/212 Programming Guide
Special Notes 1. UPC and EAN bar codes are not affected by the different types ofnarrow to wide ratios. Instead, the <ESC>D command addsdescende
SATO America, Inc.545 Weddell DriveSunnyvale, CA 94089Main Phone: (408) 745-1300Tech Support Hot Line: (408) 745-1379Fax: (408) 745-1309http://www.sat
Bar Codes, ExpansionCommand Structure <ESC>BWaabbbaa = Expansion factor by which the width of all bars and spaceswill be increased (01-12)bbb =
Bar Codes, Variable RatioCommand Structure <ESC>BTabbccddeea = Bar Code Symbol:0 Codabar1 Code 392 Interleaved 2 of 5bb = Narrow space in dots (
Special Notes 1. This command must be immediately followed by the <ESC>BWBar Code Expansion command.2. You may use only one variable ratio bar c
Base Reference PointCommand Structure <ESC>A3H-aaaaVbbbb- = This character is optional. When present, it specifies thehorizontal offset is in th
Special Notes 1. Use of this command will set the Vertical/Horizontal Offset settingof the printer configuration until a new Base Reference Pointcomma
Characters, Custom-DesignedCommand Structure Store Command: <ESC>TabccRecall Command: <ESC>Kab90cca = 1 16x16 matrix2 24x24 matrixb = Spec
Printer OutputSpecial Notes 1. When printing the custom character using the <ESC>K Recallcommand, the character is affected by the following com
Character ExpansionCommand Structure <ESC>Laabbaa = Multiple to expand horizontally (01-12)bb = Multiple to expand vertically (01-12)Example: &l
Special Notes This command will expand the following fonts:1. Fonts U, S, M, XU, XS, XM, OA & OB and fonts WB, WL, XB andXL.2. This command will a
Character, Fixed SpacingCommand Structure <ESC>PRExample: See AbovePlacement: Preceding the dataDefault: The default is Proportional Spacing.Com
TABLE OF CONTENTSCX200 PROGRAMMING GUIDEIntroduction ...1The SATO Programming Language...1Selecting Protoco
Character PitchCommand Structure <ESC>Paaaa = Number of dots between characters (00-99)Example: <ESC>P03Placement: Preceding the text to b
Special Notes 1. This command is affected by the <ESC>L Character Expansioncommand. The character pitch is actually the product of thecurrent ho
Character, Proportional SpacingCommand Structure <ESC>PS Set to proportional spacing<ESC>PR Reset to fixed spacingExample: See abovePlacem
Clear Print Job(s) & MemoryCommand Structure <ESC>*aa = Specifies the internal memory section to be clearedT To clear the custom character m
Continuous Forms PrintingCommand Structure NoneThe printer locates the end of an adhesive label by sensing thebacking between labels or through the us
Copy Image AreaCommand Structure <ESC>WDHaaaaVbbbbXccccYddddaaaa = Horizontal position of the top left corner of the area to becopiedbbbb = Vert
1. Use the Print Position commands (V and H) to locate the newarea for the duplicate image.2. Position of the new target area must not be inside the o
Cutter CommandCommand Structure <ESC>~aaaa or <ESC><NUL>aaaaaaaa = Number of labels to print between each cut (0001 to 9999)Example:
Fonts U, S, M, OA, OB, XU, XS & XMCommand Structure Font XU: <ESC>XU Font U: <ESC>UFont XS: <ESC>XS Font S: <ESC>SFont XM:
Special Notes 1. Characters may be enlarged through the use of the CharacterExpansion command.2. Character spacing may be altered through the use of t
Start/Stop Label ...69Expanded Memory Option Commands ...70Clear Memory Area ...71Fonts, TrueTy
Fonts WB, WL, XB & XLCommand Structure Font WB: <ESC>WBa Font XB: <ESC>XBaFont WL: <ESC>WLa Font XL: <ESC>XLaa = Provided
Special Notes 1. Characters may be enlarged through the use of the <ESC>LCharacter Expansion command.2. Character spacing may be altered through
Form FeedCommand Structure <ESC>A(space)<ESC>ZExample: See abovePlacement: Separate data stream sent to printerDefault: NoneCommand Functi
Form Overlay, RecallCommand Structure <ESC>/Example: See abovePlacement: Must be preceded by all other data and placed justbefore the Print Quan
Form Overlay, StoreCommand Structure <ESC>&Example: See abovePlacement: Must be preceded by all other data and placed justbefore the Stop co
Graphics, CustomCommand Structure <ESC>Gabbbccc(data)a = Specifies format of data stream to followB Binary formatH Hexadecimal formatbbb = Numbe
Printer OutputSpecial Notes 1. Do not use ASCII <CR> or <LF> characters (carriage return orline feed) as line delimiters within the graphi
Graphics, PCXCommand Structure <ESC>GPaaaaa,(data)aaaaa = Number of bytes to be downloadedExample: <ESC>GP32000, ... data...Placement: Any
Journal PrintCommand Structure <ESC>JExample: See abovePlacement: Immediately following <ESC>ADefault: NoneCommand Function To print text
Lines and BoxesCommand Structure Line <ESC>FWaabccccaa = Width of horizontal line in dots (01-99)b = Line orientationH Horizontal lineV Vertical
CX208/212 PROGRAMMING GUIDEINTRODUCTIONThis section presents the commands that are used with the SATO CX208/212 printersto produce labels with logos,
2. The field ranges are:Page 46 PN 9001092 Rev. A SATO CX208/212 PrintersCX208/212 Programming GuideLINE/BOXLENGTHCX208 CX212Horizontalcccc0001 to 083
Line FeedCommand Structure <ESC>Eaaaaaa = Number of dots (001-999) between the bottom of thecharacters on one line to the top of the characters
Media SizeCommand Structure <ESC>A1aaaabbbbaaaa = Vertical Media Size in dots (0 to Vmax)bbbb = Horizontal Media Size in dots (0 to Hmax)Example
Off-Line/PauseCommand Structure <ESC>@Example: See abovePlacement: Anywhere in the print job between the <ESC>A and<ESC>ZDefault: No
PostnetCommand Structure <ESC>BPn...nn...n = 5 digits (Postnet-32 format)6 digits (Postnet-37 format)9 digits (Postnet-52 format)11 digits (Post
Print DarknessCommand Structure <ESC>#Eaa = Print darkness valuea=1,2,3,4or5Example: <ESC>#E2Placement: Must be placed immediately after &
Print Length, ExpandedCommand Structure <ESC>EX0 Sets the print length to max<ESC>AR Resets the maximum print length to 7" (178 mm)Ex
Special Notes 1. EX0 is effective until AR is sent to reset the printer to its standardprint length, or until the printer is repowered.2. It may be in
Print PositionCommand Structure Horizontal Position: <ESC>HaaaaVertical Position: <ESC>Vbbbbaaaa = Number of dots horizontally from the ba
Special Notes 1. The print position of a field is affected by both the Rotate(<ESC>R and <ESC>A3) commands.2. If any part of an image is p
<ESC> {Command} {Parameter} {Data}Some commands can contain both Parameter and Data elements, such as “print aCode 39 symbol containing the data
Print QuantityCommand Structure <ESC>Qaaaaaaaaaaaa = Total number of labels to print (1 to 65535)Example: <ESC>Q500Placement: Just precedi
Print SpeedCommand Structure <ESC>CSaa = Designates the speed selection2 = 2 ips (50 mm/s)3 = 3 ips (75 mm/s)Example: <ESC>CS3Placement: M
Repeat LabelCommand Structure <ESC>CExample: See abovePlacement: Must be placed immediately after <ESC>A andimmediately before <ESC>
Replace Data (Partial Edit)Command Structure <ESC>0 (<ESC>zero)Example: See abovePlacement: Must follow <ESC>A and precede all other
Special Notes 1. Specify the exact same parameters for the image to be replacedas were specified in the original data stream, including rotation,expan
Reverse ImageCommand Structure <ESC>(aaaa,bbbba = Horizontal length in dots of reverse image areaSee note 6 for allowable range.b = Vertical hei
Special Notes 1. A reverse image area is affected by the rotate commands.Therefore, always assume the printer is in the normal printorientation when d
Rotate, Fixed Base Reference PointCommand Structure <ESC>%aa = 0 Sets print to normal direction1 Sets print to 90°CCW2 Sets print to 180° rotate
Special Notes 1. Do not combine this command and the <ESC>R Rotate commandin the same data stream.2. The specified values are valid until anothe
Rotate, Moving Base Reference PointCommand Structure Normal Direction: <ESC>NRotated Direction: <ESC>RExample: See abovePlacement: Precedi
2. If you are using the printer’s RS232 interface, it is necessary to set the COM porton the PC such that the CTS and DSR signals will be ignored. Sen
Special Notes 1. This command is provided for compatibility with other SATOprinters. It is not recommended for new label designs and the<ESC>% r
Sequential NumberingCommand Structure <ESC>Faaaabcccc,dd,eeaaaa = Number of times to repeat the same data (0001-9999)b = Plus or minus symbol (+
Printer OutputSpecial Notes 1. The value specified for Print Quantity should be equal to thenumber of different sequential values desired multiplied b
Start/Stop LabelCommand Structure Start Command: <ESC>AStop Command: <ESC>ZExample: See abovePlacement: <ESC>A must precede data<
Expanded Memory Option CommandsThese commands require the Expanded Memory Option.The first 2MB of Expanded Memory installed is designated as memory ar
Expanded Memory FunctionClear Expanded MemoryCommand Structure <ESC>*a,bba = Memory section to be clearedG To clear SATO graphic files from expa
Expanded Memory FunctionFonts, TrueType RecallCommand Structure <ESC>BJT,aa,bb,cc,dd,ee,ffff,gg..gaa = Font ID (00 thru 99)bb = Horizontal Expan
Expanded Memory FunctionFonts, TrueType StoreThe conversion from a TrueType font to a format that can be downloaded to theprinter is very complex and
Expanded Memory FunctionGraphics, Custom RecallCommand Structure <ESC>GRaaaaaa = Graphics storage number (001-999)Example: <ESC>GR111Place
Expanded Memory FunctionGraphics, Custom StoreCommand Structure <ESC>GIabbbcccddd{data}a = Specifies character format of the dataH Hex dataB Bin
40 PRINT #1,E$;"A"; Sends an “<ESC>A” command code toPrint Port #1 opened by statement 20above.50 PRINT #1, E$;"H400";E$;&qu
Example of correct data stream:<ESC>A<ESC>GIHaaabbb001(DATA)<ESC>Z<ESC>A<ESC>GIHaaabbb002(DATA)<ESC>ZExample of in
Expanded Memory FunctionGraphics, PCX RecallCommand Structure <ESC>PYaaaaa = Storage area number (001 thru 099)Example: <ESC>PY001Placemen
Expanded Memory FunctionGraphics, PCX StoreCommand Structure <ESC>PIaaa,bbbbb,{data}aaa = Storage area number (001 thru 999)bbbbb = Size of PCX
Expanded Memory FunctionInitializeCommand Structure <ESC>BJFaaaaaaaaaaaaaaa = Eight character alphanumeric user IDExample: <ESC>BJFsatoPla
Expanded Memory FunctionArea SelectCommand Structure <ESC>CCaa = Section Select1 Section1, first 2MB of Expanded Memory2 Section 2, second 2MB o
Expanded Memory FunctionStatusCommand Structure <ESC>BJSExample: <ESC>BJSPlacement: After the <ESC>CC Memory AreaSelect command.Defa
Two-Dimensional SymbolsThe following commands are used to create the two-dimensional symbologiessupported by the printers.Page 82 PN 9001092 Rev. A SA
Two-Dimensional Bar CodesMaxicodeCommand Structure <ESC>BVa,b,c,ddddddddd,eee,fff,gggg...<ESC>a = Position of Maxicode symbol within the
Printer OutputSpecial Notes 1. Please refer to UPS Publication “Guide to Bar Coding with UPSOnline - Version 5” for the UPS secondary message data for
Two-Dimensional Bar CodesPDF417Command Structure <ESC>BKaabbcddeeffffnn...naa = Minimum module dimension (03-09 dots). Will not printif values o
The diagram below illustrates the maximum print area and a sample 2 inch wide by 3inch long label placed within this area. As can be seen, your label
2. If the product of the values entered for “dd” and “ee” are not equalto or less than the value of “fff” (i.e.,“ffff” is greater that “dd” x “ee”),an
CONFIGURATION COMMANDSThe following commands are used to set the operating parameters of the CX208/212printers. The settings currently active in the p
Auto-CalibrateCommand Structure <ESC>CFaa = 0 Disable Auto-Calibrate1 Enable Auto-CalibrateExample: <ESC>CF1Placement: This command should
Backfeed EnableCommand Structure <ESC>CEaa = 0 Disable Backfeed1 Enable BackfeedExample: <ESC>CE1Placement: This command should be sent in
Calibrate SensorCommand Structure <ESC>CAExample: <ESC>CAPlacement: This command should be sent after the sensor typehas been selected wit
Custom Protocol Command CodesDownloadCommand Structure <ESC>LD,a,b,c,d,e,f,g,h,ia = Replacement character for STX in ASCII or hex formatb = Repl
2. This command must be sent as an independent data streamimmediately following the <ESC>A Start code and immediatelypreceding the <ESC>Z
Label Tear-OffCommand Structure <ESC>CBabba = + to move the print line down from the top edge of the label- to move the print line toward thetop
Print Darkness Range AdjustmentCommand Structure <ESC>CDaaaaaa = Print Darkness Adjust (0 to 400)Example: <ESC>CD250Placement: This comman
Print Test LabelCommand Structure <ESC>CTExample: <ESC>CTPlacement: This command should be sent in a separate datastreamDefault: There is
Comments to this Manuals