CognitiveTPG DLXi User Manual

Cognitive Programming Language (CPL)
Programmer's Guide
105-008-04 Revision F – January 2012
*105-008-04*
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.
Copyright
Copyright © 2012 by TPG IPB, Inc., 950 Danby Road, Ithaca, New York 14850, USA. All rights reserved. Printed in USA. Confidential, Unpublished. Property of TPG IPB, Inc.
Trademarks
CognitiveTPG™ is a trademark of TPG IPB, Inc.
Microsoft and Windows are registered Trademarks of Microsoft Corporation. All other trademarks and registered trademarks are the property of their respective holders.
Contact Information
CognitiveTPG, Inc.
25 Tri-State International, Suite 200
Lincolnshire, IL 60069
Email:
marketing@cognitivetpg.com
Telephone: +1.800.732.8950
Fax: +1.847.383.7949
Website:
http://www.CognitiveTPG.com
T able of Contents
Introduction.............................................................................................. 2
Label Format Organization.................................................................. 3
Command Syntax................................................................................ 3
Important Programming Rules............................................................. 4
Related Publications............................................................................ 5
Printer Command Compatibility............................................................. 6
Printer Models..................................................................................... 6
Compatibility Tables............................................................................ 7
Table 1. Printer Command Compatibility (CPL only)..................... 8
Table 2. Printer Set-up and Diagnostic.......................................11
Table 3. Printer Bar Code Support .............................................. 17
Table 4. Printer Font Support...................................................... 18
Standard Printer Commands................................................................ 20
Standard Printer Command List........................................................ 20
ADJUST...................................................................................... 21
ADJUST_DUP ............................................................................ 23
AREA_CLEAR............................................................................ 24
BARCODE.................................................................................. 25
BARCODE AZTEC ..................................................................... 30
BARCODE DATAMATRIX.......................................................... 32
BARCODE_FONT ...................................................................... 35
Barcode GS1 Databar................................................................. 38
BARCODE PDF417.................................................................... 41
BARCODE QR............................................................................ 45
BARCODE RSS.......................................................................... 47
BARCODE UPS.......................................................................... 47
BEEP..........................................................................................52
COMMENT ................................................................................. 53
DOUBLE..................................................................................... 54
DRAW_BOX ............................................................................... 56
DRAW_CIRCLE.......................................................................... 57
DRAW_ELLIPSE ........................................................................ 58
DRAW_LINE............................................................................... 59
END............................................................................................60
FILL_BOX................................................................................... 61
GRAPHIC ................................................................................... 63
Graphics mode............................................................................ 65
HALT........................................................................................... 68
Header line ................................................................................. 69
INDEX......................................................................................... 72
JUSTIFY.....................................................................................74
LOGO mode ............................................................................... 76
MULTIPLE..................................................................................78
NOINDEX ................................................................................... 80
PITCH......................................................................................... 81
PRINT TEST LABEL................................................................... 83
QUANTITY.................................................................................. 84
Query Firmware Revision ........................................................... 85
Query Index Buffer Values.......................................................... 86
Query Index Settings .................................................................. 87
Query Printer Status ................................................................... 88
Status Query Response Messages............................................. 89
ROTATE R90, R180, R270......................................................... 93
Show Inches Printed................................................................... 95
Show MAC Address.................................................................... 95
Show Model Number .................................................................. 96
Show Print Head......................................................................... 96
Show Serial Number................................................................... 97
STRING......................................................................................98
TERMINAL................................................................................ 102
TEXT......................................................................................... 103
TIME.........................................................................................106
ULTRA_FONT .......................................................................... 111
Universal Clear ......................................................................... 115
Wake-up string.......................................................................... 116
WIDTH...................................................................................... 118
Storing Data in the Printer Memory.................................................... 120
Before Using Data Storage Commands..........................................120
Data Storage Commands................................................................ 121
Get Object Data........................................................................ 122
Mark Object for Deletion........................................................... 123
Mark Type of Objects for Deletion............................................. 124
Pack Objects............................................................................. 126
Delete Stored Object................................................................. 127
DELIMIT.................................................................................... 128
DEFINE VARIABLE.................................................................. 129
Format Recall ........................................................................... 134
Format Store............................................................................. 135
GRAPHIC RECALL................................................................... 139
GRAPHIC STORE.................................................................... 140
Initialize Storage ....................................................................... 142
List Stored Objects.................................................................... 143
Recall Menu.............................................................................. 144
Recall Variable.......................................................................... 145
Menu Commands................................................................................. 146
Menu Operation............................................................................... 146
Menu Programming......................................................................... 147
Menu Command List.......................................................................148
MENU ACTION ......................................................................... 149
MENU CONTROL..................................................................... 152
MENU END............................................................................... 153
MENU EXIT .............................................................................. 154
MENU ITEM.............................................................................. 155
MENU MESSAGE..................................................................... 157
MENU START........................................................................... 158
Recall Menu.............................................................................. 160
Capturing Data to USB Drive Commands.......................................... 162
Open Output Message Trace.................................................... 163
Close Output Message Trace................................................... 164
Open Input Capture Trace........................................................ 165
Close Input Capture Trace........................................................ 166
Add String to Trace File............................................................167
Write Trace Data to File............................................................ 168
Printer Setup (VARIABLE) Commands.............................................. 170
Variable Command Rules ............................................................... 170
Variable Command List................................................................... 171
VARIABLE ALLOCATE............................................................. 172
VARIABLE AUDIO_FREQ........................................................ 173
VARIABLE AUTOCUT.............................................................. 174
VARIABLE AUTO_TOF............................................................175
VARIABLE AUX_POWER ........................................................ 176
VARIABLE BACKLIGHT........................................................... 177
VARIABLE BEEPER................................................................. 178
VARIABLE BUFFER_TIMED_RESET...................................... 179
VARIABLE CODE_PAGE......................................................... 180
VARIABLE COMM.................................................................... 182
VARIABLE COMPATIBLE........................................................ 185
VARIABLE COMPATIBLE LOCAL_PITCH............................... 186
VARIABLE COMPATIBLE LX_VAR_ERROR........................... 187
VARIABLE COMPATIBLE DBF_ROT_LOC_ADJUST ............. 188
VARIABLE COMPATIBLE DISABLE_RG_JUSTIFY ................ 189
VARIABLE COMPATIBLE POWERUP_PITCH........................ 190
VARIABLE COMPATIBLE USE_LX_PARSER......................... 191
VARIABLE COMPATIBLE LX_HEAD_DEFS ........................... 192
VARIABLE COMPATIBLE LX_SINGLE_LABEL....................... 193
VARIABLE CONTRAST............................................................ 194
VARIABLE CPL_COMMAND_MASK ....................................... 195
VARIABLE DARKNESS............................................................ 196
VARIABLE EPL_COMMAND_MASK........................................ 198
VARIABLE ERROR_LEVEL ..................................................... 199
VARIABLE FEED...................................................................... 200
VARIABLE FEED_BUTTON..................................................... 201
VARIABLE FEED_CONFIG...................................................... 202
VARIABLE FEED_TYPE .......................................................... 204
VARIABLE GAP_SIZE.............................................................. 205
VARIABLE HIGHSPEED..........................................................206
VARIABLE INDEX .................................................................... 207
VARIABLE INDEX SETTING.................................................... 208
VARIABLE IRDA....................................................................... 211
VARIABLE IRDA COMM .......................................................... 212
VARIABLE IRDA PROTOCOL.................................................. 213
VARIABLE KBLAYOUT............................................................214
VARIABLE LABEL_LENGTH.................................................... 215
VARIABLE LANGUAGE ........................................................... 216
VARIABLE LOWSPEED........................................................... 217
VARIABLE MEASURE_LABEL................................................. 218
VARIABLE MEDIA_ADJUST.................................................... 219
VARIABLE MENU_LANGUAGE............................................... 222
VARIABLE MIRROR_LABEL.................................................... 223
VARIABLE MODE..................................................................... 224
VARIABLE NO_MEDIA............................................................. 226
VARIABLE NORMAL................................................................ 228
VARIABLE OFF AFTER ........................................................... 229
VARIABLE ON/OFF.................................................................. 230
VARIABLE ON_TIME ............................................................... 231
VARIABLE OVERRIDE............................................................. 231
VARIABLE PITCH..................................................................... 231
VARIABLE POSITION..............................................................233
VARIABLE PRESENTLABEL ................................................... 234
VARIABLE PRINT_MODE........................................................ 237
VARIABLE PRINT_SPEED ...................................................... 238
VARIABLE READ ..................................................................... 239
VARIABLE RECALIBRATE ...................................................... 240
VARIABLE REPORT_LEVEL ................................................... 241
VARIABLE REPORT_TYPE..................................................... 242
VARIABLE REPRINT................................................................ 243
VARIABLE RESET ................................................................... 244
VARIABLE ROTATE_LABEL.................................................... 245
VARIABLE SCRIPT_INPUT_RESET........................................ 246
VARIABLE SHIFT LEFT...........................................................247
VARIABLE SLEEP_AFTER...................................................... 248
VARIABLE TERMINAL.............................................................249
VARIABLE TIME....................................................................... 250
VARIABLE TOF........................................................................ 251
VARIABLE TXTBFR ................................................................. 252
VARIABLE USER_FEEDBACK................................................ 254
VARIABLE USB_TXTBFR........................................................ 255
VARIABLE WIDTH.................................................................... 257
VARIABLE WRITE.................................................................... 258
VARIABLE ZPL_COMMAND_MASK........................................ 260
Using VARIABLE Commands............................................................. 262
Blazer Compatibility......................................................................... 263
Setting DT or TT Print Method......................................................... 264
Setting Bar or Gap Index Type........................................................ 265
Optimizing Index Detection ............................................................. 265
Direct Thermal Printing.............................................................265
Thermal Transfer Printing with Standard Wax Ribbon.............. 266
Thermal Transfer Printing with Resin Ribbon ........................... 266
Automatic Detect....................................................................... 266
Calibrate the Index.................................................................... 267
Setting Print Width........................................................................... 267
Ethernet Printer Information............................................................... 268
Ethernet Interface............................................................................ 268
Ethernet Link Indicator.............................................................. 268
Ethernet Connector................................................................... 268
Physical Address ...................................................................... 268
Network Protocols..................................................................... 269
Network Applications ................................................................ 269
LPD........................................................................................... 269
TFTP......................................................................................... 269
RTEL......................................................................................... 269
TELNET.................................................................................... 270
BOOTP.....................................................................................270
DHCP........................................................................................ 271
Printer Configuration ....................................................................... 271
Configuration Options...............................................................271
Manual Configuration................................................................ 272
Set Host Name.......................................................................... 273
Show Host Name...................................................................... 274
Operation ........................................................................................ 275
Self Test.................................................................................... 275
Variable Commands for Ethernet.................................................... 276
Ethernet Variable Commands ......................................................... 276
VARIABLE ETHERNET BOOTP............................................... 277
VARIABLE ETHERNET DHCP................................................. 277
VARIABLE ETHERNET DHCP_CRIT....................................... 278
VARIABLE ETHERNET DHCP_OFFERS ................................ 279
VARIABLE ETHERNET FIRMWARE........................................ 280
VARIABLE ETHERNET GARP................................................. 280
VARIABLE ETHERNET GATEWAY......................................... 281
VARIABLE ETHERNET IP ADDRESS ..................................... 281
VARIABLE ETHERNET JOBSOKINERROR............................ 282
VARIABLE ETHERNET LPD.................................................... 282
VARIABLE ETHERNET NETMASK.......................................... 283
VARIABLE ETHERNET RESET............................................... 283
VARIABLE ETHERNET RESET COMMUNITY........................ 284
VARIABLE ETHERNET RTEL.................................................. 284
VARIABLE ETHERNET RTEL PORT....................................... 285
VARIABLE ETHERNET RTEL TIMEOUT................................. 285
VARIABLE ETHERNET TELNET ............................................. 286
VARIABLE ETHERNET TELNET TIMEOUT............................286
VARIABLE ETHERNET TEXT BUFFER................................... 287
VARIABLE ETHERNET SNMP................................................. 287
Bar Code Information.......................................................................... 288
Uniform Product Code (UPC).......................................................... 288
I2OF5 AND D2OF5.........................................................................289
CODE39 and CODE39+.................................................................. 289
CODE93.......................................................................................... 289
EAN, EAN8, and EAN13.................................................................290
ADD2, ADD5................................................................................... 290
CODABAR ...................................................................................... 290
PLESSEY AND MSI1...................................................................... 291
MAXICODE..................................................................................... 291
PDF417........................................................................................... 291
POSTNET ....................................................................................... 292
CODE128 A, B, C............................................................................ 293
CODE16K ....................................................................................... 295
Media Tips and Tricks .........................................................................296
Label/tag Size and Shape............................................................... 296
Adhesives ........................................................................................ 297
Print Method (Direct Thermal or Thermal Transfer)......................... 297
Cut Type (Butt Cut, Gap Cut, or Continuous Form)......................... 298
Media Sensitivity ............................................................................. 299
Troubleshooting .................................................................................. 300
Common Issues .............................................................................. 303
Graphics Programming Issues........................................................ 312
Chapter
1
Introduction
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
received all required data.
Here is a typical label format:
! 0 100 190 3 PITCH 100 BARCODE UPCA+ 20 75 70 19112610203 END
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:
The Bar Code Book by Roger C. Palmer (Helmers
Publishing, Inc., 174 Concord Street, Peterborough, NH
03458)
Reading Between the Lines by Craig Harmon and Russ
Adams (Helmers Publishing, Inc., 174 Concord Street, Peterborough, NH 03458)
Revision F, January 2012, CognitiveTPG 5
Chapter
2
Printer Command Compatibility
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
BD/BT05: Barcode Blaster high speed printers, models BD242005, BD422005, BT242004, BT422004
BL4202: Barcode Blaster CL, model BL422003 and BL423002
ADVANTAGE/LX: Barcode Blaster Advantage series, models
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
ME Y 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
Close Input Capture Y Y Y Y Y
CODE COURIER
BD/BT02
BD/BT05
BL42
ADVANTAGE/LX
SOLUS
DEL SOL/LX
CODE RANGER
CI
CXI
DLX/DLXi
EZ-LP
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
Revision F, January 2012, CognitiveTPG 11
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
EZ-LP
PCL
Trace
Add String to Trace File Write Trace Data to File
VARIABLE commands:
Y Y Y Y Y
Y Y Y Y Y
VARIABLE ALLOCATE - - - Y Y Y Y Y - - -
VARIABLE AUTOCUT - - - Y - Y - Y Y Y Y Y Y
VARIABLE AUDIO_FREQ Y Y Y Y Y
VARIABLE AUTO_TOF N N N N N N N N Y Y Y Y Y
VARIABLE AUX_POWER N N N N N N N Y Y Y Y Y Y
VARIABLE BACKLIGHT N N N N N N N N Y Y N N N
VARIABLE BEEPER N N N N N N N N Y Y Y Y Y
VARIABLE BUFFER_TIMED_RESET
Y Y Y Y - - - Y Y Y Y Y Y
VARIABLE CODE_PAGE Y Y Y Y N
VARIABLE COMM Y Y Y Y Y Y Y Y Y Y Y Y Y
VARIABLE COMPATIBLE N N N N N N N N Y Y Y Y Y
VARIABLE CONTRAST N N N N N N N N Y Y N N N
VARIABLE CPL_COMMAND_MASK
Y Y Y Y Y
VARIABLE DARKNESS Y Y Y Y Y Y Y Y Y Y Y Y Y
VARIABLE EPL_COMMAND_MASK VARIABLE ERROR_LEVEL
VARIABLE ETHERNET BOOTP
VARIABLE ETHERNET DHCP
Y Y Y Y N
Y Y Y Y Y
Y Y Y Y Y Y Y Y N N N Y Y
N N N N N N N N Y Y Y Y Y
12 Revision F, January 2012, CognitiveTPG
PRINTER COMMAND COMPATIBILITY
COMMAND NAME PRINTER SUPPORT / NOTES
VARIABLE ETHERNET DHCP_CRIT
VARIABLE ETHERNET DHCP_OFFERS
VARIABLE ETHERNET FIRMWARE
VARIABLE ETHERNET GARP
VARIABLE ETHERNET GATEWAY
VARIABLE ETHERNET IP ADDRESS
VARIABLE ETHERNET JOBSOKINERROR
VARIABLE ETHERNET LPD
VARIABLE ETHERNET NETMASK
VARIABLE ETHERNET RESET
CODE COURIER
BD/BT02
BD/BT05
BL42
ADVANTAGE/LX
SOLUS
DEL SOL/LX
CODE RANGER
CI
CXI
DLX/DLXi
EZ-LP
PCL
N N N N N N N N Y Y Y Y Y
N N N N N N N N Y Y Y Y Y
N N N N Y Y Y N Y Y Y Y Y
Y Y Y Y Y
N N N N Y N Y N Y Y Y Y Y
N N N N Y N Y N Y Y Y Y Y
N N N N Y Y Y N Y Y Y Y Y
N N N N Y Y Y N Y Y Y Y Y
N N N N Y N Y N Y Y Y Y Y
N N N N Y N Y N Y Y Y Y Y
VARIABLE ETHERNET RESET COMMUNITY
VARIABLE ETHERNET RTEL
VARIABLE ETHERNET RTEL PORT
VARIABLE ETHERNET RTEL TIMEOUT
VARIABLE ETHERNET TELNET
Revision F, January 2012, CognitiveTPG 13
Y Y Y Y Y
N N N N Y Y Y N Y Y Y Y Y
N N N N Y Y Y N Y Y Y Y Y
N N N N
Y
N N N Y Y Y Y Y
LX
Y
Y Y Y Y Y
LX
PRINTER COMMAND COMPATIBILITY
COMMAND NAME PRINTER SUPPORT / NOTES
VARIABLE ETHERNET TELNET TIMEOUT
VARIABLE ETHERNET TEXT BUFFER
VARIABLE ETHERNET SNMP
CODE COURIER
BD/BT05
BD/BT02
BL42
ADVANTAGE/LX
DEL SOL/LX
SOLUS
CODE RANGER
CI
CXI
DLX/DLXi
EZ-LP
PCL
Y Y Y Y Y
N N N N Y N Y N Y Y Y Y Y
Y Y Y Y Y
VARIABLE FEED N N N N N N N Y Y Y Y Y Y
VARIABLE FEED_BUTTON
VARIABLE FEED_CONFIG
Y Y Y Y Y
Y Y Y Y Y
VARIABLE FEED_TYPE Y Y Y N Y Y Y Y Y Y Y Y Y
VARIABLE GAP_SIZE Y Y Y Y Y
VARIABLE HIGHSPEED Y Y Y Y Y Y Y Y Y Y Y Y Y
VARIABLE INDEX - Y Y Y Y Y Y Y Y Y Y Y Y
VARIABLE INDEX SETTING
VARIABLE INDEX SETTING CALIBRATE
- Y Y Y Y Y Y Y - - - - -
- - - - Y N Y Y Y Y Y Y Y
VARIABLE IRDA N N N N N N N Y - - - - -
VARIABLE IRDA PROTOCOL
N N N N N N N Y - - - - -
VARIABLE IRDA COMM N N N N N N N Y - - - - -
VARIABLE KBLAYOUT
VARIABLE LBEL_LENGTH
Y Y Y Y N
Y Y Y Y Y
VARIABLE LANGUAGE N N N N N N N N Y Y Y Y N
14 Revision F, January 2012, CognitiveTPG
PRINTER COMMAND COMPATIBILITY
COMMAND NAME PRINTER SUPPORT / NOTES
VARIABLE LOW_BATTERY
CODE COURIER
BD/BT05
BD/BT02
BL42
ADVANTAGE/LX
DEL SOL/LX
SOLUS
CODE RANGER
CI
CXI
DLX/DLXi
EZ-LP
PCL
Y - - - - - - - - - - - -
VARIABLE LOWSPEED Y Y Y Y Y Y Y Y Y Y Y Y Y
VARIABLE MEASURE_LABEL
VARIABLE MEDIA _ADJUST
VARIABLE MENU_LANGUAGE
VARIABLE MIRROR_LABEL
Y Y Y Y Y
- - - Y Y Y Y Y - - - - -
Y Y N N Y
Y Y Y Y Y
VARIABLE MODE - - Y - Y Y Y Y - - - - -
VARIABLE NO_MEDIA - Y Y Y Y Y Y Y Y Y Y Y Y
VARIABLE NORMAL Y Y Y - Y Y Y Y Y Y Y Y Y
VARIABLE OFF_AFTER Y - - - - -
VARIABLE ON_TIME Y Y Y Y Y
VARIABLES ON/OFF - Y Y Y Y Y Y - - - - - -
VARIABLE OVERRIDE
Y
Y Y Y Y Y
LX
VARIABLE PITCH Y Y Y Y Y Y Y Y Y Y Y Y Y
VARIABLE POSITION Y Y Y Y Y Y Y Y Y Y Y Y Y
VARIABLE PRESENTLABEL
N N N N Y Y Y Y Y Y Y Y Y
VARIABLE PRINT_MODE Y Y Y Y Y Y Y Y Y Y Y Y Y
VARIABLE PRINT_SPEED
Y Y Y Y Y
VARIABLE READ Y Y Y Y Y Y Y Y Y Y Y Y Y
VARIABLE RECALIBRATE
VARIABLE REPORT_TYPE
N N N N Y N Y N Y Y Y Y Y
Y Y Y Y Y
VARIABLE REPRINT N N N N N N N N Y Y Y Y Y
Revision F, January 2012, CognitiveTPG 15
PRINTER COMMAND COMPATIBILITY
COMMAND NAME PRINTER SUPPORT / NOTES
VARIABLE REPORT_LEVEL
CODE COURIER
BD/BT05
BD/BT02
BL42
ADVANTAGE/LX
DEL SOL/LX
SOLUS
CODE RANGER
CI
CXI
DLX/DLXi
EZ-LP
PCL
- - - - Y Y Y Y Y Y Y Y Y
VARIABLE RESET - Y Y Y Y Y Y Y Y Y Y Y Y
VARIABLE ROTATE_LABEL VARIABLE SCRIPT_ INPUT_RESET
Y Y Y Y Y
Y Y Y Y Y
VARIABLE SHIFT_LEFT - Y Y Y Y Y Y Y Y Y Y Y Y
VARIABLE SLEEP_AFTER
Y - - - - - - Y - - - - -
VARIABLE TERMINAL Y Y Y Y N
VARIABLE TIME Y Y Y Y Y
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