Federal Communications Commission (FCC) Radio Frequency Interference Statement Warning
Changes or modifications to this unit not expressly approved by the party responsible for compliance could void the
user’s authority to operate the equipment.
Note
This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of the
FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment
is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if
not installed and used in accordance with the instruction manual, may cause harmful interference to radio
communications. Operation of this equipment in a residential area is likely to cause harmful interference in which case
the user will be required to correct the interference at his own expense.
Information to the User
This equipment must be installed and used in strict accordance with the manufacturer’s instructions. However, there is no
guarantee that interference to radio communications will not occur in a particular commercial installation. If this
equipment does cause interference, which can be determined by turning the equipment off and on, the user is
encouraged to contact CognitiveTPG immediately.
CognitiveTPG is not responsible for any radio or television interference caused by unauthorized modification of this
equipment or the substitution or attachment of connecting cables and equipment other than those specified by
CognitiveTPG. The correction of interferences caused by such unauthorized modification, substitution or attachment will
be the responsibility of the user.
In order to ensure compliance with the Product Safety, FCC and CE marking requirements, you must use the power
supply, power cord, and interface cable which are sold for use with this product or which meet the following parameters:
Power Supply
UL Listed (QQGQ), Class 2 power supply with SELV (Secondary Extra Low Voltage), non-energy hazard output, limited
energy source, input rated 100-240 Vac, 1.5/0.8 A, 50/60 Hz, output rated 24 Vdc, 2.9 A for 70 watt unit.
Use of this product with a power supply other than the CognitiveTPG power supply will require you to test the power
supply and CognitiveTPG printer for FCC and CE mark certification.
Communication Interface Cable
A shielded (360 degree) interface cable must be used with this product. The shield must be connected to the frame or
earth ground connection or earth ground reference at EACH end of the cable.
Use of a cable other than described here will require that you test the cable with the CognitiveTPG printer and your
system for FCC and CE mark certification.
Power Cord
A UL listed, detachable power cord must be used. For applications where the power supply module may be mounted on
the floor, a power cord with Type SJT marking must be used. For applications outside the US, power cords which meet the
particular country’s certification and application requirements should be used.
Use of a power cord other than described here may result in a violation of safety certifications which are in force in the
country of use.
Industry Canada (IC) Radio Frequency Interference Statement
This Class A digital apparatus meets all requirements of the Canadian Interference-Causing Equipment Regulations.
Cet appareil numérique de la classe A respecte toutes les exigences du Règlement sur le matériel brouilleur du Canada.
Voluntary Control Council for Interference (VCCI) Radio Frequency Interference Statement
This is a Class A product based on the standard of the Voluntary Control
Council for Interference by Information Technology Equipment (VCCI). If this equipment is used in a domestic
environment, radio disturbance may arise. When such trouble occurs, the user may be required to take corrective actions.
Disclaimer
Information in this document is subject to change without notice. Consult your CognitiveTPG sales representative for
information that is applicable and current. CognitiveTPG reserves the right to improve products as new technology,
components, software, and firmware become available.
No part of this document may be reproduced, transmitted, or translated in any form or by any means, electronic or
mechanical, for any purpose without the express written permission of CognitiveTPG.
Microsoft and Windows are registered Trademarks of Microsoft Corporation. All other trademarks and registered
trademarks are the property of their respective holders.
Bar code printers are programmable devices. Most CognitiveTPG
printers use the same command language, which has become an
industry standard.
NOTE: EZ-LP and PCL printers are an exception. Standard CPL printer
commands do not work on an EZ-LP or PCL printer. However, VARIABLE
commands can be used to configure these printers.
In typical label printing applications, you will use simple ASCII
commands to control the printer. You will write these commands in
files called label formats. When sent to the printer, each label format
tells the printer how to produce one or more labels.
One label format can print many similar labels. Label formats may be
sent to the printer individually or in batches, in multiple file uploads.
You may combine several different ASCII label formats in a single file,
with each format capable of producing a different label.
This document describes the ASCII and graphics commands used to
create label formats, stored objects, and menus, as well as the
VARIABLE commands used to configure the printer.
IMPORTANT: If you are using Microsoft Windows and preparing and printing
label formats directly from Notepad or another Windows-based program, be
aware that most Windows printer drivers will not work with CognitiveTPG
printers. The "generic ASCII" printer driver (supplied with Windows) will pa ss
ASCII label formats to the printer without interference. Please in stall and use
this driver when sending ASCII label formats to the printer from the Windows
environment. Do not use the CognitiveTPG Windows Driver when sending
ASCII formats to the printer. The CognitiveTPG Windows Driver converts
Windows documents to ASCII label formats; thus, your label form ats will print
as they appear in the text editor rather than directly contro l the printer as
intended.
Revision F, January 2012, CognitiveTPG 2
INTRODUCTION
Label Format Organization
With a few exceptions that are noted in the command descriptions,
every label format contains:
• A header line, which defines the overall label characteristics.
• One or more printer commands.
• An END statement, which tells the printer that it has
This label format would print a UPCA bar code on a label.
Command Syntax
CognitiveTPG printers will accept most commands in either an explicit
(long) or implicit (abbreviated) form. Both command forms, where
supported, are shown in the command descriptions. The command
descriptions use the following format:
Command
Function The purpose of the command is described here.
Explicit Form
Implicit Form
Parameters Any optional or required command parameters are
Comments Any additional comments relating to use of the
Command parameters.
Command parameters.
described here.
command are noted here.
Revision F, January 2012, CognitiveTPG 3
INTRODUCTION
Example
Sample program code is included here showing
proper use of the command.
NOTE: The sample code shown does not always include
all the lines in the label format that produced the sample
label. Header lines,
often omitted to save space.
Also, the label images shown only illustrate the features
or command under discussion. They are not to scale.
The labels your printer produces using the sample code
will differ considerably from the label images in this
document.
END statements and the like are
Important Programming Rules
Use blank spaces exactly as shown in the command descriptions.
Blank spaces are the delimiters between parameters. Omitting a
necessary space may cause incorrect label printing.
Do not send extraneous control characters to the printer.
End every command line with a line feed or a carriage return and line
feed. If you create labels using a word processor, confirm that your
system uses "hard" carriage returns (inserts ASCII characters 10 and
13 at the end of each line) to form the newline sequence.
Begin every label format with a header line. End every format with an
END statement, unless otherwise noted in the command descriptions.
(A few commands are "stand alone" and should not be followed by an
END statement or any other commands.)
Not all printers support all commands, and there may be some
variation in command use depending on the printer model. Review
your printer's User's Guide and the compatibility information in
Tables 1, 2, and 3 before you begin writing label formats or software.
4 Revision F, January 2012, CognitiveTPG
INTRODUCTION
Related Publications
Every printer has a User's Guide, which covers hardware issues like
installation, setup, and troubleshooting. We strongly recommend that
you familiarize yourself with your User's Guide before attempting to
program the printer.
We also recommend the following books for readers desiring more
information about bar code technology in general:
All commands, bar codes, and fonts do not work with all printers.
Commands are added with the introduction of new printers and new
firmware releases. Command usage can also vary, depending on the
printer's firmware. The tables following provide some general
command compatibility guidelines.
Y indicates that the command is supported in the current firmware
version for the listed printer.
N indicates that the command is NOT supported by the listed printer
and will cause the printer to report errors if the command is
encountered.
- indicates that the command is not supported by the listed printer and
it will have no effect if issued to the printer.
Printer Models
Printer models in the tables are designated as follows:
RD: Code Ranger Printers, all models
PW/PT42: Code Courier printers, models PW422003 and PT422003
BD/BT02: Barcode Blaster LS printers, models BD242002, BD422002,
BT242002, BT422002, and early Barcode Blaster SR printers
BD242003, BD422003, BT242003, BT422003, current Barcode Blaster
SR model BT423002, and Advantage LX model LBT and LBD.
Revision F, January 2012, CognitiveTPG 6
PRINTER COMMAND COMPATIBILITY
SOLUS: Solus printer series, models SD4TI and ST4TI
DEL SOL/LX: Del Sol models DT and DD, and Del Sol LX models
LDT and LDD
EZ-LP: EZ-LP models (printers recognize some CPL commands but do
not support printing CPL formats; EcPL and ZcPL emulation printing
only.)
PCL: C Series, models with PCL, Cxxx-1330, Cxxx-1330-RX (printers
recognize some CPL commands but do not support printing CPL
formats; PCL printing only.)
CI: C Series, model Ci (except PCL models, CIxx-1330)
CXI: C Series, model Cxi (except PCL models, CXxx-1330)
DLX: Advantage DLX series
Compatibility Tables
Use the tables to determine command and functional compatibilities.
Table 1. Printer Command Compatibility (CPL)
Table 2. Printer Set-up and Diagnostic Compatibility
Table 3. Printer Bar Code Support
Table 4. Printer Font Support
Revision F, January 2012, CognitiveTPG 7
PRINTER COMMAND COMPATIBILITY
Table 1. Printer Command Compatibility (CPL
only)
The following table summarizes commands that are compatible with
each printer model when operating with the most current version of
firmware.
COMMAND NAME PRINTER SUPPORT / NOTES
ADJUST Y Y Y Y Y Y Y Y Y Y Y
Variable
parameter for
ADJUST
ADJUST_DUP Y Y Y Y Y Y Y Y Y Y Y
AREA_CLEAR Y Y Y Y Y Y Y Y Y Y Y
BARCODE Y Y Y Y Y Y Y Y Y Y Y
BARCODE AZTEC N N N N Y(LX) N Y (LX) N Y Y Y
BARCODE
DATAMATRIX
BARCODE_FONT Y Y Y Y Y Y Y Y Y Y Y
Barcode GS1 Y Y Y
BARCODE PDF417 Y - Y Y Y Y Y Y Y Y Y
BARCODE QR N N N N N N N N Y Y Y
BARCODE RSS N N N N N N N N Y Y Y
BARCODE UPS Y - Y - Y Y Y Y Y Y Y
BEEP N N N N N N N N Y Y Y
COMMENT Y Y Y Y Y Y Y Y Y Y Y
DELIMIT - - - Y Y Y Y Y Y Y Y
DEFINE_VAR - - - Y Y Y Y Y Y Y Y
DOUBLE - - - - Y Y Y Y Y Y Y
DRAW_BOX Y Y Y Y Y Y Y Y Y Y Y
DRAW CIRCLE Y Y Y
DRAW ELLIPSE Y Y Y
DRAW LINE Y Y Y
END Y Y Y Y Y Y Y Y Y Y Y
FILL_BOX Y Y Y Y Y Y Y Y Y Y Y
GRAPHIC - Y Y Y Y Y Y Y Y Y Y
HALT Y Y Y Y Y Y Y Y Y Y Y
CODE COURIER
BD/BT02
BD/BT05
BL42
- - - Y Y Y Y Y Y Y Y
N N N N Y(LX) N Y (LX) N Y Y Y
ADVANTAGE/LX
SOLUS
DEL SOL/LX
CODE RANGER
CI
CXI
DLX/DLXi
8 Revision F, January 2012, CognitiveTPG
PRINTER COMMAND COMPATIBILITY
COMMAND NAME PRINTER SUPPORT / NOTES
CODE COURIER
BD/BT02
BD/BT05
BL42
ADVANTAGE/LX
SOLUS
DEL SOL/LX
CODE RANGER
CI
CXI
DLX/DLXi
INDEX Y Y Y N Y Y Y Y Y Y Y
JUSTIFY Y Y Y Y Y Y Y Y Y Y Y
LOGO mode Y Y Y Y Y Y Y Y N N N
MULTIPLE Y Y Y Y Y Y Y Y Y Y Y
NOINDEX Y Y Y Y Y Y Y Y Y Y Y
PITCH Y Y Y Y Y Y Y Y Y Y Y
QUANTITY - - - Y Y Y Y Y Y Y Y
R90, R180, R270 Y Y Y Y Y Y Y Y Y Y Y
STRING Y Y Y Y Y Y Y Y Y Y Y
TERMINAL Y Y Y
TEXT - Y Y Y Y Y Y Y Y Y Y
TIME SET N N N Y Y Y Y Y Y Y Y
TIME ADD N N N Y Y Y Y Y Y Y Y
TIME GET N N N Y Y Y Y Y Y Y Y
TIME QUERY N N N Y Y Y Y Y Y Y Y
ULTRA_FONT Y Y Y Y Y Y Y Y Y Y Y
Universal clear Y Y Y Y Y Y Y Y - - -
Wake-up string Y - - - - - - - - - -
WIDTH Y Y Y Y Y Y Y Y Y Y Y
Data storage commands:
Prompts N N N N Y N Y N Y Y Y
DataSkip N N N N Y N Y N Y Y Y
Delete Stored
Object
- - - Y Y Y Y Y Y Y Y
Format Recall - - - Y Y Y Y Y Y Y Y
Format Store - - - Y Y Y Y Y Y Y Y
Store Enhanced
Format
- - - Y Y Y Y Y Y Y Y
Graphic Store - - - Y Y Y Y Y Y Y Y
Graphic Recall - - - Y Y Y Y Y Y Y Y
Recall Menu - - - Y Y Y Y Y Y Y Y
Recall Variable - - - Y Y Y Y Y Y Y Y
HEADER commands:
Graphics mode Y Y Y Y Y Y Y Y N N N
Revision F, January 2012, CognitiveTPG 9
PRINTER COMMAND COMPATIBILITY
COMMAND NAME PRINTER SUPPORT / NOTES
Background
graphics
CODE COURIER
BD/BT02
BD/BT05
BL42
ADVANTAGE/LX
SOLUS
DEL SOL/LX
CODE RANGER
CI
CXI
DLX/DLXi
Y Y Y Y Y Y Y Y Y Y Y
Header line Y Y Y Y Y Y Y Y Y Y Y
variable dot
time
!A automatic
header line
Standard Header
Line
Reuse Header
Line
Y - Y Y Y Y Y Y Y Y Y
- - - Y Y Y Y Y Y Y Y
Y Y Y Y Y Y Y Y Y Y Y
Y Y Y Y Y Y Y Y Y Y Y
Automatic Header N N N N Y Y Y Y Y Y Y
Background
Header
Clear Background
Header
N N N N Y Y Y Y Y Y Y
N N N N Y Y Y Y Y Y Y
MENU commands:
MENU START N N N N Y Y Y Y Y Y Y
MENU END N N N N Y Y Y Y Y Y Y
MENU EXIT N N N N Y Y Y Y Y Y Y
MENU CONTROL N N N N Y Y Y Y Y Y Y
MENU ACTION N N N N Y Y Y Y Y Y Y
MENU ITEM N N N N Y Y Y Y Y Y Y
MEY Y NU MESSAGE N N N N Y Y Y Y Y
NOTE: On the Del Sol, the WIDTH command is mandatory or errors will
occur.
10 Revision F, January 2012, CognitiveTPG
PRINTER COMMAND COMPATIBILITY
Table 2. Printer Set-up and Diagnostic
The following table summarizes set-up and diagnostic commands
supported by each printer model.
COMMAND NAME PRINTER SUPPORT / NOTES
OBJECT MAINTENANCE commands:
Get Object Data Y Y Y Y Y
Mark Object for
Deletion
Mark Type of Object
for Deletion
Pack Objects Y Y Y Y Y
Delete Object Y Y Y Y Y Y Y Y Y Y Y Y Y
Delete All Objects Y Y Y Y Y Y Y Y Y Y Y Y Y
Print Object List Y Y Y Y Y Y Y Y Y Y Y Y Y
Object List out
Serial Port/USB
DIAGNOSTIC commands:
PRINT TEST LABEL Y Y Y Y Y
Query Firmware
Revision
Query Index
Settings
Query Index Buffer
Values
Query Printer
Status
Show Inches Printed Y Y Y Y Y
Show MAC Address Y Y Y Y Y
Show Model Number Y Y Y Y Y
Show Print Head Y Y Y Y Y
Show Serial Number Y Y Y Y Y
CAPTURE TO USB commands:
Open Output Message
Trace
Close Output
Message Trace
Open Input Capture
Trace
VARIABLE TOF N N N N N N N N Y Y Y Y Y
VARIABLE TXTBFR Y Y Y Y Y Y Y Y Y Y Y Y Y
VARIABLE USB_TXTBFR Y Y Y Y Y
VARIABLE
USER_FEEDBACK
Y Y Y Y Y Y Y Y Y Y Y Y Y
VARIABLE WIDTH - Y Y Y Y Y Y Y Y Y Y Y Y
VARIABLE WRITE Y Y Y Y Y Y Y Y Y Y Y Y Y
VARIABLE
ZPL_COMMAND_MASK
Y Y Y Y N
16 Revision F, January 2012, CognitiveTPG
PRINTER COMMAND COMPATIBILITY
Table 3. Printer Bar Code Support
The following table summarizes bar codes supported by each printer
model.
BAR CODE
SYMBOLOGY
ADD2 Y Y Y Y Y Y Y Y Y Y Y Y
ADD5 Y Y Y Y Y Y Y Y Y Y Y Y
AZTEC N N N N - - - Y Y Y Y
CODE16K Y - Y - - - - - N N N N
CODE39 Y Y Y Y Y Y Y Y Y Y Y Y
CODE93 - - - Y Y Y Y Y Y Y Y Y
CODE128A Y Y Y Y Y Y Y Y Y Y Y Y
CODE128B Y Y Y Y Y Y Y Y Y Y Y Y
CODE128C Y Y Y Y Y Y Y Y Y Y Y Y
CODABAR Y Y Y Y Y Y Y Y Y Y Y Y
DATA
MATRIX
EAN8 Y Y Y Y Y Y Y Y Y Y Y Y
EAN13 Y Y Y Y Y Y Y Y Y Y Y Y
EAN128 Y Y Y Y Y Y Y Y Y Y Y Y
GS1 Y Y Y Y
MAXICODE Y - Y Y Y Y Y Y Y Y Y Y
MSI Y Y Y Y Y Y Y Y Y Y Y Y
MSI1 Y Y Y Y Y Y Y Y Y Y Y Y
PDF417 Y - Y Y Y Y Y Y Y Y Y Y
PLESSEY Y Y Y Y Y Y Y Y Y Y Y Y
POSTNET - - - Y Y Y Y Y Y Y Y Y
QR CODE Y Y Y Y
UPCA Y Y Y Y Y Y Y Y Y Y Y Y
UPCE Y Y Y Y Y Y Y Y Y Y Y Y
UPCE1 Y Y Y Y Y Y Y Y Y Y Y Y
UPCA+ Y Y Y Y Y Y Y Y Y Y Y Y
RSS Y Y Y Y
I2OF5 Y Y Y Y Y Y Y Y Y Y Y Y
D2OF5 - - - Y Y Y Y Y Y Y Y Y
S2OF5 - - - Y Y Y Y Y Y Y Y Y
SUPPORTED IN PRINTERS
PW/PT 42
BD/BT 02
BD/BT 04/05
BL42
ADVANTAGE/LX
SOLUS
DEL SOL/LX
CODE RANGER
CI
CXI
DLX/DLXi
PCL
N N N N - - - N Y Y Y Y
NOTE: EZ-LP printers do not support CPL printing and therefore do n ot
support printing the CPL format bar code symbologies listed .
Revision F, January 2012, CognitiveTPG 17
PRINTER COMMAND COMPATIBILITY
Table 4. Printer Font Support
The following table summarizes the fonts supported by each printer
model.
FONT OR
FEATURE
STRING 3X5
STRING 5X7
STRING 8X8
STRING 9X12
STRING 12X16
STRING 18X23
STRING 24X31
ULTRA_FONT A
ULTRA_FONT B
ULTRA_FONT C
TEXT 0
TEXT 1
TEXT 2
TEXT 3
TEXT 4
TEXT 5
TEXT 6
BARCODE_FONTS
STORED FONTS
DOUBLE byte
Kanji,Korean)
fonts
DOUBLE byte
(Traditional
Chinese)font
SUPPORTED IN PRINTERS
PW/PT 42
BD/BT 02
BD/BT 04/05
BL42
ADVANTAGE/LX
SOLUS
DEL SOL/LX
CODE RANGER
CI
CXI
DLX/DLXi
PCL
Y Y Y Y Y Y Y Y Y Y Y Y
Y Y Y Y Y Y Y Y Y Y Y Y
Y Y Y Y Y Y Y Y Y Y Y Y
Y Y Y Y Y Y Y Y Y Y Y Y
Y Y Y Y Y Y Y Y Y Y Y Y
Y Y Y Y Y Y Y Y Y Y Y Y
Y - Y Y Y Y Y Y Y Y Y Y
Y Y Y Y Y Y Y Y Y Y Y Y
Y Y Y Y Y Y Y Y Y Y Y Y
Y - Y - Y LX Y Y Y Y Y Y Y
- Y Y Y Y Y Y Y Y Y Y Y
- Y Y Y Y Y Y Y Y Y Y Y
- Y Y Y Y Y Y Y Y Y Y Y
- Y Y Y Y Y Y Y Y Y Y Y
- Y Y Y Y Y Y Y Y Y Y Y
- - Y Y Y Y Y Y Y Y Y Y
- - Y Y Y Y Y Y Y Y Y Y
- - - Y Y Y Y Y Y Y Y Y
- - - Y Y Y Y Y Y Y Y Y
-
-
- - - - - - - -
-
- Y Y Y Y Y Y Y Y
TRUE TYPE - - - - - - - - Y Y Y Y
NOTE: EZ-LP printers do not support CPL printing and therefore do not
support printing the CPL format fonts listed.
18 Revision F, January 2012, CognitiveTPG
Chapter
3
Standard Printer Commands
This chapter describes standard printer commands.
Standard Printer Command List
The following is a list of standard printer commands.
ADJUST DRAW_BOX PRINT TEST LABEL
ADJUST_DUP DRAW_CIRCLE QUANTITY
AREA_CLEAR DRAW_ELLIPSE QUERY INDEX
BARCODE DRAW_LINE QUERY REVISION
BARCODE AZTEC END QUERY STATUS
BARCODE DATAMATRIX FILL_BOX ROTATE R90, R180,
R270
BARCODE_FONT GRAPHIC SHOW INCHES
Barcode GS1 Graphics mode SHOW MAC
BARCODE PDF417 HALT SHOW MODEL
BARCODE QR Header line SHOW PRINT HEAD
BARCODE RSS INDEX SHOW SERIAL NO.
BARCODE UPS JUSTIFY STRING
BARCODE_FONT LOGO mode TERMINAL
BEEP MULTIPLE TEXT
COMMENT NOINDEX TIME
DOUBLE PITCH ULTRA_FONT
Universal clear
Wake-up string
WIDTH
Revision F, January 2012, CognitiveTPG 20
STANDARD PRINTER COMMANDS
ADJUST
Function Increments or decrements a variable value or numeric
data on the preceding command line.
Explicit
Form
Implicit
Form
Parameters
ADJUST variable nnn
A variable nnn
Variable
The name of the variable to be adjusted,
as specified in its DEFINE_VAR command.
The variable value is adjusted wherever it
is called before the ADJUST command in
the label format. This is an optional
parameter, and is not supported in all
printers. If no variable is specified, the
printer will adjust the data on the
command line immediately preceding the
ADJUST command.
NOTE: Do not confuse variable values (as
used to represent data) with VARIABLE
commands (which control the printer). Also,
only printers that support the
command will support variable values. Refer
to Table 1, Printer command compatibility
for more information.
DEFINE_VAR
Nnnn
The incrementing or decrementing step
size. Positive or negative numbers are
accepted.
Comments Using ADJUST to increment or decrement alpha data can
produce unexpected results.
NOTE:ADJUST will not work properly with the !+ header
line parameter
See also ADJUST_DUP
Example
! 0 100 200 3
BARCODE CODE39 150 30 30 TEST20
Revision F, January 2012, CognitiveTPG 21
Loading...
+ 296 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.