Programmer’s Manual
Part Number Revision D
Table of Contents
STX E
Extended System Commands
Label-Formatting Commands
Font Loading Commands
Appendix a
Appendix D
Appendix M
Who Should Use This Manual Scope of This Manual
Preface
Computer Entry and Display Conventions
General Conventions
Serial Interface Cable Requirements 32-2300-01
Getting to Know the Printer
‘F’ Buttons Functions
Introduction
Control Codes
Control Codes
Reset
Immediate Commands
SOH a Send Ascii Status String
SOH#
Stop/Cancel
SOH B Toggle Pause
SOH D SOH Shutdown
SOH E Send Batch Quantity
SOH U Update System Database with Current Database
SOH F Send Status Byte
Bit Value Condition
Immediate Commands
STX a Set Time and Date
System-Level Commands
STX a Enable Feedback Characters
STX B Get Printer Time and Date Information
STXa
STX c Set Continuous Paper Length
STX d Set Double Buffer Mode
STX E Set Quantity For Stored Label
STXcnnnn
STX e Select Edge Sensor
STX f Set Form Stop Position Backfeed Command
STX G Print Last Label Format
Form Feed
STX I Image Downloading
Designator
Format Type
STX i Scalable Font Downloading
STX J Set Pause for Each Label
STX k Test RS-232 Port
STX m Set Metric Mode
STX L Enter Label-Formatting Command Mode
STX n Set Imperial Inches Mode
STX M Set Maximum Label Length
STX O Set Start of Print Position
STX P Character Hex Dump Mode
STX o Cycle Cutter
STX p Controlled Pause
STX q Clear Module
STX Q Clear All Modules
STX r Select Reflective Sensor
STX S Set Feed Speed
STX T Print Dot Pattern Label
STX s Set Single Buffer Mode
STX t Test Dram Memory Module
STXt
STXUTnnss…sCR
STX U Label Format String Replacement Field
Command Values for Bits Assigned
STX V Software Switch Settings
STX v Request Firmware Version
STXVn
STXWa
STX W Request Memory Module Information
STX X Set Default Module
STX w Test Flash Memory Module
STXw a
STX x Delete File from Module
STX Y Output Sensor Values
STXxmtnn…nCR
STX y Select Font Symbol Set
STX Z Print Configuration and Dot Pattern Labels
STX z Pack Module
STX K Memory Configuration
Extended System Commands
Command Stxk Command Character
Extended System Command Characters
Backfeed Time Delay
STX Kb
SyntaxSTXKbnnnCR
STX KC Get Configuration
Set Configuration
STX Kc
STXKcaa1val1aaIvalIaanvalnCR
Set Configuration Commands
Without any alignment unless the RTC option is installed
Stxkd Ignore Host Distance bit value
Setting Stop Location
SyntaxSTXKDwxyzCR
STX KD Database Configuration
Stxkd Configuration Commands
STX KE Character Encoding
Bit Parameter Number Function Values
Partial DPL Interpretation
STX Kf
STX KQ Query Memory Configuration
Set Present Distance
SyntaxSTXKfnnnnCR
Memory Configuration, Scalable Font Cache
STX KR Reset Memory Configuration
Reset Resettable Counter
Memory Configuration, Printable Label Width
Extended System Commands
Set Cut By Amount
Label-Formatting Commands
Set Format Attribute
Attribute Description Example
Format Attributes
Set Cut By Amount
Set Column Offset Amount
Set Dot Size Width and Height
Terminate Label-Formatting Mode and Print
Fax
Font Attributes
Place Data in Global Register
Set Present Speed
Select Mirror Mode
Select Heat Setting
Set Metric Mode
Set Imperial Inch Mode
Set Print Speed
Set Print Quantity
Set Backfeed Speed
Recall Stored Label Format
Set Row Offset Amount
Store Label Format In Module
Set Slew Speed
Set Field Data Line Terminator
Mark Previous Field as a String Replacement Field
Select Font Symbol Set
Terminate Label-Formatting Mode without Printing
Zero Ø Conversion to
+ Make Last Field Entered Increment Numeric Alphanumeric
Make Last Field Entered Decrement Numeric Alphanumeric
Set Count by Amount
Special Label-Formatting Commands
STX T Print Time and Date
STX S Recall Global Data And Place In Field
String Print
Time and Date String Characters
Sample 1 will print SUN DEC 21, 98 on a label
###D
Font Loading Commands
###W Font Descriptor
Assign Font ID Number
Character Download Data
###E Character Code
ESC*c ###E
ESCs ###W nn…n
Generating Label Formats
Format Record Commands
String Sent to Printer Printer Interpretation
Sample Label Format
Structure of a Record
Generating Records
Header Data String Termination Character
121100000050005
Record Type Structure
Mapped Font Code
Rotation
Fonts, Bar Codes, Graphics and Images
Font Field Interpretations
Font Field Value b Interpretation
Width Multiplier
Height Multiplier
Gggg Column Position
Ffff Row Position
Hhhh Optional Scalable Font Height
Iiii Optional Scalable Font Width
Field Valid Inputs Meaning
Smooth Font Record Structure
Scalable Fonts
10 Bar Code Record Structure
Scalable Character Size Ranges Bar Codes
Lines and Boxes
11 Image Fields Graphics
Segment Valid Inputs Meaning
12 Line and Box Parameters
13 Polygon Record Structure
Polygons
Fill Patterns
Circles
Rectangle with Fill
Triangle
Circle
Circle with Fill
Generating Label Formats
Appendix a
Ascii Control Chart
XON =
Sample Programs
Appendix B
‘C’ Language Program
VB Application Generating DPL
End Sub
VB Application interfacing via Windows Driver
Appendix B
VB Application interfacing via Windows Driver
Appendix B
Appendix B
This will create the form pictured below
Table C-2 Font Sizes 203 DPI Resolution
Appendix C
Available Font Sizes, Referencing and Samples
Table C-4 Internal Bit-Mapped Smooth Font 9 Size Chart
Table C-3 Font Sizes 300 DPI Resolution
Internal Bit-Mapped and Smooth Font Samples
Appendix C
Appendix C
Appendix C
Appendix D
Error Codes
Appendix D