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
3
1. Set the WIDTH of the output device to 255 characters to avoid au-
tomatically sending <CR> and <LF> characters after every line.
The command string should be continuous and uninterrupted by
<CR> and/or <LF> commands. The examples given in this ma-
nual are printed on separate lines because they will not fit on
one line and do not contain any <CR> and/or <LF> characters.
If these characters are needed, they are explicitly noted by the
inclusion of <CR> and <LF> notations.
2. If you are using the printer’s RS232 interface, it is necessary to set
the COM port on the PC such that the CTS and DSR signals will
be ignored. Send your OPEN “COM” statement in the following
way:
OPEN “COM1:9600,E,8,1,CS,DS” AS #1
This sets the RS232 communication parameters of the host PC’s COM1 port
for 9600 baud, Even parity, 8 Data bits, 1 Stop bit and directing the port to
ignore the CTS and DSR control signals.
3. You may want to minimize keystrokes and program size by assi-
gning the <ESC> character to a string variable since this charac-
ter is used quite often.
The following two examples in BASIC show a typical example using these
hints. Both of these examples use the Standard Protocol codes.
Printing with the Parallel Port
Printing with the Parallel PortPrinting with the Parallel Port
Printing with the Parallel Port
5 REM Parallel Example Identifies the program as a
parallel port print label. The
“REM” prevents this data from
being sent to the printer and
displays it only on the screen.
10 E$=CHR$(27) Sets the “E$” string as an
<ESC> character
20 WIDTH “LPT1:”,255 Sets the width of the output to
255 characters
30 LPRINT E$;"A"; Sends an “<ESC>A” com-
mand code to the LPT1 paral-
lel port
40 LPRINT E$;"H400";E$;"V100";E$;"WL1SATO"; Sends the data “SATO” to be
to be placed 400 dots horizon-
tally and 100 dots vertically on
the label and printed in the
“WL” font.