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

4
SATO CX Series Printer
50 LPRINT E$;"Q1"; Instructs the printer to print
one label.
60 LPRINT E$; “Z”; Tells the printer that the last
command has been sent. The
printer can now create and
print the job.
Printing with the RS232 Port
Printing with the RS232 PortPrinting with the RS232 Port
Printing with the RS232 Port
5 REM RS232 Example Identifies the program as a
RS232 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 OPEN “COM1:9600,N,8,1,CS,DS” AS #1 Opens the COM1 port for out-
put and sets the parameters as
9600 baud, No parity, 8 Data
bits, 1 Stop bit and instructs
the port to ignore the CTS and
DSR control signals.
30 PRINT #1,CHR$ (2); Sends an <STX> (ASCII Code
a decimal “2”) to the printer
instructing it to prepare to
receive a message.
40 PRINT #1,E$;"A"; Sends an “<ESC>A” com-
mand code to Print Port #1
opened by statement 20
above.
50 PRINT #1, E$;"H400";E$;"V100";E$;"WL0SATO"; 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.
60 PRINT #1, E$;"Q1"; Instructs the printer to print a
quantity of one label.
70 PRINT #1, E$; “Z”; Tells the printer that the last
command has been sent. The
printer can now create and
print the job.
80 PRINT #1,CHR$ (3); Sends an <ETX> (ASCII Code
decimal “3”) to the printer tel-
ling it that this is the end of the
message.