Specifications
Table Of Contents
- Consumables
- Conventions
- Warranty and Copyright
- Contents
- CX SERIES PROGRAMMING GUIDE
- INTRODUCTION
- THE SATO PROGRAMMING LANGUAGE
- SELECTING PROTOCOL CONTROL CODES
- USING BASIC
- Printing with the Parallel Port
- Printing with the RS232 Port
- ROTATED FIELDS
- COMMAND DEFAULT SETTINGS
- PRINTER CONFIGURATION
- COMMAND CODE PAGE REFERENCE
- Bar Codes
- Bar Codes, Expansion
- Bar Codes, Variable Ratio
- Base Reference Point
- Characters, Custom-Designed
- Character Expansion
- Character, Fixed Spacing
- Character Pitch
- Character, Proportional Spacing
- Clear Print Job(s) & Memory
- Continuous Forms Printing
- Copy Image Area
- Cutter Command
- Fonts U, S, M, OA, OB, XU, XS & XM
- Fonts WB, WL, XB & XL
- Form Feed
- Form Overlay, Recall
- Form Overlay, Store
- Graphics, Custom
- Graphics, PCX
- Journal Print
- Label Size & Start Position
- Lines and Boxes
- Line Feed
- Off-Line/Pause
- Postnet
- Print Darkness
- Print Length, Expanded
- Print Position
- Print Quantity
- Print Speed
- Repeat Label
- Replace Data (Partial Edit)
- Reverse Image
- Rotate, Fixed Base Reference Point
- Rotate, Moving Base Reference Point
- Sequential Numbering
- Start/Stop Label
- Expanded Memory Option Commands
- Expanded Memory Function Fonts, TrueType Recall
- Expanded Memory Function Fonts, TrueType Store
- Expanded Memory Function Graphics, Custom Recall
- Expanded Memory Function Graphics, Custom Store
- Expanded Memory Function Graphics, PCX Recall
- Expanded Memory Function Graphics, PCX Store
- Expanded Memory Function Initialise
- Expanded Memory Function Area Select
- Expanded Memory Function Status
- Two-Dimensional Symbols
- Two-Dimensional Bar Codes Maxicode
- Two-Dimensional Bar Codes PDF417
- CONFIGURATION COMMANDS
- Calibrate Sensor
- Auto Calibration
- Custom Protocol Command Codes Download
- Label Tear-Off
- Print Darkness Fine Adjustment
- Print Test Label
- Set Print Mode
- Set RS232 Parameters
- Set Sensor Type
- Back Feed Enable

SATO CX Series Printer
1
CX SERIES PROGRAMMING GUIDE
CX SERIES PROGRAMMING GUIDECX SERIES PROGRAMMING GUIDE
CX SERIES PROGRAMMING GUIDE
INTRODUCTION
This section presents the commands that are used with the SATO CX printers
to produce labels with logos, bar codes and alphanumeric data.
The following information is presented in this section:
❒ The SATO Programming Language
❒ Selecting Protocol Control Codes
❒ Using Basic
❒ The Print Area
❒ Printer Configuration
❒ Command Codes
THE SATO PROGRAMMING LANGUAGE
THE SATO PROGRAMMING LANGUAGETHE SATO PROGRAMMING LANGUAGE
THE SATO PROGRAMMING LANGUAGE
A programming language for a printer is a familiar concept to most program-
mers. It is a group of commands that are designed to use the internal intelli-
gence of the printer. The commands, which are referred to as SATO
Command Codes, contain non-printable ASCII characters (such as <STX>,
<ETX>, <ESC>) and printable characters. These commands must be assem-
bled into an organized block of code to be sent as one data stream to the
printer, which in turn interprets the command codes and generates the desi-
red label output. The programmer is free to use any programming language
available to send the desired data to the printer.
The command codes used are based upon “Escape” (1B hexadecimal)
sequences. Typically there are four types of command sequences:
<ESC>{Command}
These commands generally tell the printer to perform a specific action, like
“clear the memory.”
<ESC>{Command} {Data}
Commands with this format tell the printer to perform a specific action which
is dependent upon the following data, like “print X labels”, where the value
for X is contained in the data.
<ESC>{Command} {Parameter}
These commands set the operational parameters of the printer, like “set the
print speed to 3.”