Cognitive Programming Language (CPL) Programmer's Guide 105-008-02 Revision C2 – 3/17/2006 *105-008-02*
Bar Code Information ... 253 Uniform Product Code (UPC) ...
STANDARD PRINTER COMMANDS 88 Copyright © 2006, Cognitive. x y Starting position of the printed character string. The reference point on the text bl
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 89 space Number of dots between each printed character. Valid entries are 0 to 255 and N, with
STANDARD PRINTER COMMANDS 90 Copyright © 2006, Cognitive. Wake-up string Function Switches the printer from idle to active mode in preparation for
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 91 does not adversely affect the behavior of printers that do not require one. You may want to
STANDARD PRINTER COMMANDS 92 Copyright © 2006, Cognitive. WIDTH Function Sets the width of the printed label. Typically, this command is for print
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 93 NOTE: The WIDTH command is necessary with the Del Sol to correctly position the printing i
STANDARD PRINTER COMMANDS 94 Copyright © 2006, Cognitive.
Copyright © 2006, Cognitive. 95 Chapter4Storing Data in the Printer Memory Commands discussed in this section allow you to store label formats and
STORING DATA IN THE PRINTER MEMORY 96 Copyright © 2006, Cognitive. However, you may want to use volatile RAM to store variables or objects that wil
STORING DATA IN THE PRINTER MEMORY Copyright © 2006, Cognitive. 97 Delete Stored Object Function Deletes a stored object from memory. NOTE: This comm
STORING DATA IN THE PRINTER MEMORY 98 Copyright © 2006, Cognitive. Format Recall Function Recalls a stored format from memory, merges any incoming
STORING DATA IN THE PRINTER MEMORY Copyright © 2006, Cognitive. 99 Format Store Function Stores a label format in a specified memory area. The store
STORING DATA IN THE PRINTER MEMORY 100 Copyright © 2006, Cognitive. Placing two variable field delimiters in a row creates a repeating field; i.e
STORING DATA IN THE PRINTER MEMORY Copyright © 2006, Cognitive. 101 NOTE: Determine nnn using the number of dot rows actually occupied by the store
STORING DATA IN THE PRINTER MEMORY 102 Copyright © 2006, Cognitive. Example 1 The following commands store the format that prints the label in the
STORING DATA IN THE PRINTER MEMORY Copyright © 2006, Cognitive. 103 GRAPHIC STORE Function Stores the graphics file following the command in the spe
STORING DATA IN THE PRINTER MEMORY 104 Copyright © 2006, Cognitive. Function Recalls a stored graphic from memory and prints labels as required. N
STORING DATA IN THE PRINTER MEMORY Copyright © 2006, Cognitive. 105 Initialize Storage Function Clears all stored objects from the specified memory
STORING DATA IN THE PRINTER MEMORY 106 Copyright © 2006, Cognitive. List Stored Objects Function Scans all memory areas for stored objects (label
STORING DATA IN THE PRINTER MEMORY Copyright © 2006, Cognitive. 107 DELIMIT Function Specifies the delimiter used to isolate variables within command
STORING DATA IN THE PRINTER MEMORY 108 Copyright © 2006, Cognitive. DEFINE VARIABLE Function Defines a variable for use within printer commands in
STORING DATA IN THE PRINTER MEMORY Copyright © 2006, Cognitive. 109 length The maximum number of characters that are accepted as variable data. Allow
STORING DATA IN THE PRINTER MEMORY 110 Copyright © 2006, Cognitive. Input range specifier. Available specifiers are: A Only allows alphabetic chara
STORING DATA IN THE PRINTER MEMORY Copyright © 2006, Cognitive. 111 R Places the data at the right end of the space specified by length parameter, fi
STORING DATA IN THE PRINTER MEMORY 112 Copyright © 2006, Cognitive. “prompt” ASCII text that the printer sends to the serial port when ready to re
STORING DATA IN THE PRINTER MEMORY Copyright © 2006, Cognitive. 113 Recall Menu Function Recalls a stored menu from memory and initiates its executi
STORING DATA IN THE PRINTER MEMORY 114 Copyright © 2006, Cognitive. Recall Variable Function Recalls a stored variable for user input. The printer
Copyright © 2006, Cognitive. 115 Chapter5Menu Commands A menu lets the user control the printer at print time through a set of predefined choices.
MENU COMMANDS 116 Copyright © 2006, Cognitive. behaving much like stored label formats. Menus can call other menus, and can also recall and print s
MENU COMMANDS Copyright © 2006, Cognitive. 117 Menu Programming Menus generally conform to the following structure: ! 0 0 0 0 MENU CONTROL cn nx pr s
Copyright © 2006, Cognitive. 1 Chapter1Introduction Bar code printers are programmable devices. Most Cognitive Solutions printers use the same com
MENU COMMANDS 118 Copyright © 2006, Cognitive. Menu Command List MENU ACTION MENU CONTROL MENU END MENU EXIT MENU ITEM MENU MESSAGE MENU START Reca
MENU COMMANDS Copyright © 2006, Cognitive. 119 MENU ACTION Function Specifies one or more commands that the printer will execute when the user selec
MENU COMMANDS 120 Copyright © 2006, Cognitive. If the printer finds a format header line within a MENU ACTION, it will expect all commands associ
MENU COMMANDS Copyright © 2006, Cognitive. 121 Example 3 The following label format will store a menu called MENU_ONE. Each MENU ACTION command will
MENU COMMANDS 122 Copyright © 2006, Cognitive. MENU CONTROL Function Specifies the characters used to exit, "scroll," or select an item f
MENU COMMANDS Copyright © 2006, Cognitive. 123 Example The following command tells the printer to use the "q", period, comma, and "
MENU COMMANDS 124 Copyright © 2006, Cognitive. MENU END Function Signals the end of the menu definition. The printer will store the menu defined b
MENU COMMANDS Copyright © 2006, Cognitive. 125 MENU EXIT Function Signals the printer to terminate menu processing. The printer then processes any r
MENU COMMANDS 126 Copyright © 2006, Cognitive. MENU ITEM Function Marks the beginning of a sequence of commands that will execute when the user sel
MENU COMMANDS Copyright © 2006, Cognitive. 127 Comments MENU ITEM commands are only allowed between MENU START and MENU END commands (that is, only
INTRODUCTION 2 Copyright © 2006, Cognitive. Label Format Organization With a few exceptions that are noted in the command descriptions, every labe
MENU COMMANDS 128 Copyright © 2006, Cognitive. MENU MESSAGE Function This causes text to be output to the serial port. It can be used to provide
MENU COMMANDS Copyright © 2006, Cognitive. 129 MENU START Function Signals the beginning of a menu definition and specifies the menu storage location
MENU COMMANDS 130 Copyright © 2006, Cognitive. the printhead is closed. NOTE: To circumvent a programmed __BOOT__ menu, reset or apply power to
MENU COMMANDS Copyright © 2006, Cognitive. 131 Recall Menu Function Recalls a stored menu from memory and initiates its execution Explicit Form !R M
MENU COMMANDS 132 Copyright © 2006, Cognitive.
Copyright © 2006, Cognitive. 133 Chapter6Printer Setup (VARIABLE) Commands VARIABLE commands let you change some of the printer's characterist
PRINTER SETUP 134 Copyright © 2006, Cognitive. • If you add ? at the end of any variable command, the printer will respond at the serial or USB po
PRINTER SETUP Copyright © 2006, Cognitive. 135 You will probably need to use a few VARIABLE commands as a matter of routine, to set the printer up fo
PRINTER SETUP 136 Copyright © 2006, Cognitive. VARIABLE ALLOCATE Function Reserves space in the image buffer for stored objects. Explicit Form Imp
PRINTER SETUP Copyright © 2006, Cognitive. 137 VARIABLE AUTOCUT Function Enables or disables automatic label cutting in printers so equipped. With au
INTRODUCTION Copyright © 2006, Cognitive. 3 Example Sample program code is included here showing proper use of the command. NOTE: The sample code sho
PRINTER SETUP 138 Copyright © 2006, Cognitive. VARIABLE AUXPOWER Function This command turns is used to control the 5 volt power applied to pin 9
PRINTER SETUP Copyright © 2006, Cognitive. 139 VARIABLE BACKLIGHT Function This command indicates whether the LCD backlight should come on when a bu
PRINTER SETUP 140 Copyright © 2006, Cognitive. VARIABLE BEEPER Function This command sets the volume and duration of the beeper. Explicit Form Im
PRINTER SETUP Copyright © 2006, Cognitive. 141 VARIABLE BUFFER_TIMED_RESET Function Enables or disables the memory reset timer. Explicit Form VARIAB
PRINTER SETUP 142 Copyright © 2006, Cognitive. Example ! 0 0 0 0 VARIABLE BUFFER_TIMED_RESET OFF VARIABLE WRITE END
PRINTER SETUP Copyright © 2006, Cognitive. 143 VARIABLE COMM IMPORTANT! Do not experiment with this command! Improper use can cause a loss of serial
PRINTER SETUP 144 Copyright © 2006, Cognitive. word length, and stop bit combinations. The acceptable combinations are: N,8,1 or N,8,2 or O,7,1or
PRINTER SETUP Copyright © 2006, Cognitive. 145 Function This command sets the contrast level on the LCD display. Explicit Form Implicit Form VARIABL
PRINTER SETUP 146 Copyright © 2006, Cognitive. VARIABLE DARKNESS Function This command changes the printhead heat, thereby adjusting the darkness a
PRINTER SETUP Copyright © 2006, Cognitive. 147 some thermal transfer media. Example VARIABLE DARKNESS -25 NOTE: Always print labels at the lightest
INTRODUCTION 4 Copyright © 2006, Cognitive. Related Publications Every printer has a User's Guide, which covers hardware issues like installa
PRINTER SETUP 148 Copyright © 2006, Cognitive. VARIABLE ENERGY Function The printer maintains a fixed energy density of 200 mJoules independent of
PRINTER SETUP Copyright © 2006, Cognitive. 149 VARIABLE FEED_TYPE Function Selects black bar or gap indexing. Explicit Form Implicit Form VARIABLE F
PRINTER SETUP 150 Copyright © 2006, Cognitive. VARIABLE HIGHSPEED Function Changes the print speed to its highest available setting. The maximum p
PRINTER SETUP Copyright © 2006, Cognitive. 151 Example VARIABLE HIGHSPEED NOTE: Print speed can affect bar code scanning reliability, especially whe
PRINTER SETUP 152 Copyright © 2006, Cognitive. VARIABLE INDEX Function This command turns indexing on or off. Explicit Form Implicit Form VARIABLE
PRINTER SETUP Copyright © 2006, Cognitive. 153 VARIABLE INDEX SETTING Function Adjusts the index detector for optimum gap detection through a wide r
PRINTER SETUP 154 Copyright © 2006, Cognitive. indexing performance with a resin-based ribbon installed. The sensitivity of this mode is adjustable
PRINTER SETUP Copyright © 2006, Cognitive. 155 Example 1 The following label format will set the automatic indexing mode: ! 0 0 0 0 VARIABLE INDEX S
PRINTER SETUP 156 Copyright © 2006, Cognitive. VARIABLE IRDA Function This command turns the IrDa communications on or off. Explicit Form Implicit
PRINTER SETUP Copyright © 2006, Cognitive. 157 VARIABLE IRDA COMM Function This command chooses the IrDa baud rate. Explicit Form Implicit Form VARIA
Copyright © 2006, Cognitive. 5 Chapter2Printer Command Compatibility All commands, bar codes, and fonts do not work with all printers. Commands ar
PRINTER SETUP 158 Copyright © 2006, Cognitive. VARIABLE IRDA PROTOCOL Function This command chooses between the two available IrDa communications p
PRINTER SETUP Copyright © 2006, Cognitive. 159 VARIABLE LOWSPEED Function Changes the printer speed to its lowest allowable value. Explicit Form Imp
PRINTER SETUP 160 Copyright © 2006, Cognitive. VARIABLE MEDIA_ADJUST Function Adjusts print contrast on object leading edges for optimum print qual
PRINTER SETUP Copyright © 2006, Cognitive. 161 currently loaded media (for TT printers, both paper and ribbon). Cognitive suggests the following proc
PRINTER SETUP 162 Copyright © 2006, Cognitive. change may appear until you have changed the MEDIA_ADJUST value significantly; results vary with med
PRINTER SETUP Copyright © 2006, Cognitive. 163 Example ! 0 0 0 0 VARIABLE MEDIA_ADJUST 1000 VARIABLE WRITE END
PRINTER SETUP 164 Copyright © 2006, Cognitive. VARIABLE MODE Function Selects Blazer Emulation Mode in printers that support variable dot time, or
PRINTER SETUP Copyright © 2006, Cognitive. 165 Comments When using this command, send it to the printer with VARIABLE WRITE in a non-printing label
PRINTER SETUP 166 Copyright © 2006, Cognitive. VARIABLE NO_MEDIA Function Specifies how long the printer will run without detecting a label before
PRINTER SETUP Copyright © 2006, Cognitive. 167 VARIABLE NORMAL Function Changes the printer speed to a speed approximately halfway between the LOWSP
PRINTER COMMAND CAPATIBILITY 6 Copyright © 2006, Cognitive. Compatibility Tables Use the tables to determine command and functional compatibilities
PRINTER SETUP 168 Copyright © 2006, Cognitive. VARIABLE OFF AFTER Function Explicit Form Implicit Form VARIABLE OFF_AFTER time/? V OFF_AFTER time/
PRINTER SETUP Copyright © 2006, Cognitive. 169 VARIABLES ON/OFF Function Enables and disables access to certain protected VARIABLE values. Explicit
PRINTER SETUP 170 Copyright © 2006, Cognitive. VARIABLE PITCH Function Selects the default print pitch. Explicit Form Implicit Form VARIABLE PITCH
PRINTER SETUP Copyright © 2006, Cognitive. 171 VARIABLE POSITION Function Moves the first printed dot row on the label up or down with respect to it
PRINTER SETUP 172 Copyright © 2006, Cognitive. VARIABLE PRESENTLABEL Function Controls the dispensing of labels for application. VARIABLE PRESENTL
PRINTER SETUP Copyright © 2006, Cognitive. 173 Comments When printing, the printer will first retract the media as specified by Retract_Distance. Wh
PRINTER SETUP 174 Copyright © 2006, Cognitive. Example The following example sets the Advance_Distance to 1.06 inches, the Retract_Distance to 1.0
PRINTER SETUP Copyright © 2006, Cognitive. 175 VARIABLE PRINT_MODE Function Sets the printer up for direct thermal or thermal transfer printing. The
PRINTER SETUP 176 Copyright © 2006, Cognitive. VARIABLE READ Function Reads the last saved variable values in permanent storage and uses them as t
PRINTER SETUP Copyright © 2006, Cognitive. 177 VARIABLE RECALIBRATE Function Turns automatic index calibration on or off. If enabled, automatic ind
PRINTER COMMAND CAPATIBILITY Copyright © 2006, Cognitive. 7 COMMAND NAME PRINTER SUPPORT / NOTES CODE COURIER BD/BT BD/BT BL42 ADVANTAGE/LX SOLUS
PRINTER SETUP 178 Copyright © 2006, Cognitive. VARIABLE REPORT_LEVEL Function Sets the manner in which the printer reports recoverable errors. Exp
PRINTER SETUP Copyright © 2006, Cognitive. 179 VARIABLE RESET Function Returns user-accessible VARIABLE parameters to known values. Affected paramete
PRINTER SETUP 180 Copyright © 2006, Cognitive. VARIABLE SLEEP_AFTER Function Sets the amount of time a portable printer will stay awake after comp
PRINTER SETUP Copyright © 2006, Cognitive. 181 VARIABLE SHIFT LEFT Function Shifts the printed image of all labels a specified distance to the left
PRINTER SETUP 182 Copyright © 2006, Cognitive. VARIABLE TEXT BUFFER Function This command sets the size of the text buffer and the text overflow b
PRINTER SETUP Copyright © 2006, Cognitive. 183 of the image buffer. Total memory size = text buffer + image buffer NOTE: Changing the text or overflo
PRINTER SETUP 184 Copyright © 2006, Cognitive. VARIABLE USER_FEEDBACK Function Enables or disables the transmission of certain status messages to t
PRINTER SETUP Copyright © 2006, Cognitive. 185 VARIABLE WIDTH Function Sets the default print width. Explicit Form Implicit Form VARIABLE WIDTH n V
PRINTER SETUP 186 Copyright © 2006, Cognitive. VARIABLE WRITE Function Writes the current variable values to nonvolatile storage. Values in effect
PRINTER SETUP Copyright © 2006, Cognitive. 187 Example The example below shows how to set a VARIABLE value in one label format with VARIABLE WRITE.
PRINTER COMMAND CAPATIBILITY 8 Copyright © 2006, Cognitive. COMMAND NAME PRINTER SUPPORT / NOTES CODE COURIER BD/BT BD/BT BL42 ADVANTAGE/LX SOLU
PRINTER SETUP 188 Copyright © 2006, Cognitive. PROMPTS Function Explicit Form Implicit Form PROMPTS ON/OFF/? Parameters Comments • Example c
PRINTER SETUP Copyright © 2006, Cognitive. 189 DATASKIP Function Explicit Form Implicit Form DATASKIP count DATASKIP UNTIL char [repeat] Paramete
PRINTER SETUP 190 Copyright © 2006, Cognitive.
Copyright © 2006, Cognitive. 191 Chapter7Using VARIABLE Commands Printer configuration must be handled through VARIABLE commands. The sample label
USING VARIABLE COMMANDS 192 Copyright © 2006, Cognitive. Blazer Compatibility As shipped, Barcode Blaster, Solus, and Blaster Advantage printers ar
USING VARIABLE COMMANDS Copyright © 2006, Cognitive. 193 The following label format disables Blazer emulation mode and returns the printer to normal
USING VARIABLE COMMANDS 194 Copyright © 2006, Cognitive. Setting Bar or Gap Index Type All currently manufactured Cognitive printers support black
USING VARIABLE COMMANDS Copyright © 2006, Cognitive. 195 Thermal Transfer Printing with Standard Wax Ribbon The following label format will set the
USING VARIABLE COMMANDS 196 Copyright © 2006, Cognitive. Calibrate the Index The following label format runs an index detector calibration routine,
Copyright © 2006, Cognitive. 197 Chapter8RFID Commands Specific RFID commands have been added to the CPL language to support the RFID functionality
PRINTER COMMAND CAPATIBILITY Copyright © 2006, Cognitive. 9 COMMAND NAME PRINTER SUPPORT / NOTES CODE COURIER BD/BT BD/BT BL42 ADVANTAGE/LX SOLUS
RFID COMMANDS 198 Copyright © 2006, Cognitive. Programming Rules Use blank spaces exactly as shown in the command descriptions, examples, and synta
RFID COMMANDS Copyright © 2006, Cognitive. 199 RFID Command Structure Example The following listing is an example of RFID command usage. !RFID CONFIR
RFID COMMANDS 200 Copyright © 2006, Cognitive. RFID Commands Use the following commands to program RFID features of the Advantage RDIF printers. St
RFID COMMANDS Copyright © 2006, Cognitive. 201 RF ID_GET Function This command is defined as "RFID Function", ID GET. This command retriev
RFID COMMANDS 202 Copyright © 2006, Cognitive. RF HOST Function This command instructs the Printer to transmit the specified ASCII string to the
RFID COMMANDS Copyright © 2006, Cognitive. 203 RF VAR_CLEAR Function This command instructs the Printer to clear and reset all of the internal RFID
RFID COMMANDS 204 Copyright © 2006, Cognitive. RT Function Read Tag. This command retrieves RFID-tag data from the tag currently positioned over
RFID COMMANDS Copyright © 2006, Cognitive. 205 WT Function Write Tag. This command stores the quoted data to the RFID-Tag currently positioned over
RFID COMMANDS 206 Copyright © 2006, Cognitive. WTLOCK Function Write and Lock Tag. The command permanently writes data to a tag. As with the WT c
RFID COMMANDS Copyright © 2006, Cognitive. 207 Example To Printer: ! 0 100 800 0 DELIMIT $ WTLOCK 0 "123-1234-123" WT 4 "John Q. Publi
PRINTER COMMAND CAPATIBILITY 10 Copyright © 2006, Cognitive. COMMAND NAME PRINTER SUPPORT / NOTES CODE COURIER BD/BT BD/BT BL42 ADVANTAGE/LX SOL
RFID COMMANDS 208 Copyright © 2006, Cognitive. RF_TYPE Function This is an RFID reserved and internal variable contains the last RFID-Tag’s Type.
RFID COMMANDS Copyright © 2006, Cognitive. 209 RF_IDNUM Function This command is defined as "Reference Find" ID Number. This command retu
RFID COMMANDS 210 Copyright © 2006, Cognitive. RF_BLKSZ Function This command is defined as "Reference Find", Block Size. The command re
RFID COMMANDS Copyright © 2006, Cognitive. 211 RF LOCATION Function This command is defined as "Reference Find", Variable at Location #. T
RFID COMMANDS 212 Copyright © 2006, Cognitive. !RFID ? Function This command queries the printer for a summary of the existing printer settings for
RFID COMMANDS Copyright © 2006, Cognitive. 213 !RFID CONFIRM Function Controls the transmission of a ‘Success’ or ‘Failure’ indication at the very
RFID COMMANDS 214 Copyright © 2006, Cognitive. !RFID HOST Function This command instructs the Printer to transmit the specified ASCII string to t
RFID COMMANDS Copyright © 2006, Cognitive. 215 !RFID LEDFLSH Function Controls the transmission of a ‘Success’ or ‘Failure’ indication to the LED d
RFID COMMANDS 216 Copyright © 2006, Cognitive. !RFID LEDTIME Function Regulates the interval of LED illumination and LED OFF time used in generati
RFID COMMANDS Copyright © 2006, Cognitive. 217 !RFID MARK Function This command sets whether or not to print a defined mark on a label that fails to
PRINTER COMMAND CAPATIBILITY Copyright © 2006, Cognitive. 11 COMMAND NAME PRINTER SUPPORT / NOTES CODE COURIER BD/BT BD/BT BL42 ADVANTAGE/LX SOLUS
RFID COMMANDS 218 Copyright © 2006, Cognitive. !RFID RDAFTWT Function This command initiates an integrity test following a WT command. Data is rea
RFID COMMANDS Copyright © 2006, Cognitive. 219 !RFID RETRY Function This command sets the number of retries that the printer will perform on a RT,
RFID COMMANDS 220 Copyright © 2006, Cognitive. !RFID SSONCMD Function This command controls the automatic execution of a Select-Tag command prior
RFID COMMANDS Copyright © 2006, Cognitive. 221 !RFID TAGTYPE Function This command verifies a tag type. Enter the tag type and verify the change wit
RFID COMMANDS 222 Copyright © 2006, Cognitive. !RFID TIMEOUT Function This command sets the time delay, in milliseconds, to wait before consideri
RFID COMMANDS Copyright © 2006, Cognitive. 223 Example To Printer: !RFID 20,,,,50 !RFID ? From Printer: Setup/Config Parameters: | | | Base Cmd Ti
RFID COMMANDS 224 Copyright © 2006, Cognitive. !RFID TXAFTER Function This command controls the state of the hardware’s RF carrier transmission af
RFID COMMANDS Copyright © 2006, Cognitive. 225 !RFID VOID Function This command instructs the printer to use this specified ASCII string to stamp or
RFID COMMANDS 226 Copyright © 2006, Cognitive.
Copyright © 2006, Cognitive. 227 Chapter9Ethernet Printer Information Ethernet printers are full-featured bar code label and tag printers designed
PRINTER COMMAND CAPATIBILITY 12 Copyright © 2006, Cognitive. Table 2. Printer Bar Code Support The following table summarizes bar codes supported b
ETHETNET PRINTER INFORMATION 228 Copyright © 2006, Cognitive. Network Protocols The printer will work with any system having TCP/IP support. It wil
ETHERNET PRINTER INFORMATION Copyright © 2006, Cognitive. 229 Use TCP port 23 for Telnet connection to the printer. the port supports the following c
ETHETNET PRINTER INFORMATION 230 Copyright © 2006, Cognitive. OPTION Name Notes 1 Subnet Mask required 3 Router required 67 Boot file name op
ETHERNET PRINTER INFORMATION Copyright © 2006, Cognitive. 231 You may disconnect the USB, serial, or parallel port and connect the printer to your ne
ETHETNET PRINTER INFORMATION 232 Copyright © 2006, Cognitive. ETHERNET” commands will change the settings printed, but the printer will not use the
ETHERNET PRINTER INFORMATION Copyright © 2006, Cognitive. 233 Ethernet Variable Commands Use the following variable commands to program Ethernet feat
ETHETNET PRINTER INFORMATION 234 Copyright © 2006, Cognitive. VARIABLE ETHERNET BOOTP Function Starts up the printer by reading configuration info
ETHERNET PRINTER INFORMATION Copyright © 2006, Cognitive. 235 VARIABLE ETHERNET DHCP Function Turns DHCP on or off. Explicit Form VARIABLE ETHERNET
ETHETNET PRINTER INFORMATION 236 Copyright © 2006, Cognitive. VARIABLE ETHERNET DHCP_CRIT Function The criteria by which the printer chooses among
ETHERNET PRINTER INFORMATION Copyright © 2006, Cognitive. 237 VARIABLE ETHERNET DHCP_OFFERS Function This is the number of seconds that the printer
PRINTER COMMAND CAPATIBILITY Copyright © 2006, Cognitive. 13 BAR CODE SYMBOLOGY SUPPORTED IN PRINTERS PW/PT 42 BD/BT 02 BD/BT 04/05 BL42 ADVANTAGE/
ETHETNET PRINTER INFORMATION 238 Copyright © 2006, Cognitive. VARIABLE ETHERNET FIRMWARE Function The printer compares the pn, rev, and build with
ETHERNET PRINTER INFORMATION Copyright © 2006, Cognitive. 239 VARIABLE ETHERNET GATEWAY Function Sets the gateway. Explicit Form VARIABLE ETHERNET G
ETHETNET PRINTER INFORMATION 240 Copyright © 2006, Cognitive. VARIABLE ETHERNET JOBSOKINERROR Function Determines whether the printer accepts LPD
ETHERNET PRINTER INFORMATION Copyright © 2006, Cognitive. 241 VARIABLE ETHERNET LPD Function Turns LPD on or off. Explicit Form VARIABLE ETHERNET L
ETHETNET PRINTER INFORMATION 242 Copyright © 2006, Cognitive. VARIABLE ETHERNET TELNET Function Enables or disables the Telnet communication proto
ETHERNET PRINTER INFORMATION Copyright © 2006, Cognitive. 243 VARIABLE ETHERNET IP Function Sets the static Ethernet IP address. This is used if D
ETHETNET PRINTER INFORMATION 244 Copyright © 2006, Cognitive. VARIABLE ETHERNET RESET Function Resets the printer. Explicit Form VARIABLE ETHERNET
ETHERNET PRINTER INFORMATION Copyright © 2006, Cognitive. 245 VARIABLE ETHERNET RESET COMMUNITY Function Reset the SNMP COMMUNITY name. Explicit Fo
ETHETNET PRINTER INFORMATION 246 Copyright © 2006, Cognitive. VARIABLE ETHERNET RTEL Function Enables or disables reverse telnet communication (R
ETHERNET PRINTER INFORMATION Copyright © 2006, Cognitive. 247 VARIABLE ETHERNET RTEL PORT Function Sets the reverse telnet (RTEL) port address. Exp
PRINTER COMMAND CAPATIBILITY 14 Copyright © 2006, Cognitive. Table 3. Printer Font Support The following table summarizes the fonts supported by ea
ETHETNET PRINTER INFORMATION 248 Copyright © 2006, Cognitive. VARIABLE ETHERNET RTEL TIMEOUT Function The time the printer keeps the connection o
ETHERNET PRINTER INFORMATION Copyright © 2006, Cognitive. 249 VARIABLE ETHERNET TEXT BUFFER Function Sets the size of the Ethernet buffer. Explicit
ETHETNET PRINTER INFORMATION 250 Copyright © 2006, Cognitive. VARIABLE ETHERNET NETMASK Function Sets Ethernet Subnet Mask. Explicit Form VARIABL
ETHERNET PRINTER INFORMATION Copyright © 2006, Cognitive. 251 VARIABLE ETHERNET SERVER Function Sets the default DHCP/TFTP server address. Explicit
ETHETNET PRINTER INFORMATION 252 Copyright © 2006, Cognitive.
Copyright © 2006, Cognitive. 253 Chapter10Bar Code Information All rules of bar code symbologies must be followed when creating bar code commands.
BAR CODE INFORMATION 254 Copyright © 2006, Cognitive. I2OF5 AND D2OF5 I2OF5 (Interleaved 2 of 5) is an interleaved code, used mainly in the distrib
BAR CODE INFORMATION Copyright © 2006, Cognitive. 255 The characters represented by Code 39 are represented in Code 93 as single bar code characters,
BAR CODE INFORMATION 256 Copyright © 2006, Cognitive. Since you may use any of the four start/stop characters on either end of the symbol, there ar
BAR CODE INFORMATION Copyright © 2006, Cognitive. 257 by the allowable pattern of bars and spaces in each codeword. The printer converts the raw data
PRINTER COMMAND CAPATIBILITY Copyright © 2006, Cognitive. 15 FONT OR FEATURE SUPPORTED IN PRINTERS PW/PT 42 BD/BT 02 BD/BT 04/05 BL42 ADVANTAGE/LX
BAR CODE INFORMATION 258 Copyright © 2006, Cognitive. Postnet uses a start and stop bar and a modulo 10 check digit. Cognitive printers automatical
BAR CODE INFORMATION Copyright © 2006, Cognitive. 259 If you want a caret to actually appear on the label, place a caret before every caret you want
BAR CODE INFORMATION 260 Copyright © 2006, Cognitive. Example 3 Print the CODE128C bar code 1234567. CODE128C is a double digit bar code, printing
Copyright © 2006, Cognitive. 261 Chapter11Media Tips and Tricks Labels are available in a large variety of types and sizes. Some label characterist
MEDIA TIPS AND TRICKS 262 Copyright © 2006, Cognitive. Adhesives Labels can come without adhesive (e.g. tag or receipt stock), or with many differe
Copyright © 2006, Cognitive. 263 Cut Type (Butt Cut, Gap Cut, or Continuous Form) Butt cut labels are separated from each other by a simple cut, lea
MEDIA TIPS AND TRICKS 264 Copyright © 2006, Cognitive. Media Sensitivity Different media types exhibit different heat sensitivity. The VARIABLE_DAR
Copyright © 2006, Cognitive. 265 Chapter12Troubleshooting Most programming problems quickly resolve themselves with careful examination of the offe
TROUBLESHOOTING 266 Copyright © 2006, Cognitive. STRING 8X8 10 10 HELLO END If the printer will not print this label but does print labels that wer
TROUBLESHOOTING Copyright © 2006, Cognitive. 267 Common Issues This section describes printing issues that you may encounter and suggestions for reso
PRINTER COMMAND CAPATIBILITY 16 Copyright © 2006, Cognitive.
TROUBLESHOOTING 268 Copyright © 2006, Cognitive. Printer prints the label format text rather than the intended label. Cause: You are sending the la
TROUBLESHOOTING Copyright © 2006, Cognitive. 269 Printer prints labels, but print quality is poor. 23. Cause: Possible hardware problem. Cure: Refer
TROUBLESHOOTING 270 Copyright © 2006, Cognitive. 30. Cause: If programming a high speed Barcode Blaster, Blazer Emulation Mode may be enabled. Cure
TROUBLESHOOTING Copyright © 2006, Cognitive. 271 36. Cause: Dot time in header line is too large. Cure: Reduce dot time. 37. Cause: Label format was
TROUBLESHOOTING 272 Copyright © 2006, Cognitive. 41. Cause: If you are using a high speed Barcode Blaster, the printer may have received one of the
TROUBLESHOOTING Copyright © 2006, Cognitive. 273 Numeric values do not increment properly in response to the ADJUST command. 42. Cause: The numeric v
TROUBLESHOOTING 274 Copyright © 2006, Cognitive. STRING or TEXT fonts do not work. Cause: The memory area containing the STRING or TEXT fonts has b
TROUBLESHOOTING Copyright © 2006, Cognitive. 275 Graphics Programming Issues Graphics programming is inherently more complex than ASCII programming,
TROUBLESHOOTING 276 Copyright © 2006, Cognitive. 54. Cause: The graphics file is too large for the available memory space. Cure: Calculate availabl
TROUBLESHOOTING Copyright © 2006, Cognitive. 277 Index ! !D · 97 !I · 105 !L · 106 !R · 98 !R M · 113 !R V · 114 !S · 99 A ADJUST · 18 ADJUST_DUP · 2
Copyright © 2006, Cognitive. 17 Chapter3Standard Printer Commands This chapter describes standard printer commands. Standard Printer Command List T
278 Copyright © 2006, Cognitive. I INDEX · 55 Initialize Storage · 105 J JUSTIFY · 56 L label skipping · 171 List Stored Objects · 106 LOGO mode ·
TROUBLESHOOTING Copyright © 2006, Cognitive. 279 VARIABLE IRDA · 156 VARIABLE IRDA COMM · 157 VARIABLE IRDA PROTOCOL · 158 VARIABLE LOWSPEED · 159 VA
280 Copyright © 2006, Cognitive.
Copyright © 2006, Cognitive. Cognitive™, Cxi™, and Ci™ are trademarks of Cognitive. Microsoft® and Windows™ are trademarks of Microsoft Corporation.
STANDARD PRINTER COMMANDS 18 Copyright © 2006, Cognitive. ADJUST Function Increments or decrements a variable value or numeric data on the precedi
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 19 Example ! 0 100 200 3 BARCODE CODE39 150 30 30 TEST20 ADJUST -01 STRING 12X16 150 65 ADJUST
STANDARD PRINTER COMMANDS 20 Copyright © 2006, Cognitive. ADJUST_DUP Function Used with the ADJUST command to print non-incremented duplicates of i
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 21 AREA_CLEAR Function Clears an area of a label for replotting. AREA_CLEAR may be used in a
STANDARD PRINTER COMMANDS 22 Copyright © 2006, Cognitive. BARCODE Function Prints a bar code, specifying type, position, height, and characters to
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 23 (n:w) Specifications for the narrow (n) and wide (w) bars. Place these modifiers within par
STANDARD PRINTER COMMANDS 24 Copyright © 2006, Cognitive. Comments Unless modified by a BARCODE_FONT command, all codes except UPCA+, EAN8+, EAN13
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 25 Example 2 BARCODE UPCA+ 20 75 70 19112610203 Example 3 BARCODE CODABAR(2:5) 10 30 20 A01
STANDARD PRINTER COMMANDS 26 Copyright © 2006, Cognitive. ! 0 100 90 1 PITCH 100 BARCODER CODE39(1:3)- 10 0 30 1A2 END
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 27 BARCODE_FONT Function Allows selection of the font type, size, and position of the human-r
STANDARD PRINTER COMMANDS 28 Copyright © 2006, Cognitive. vertadj Offsets the printed text vertically. Must be two digits; add leading zeros as req
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 29 Example 2 BARCODE_FONT 9x12(00,05,1,1,1,2) BARCODE UPCAX+ 35 50 50 72773740001 Example
STANDARD PRINTER COMMANDS 30 Copyright © 2006, Cognitive. BARCODE PDF417 Function Prints a two-dimensional bar code on a label, using the PDF417 sy
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 31 bytes Number of encoded data bytes, including carriage returns and line feeds. Macro PDF fu
STANDARD PRINTER COMMANDS 32 Copyright © 2006, Cognitive. I File ID. Enter the desired file identification as a string after the I character. If th
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 33 Example PITCH 200 BARCODE PDF417 50 10 2 6 1 0 7 309 NAME:JOHN SMITH ADDRESS:116 WILBUR BO
STANDARD PRINTER COMMANDS 34 Copyright © 2006, Cognitive. BARCODE UPS Function Prints a two-dimensional bar code on a label, using the MaxiCode sym
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 35 bytes – Number of encoded data bytes in the Low Priority Message. The number of bytes inc
STANDARD PRINTER COMMANDS 36 Copyright © 2006, Cognitive. Comments MaxiCodes cannot be rotated, and can never have human-readable subtext. Example
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 37 841706672Gs840 Postal Code, Country Code Gs001Gs1Z12345675 Class of Service, Tracking
Table of Contents Introduction... 1 Label Format Organiza
STANDARD PRINTER COMMANDS 38 Copyright © 2006, Cognitive. COMMENT Function This command is used for documenting label formats. Comment lines do no
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 39 DOUBLE Function Prints "double byte" text characters from a selected font set. D
STANDARD PRINTER COMMANDS 40 Copyright © 2006, Cognitive. DRAW_BOX Function Draws a hollow rectangle on the label. Explicit Form DRAW_BOX x y w h
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 41 Example DRAW_BOX 5 5 100 50 DRAW_BOX 10 10 90 40 DRAW_BOX 20 30 70 1
STANDARD PRINTER COMMANDS 42 Copyright © 2006, Cognitive. END Function Signals the end of a label format Explicit Form END Implicit Form E Parame
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 43 FILL_BOX Function This command inverts every dot in the specified rectangular area. Where t
STANDARD PRINTER COMMANDS 44 Copyright © 2006, Cognitive. Example 1 ! 0 100 180 1 PITCH 200 FILL_BOX 50 50 750 85 FILL_BOX 50 50 725 60 FILL_BOX 25
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 45 GRAPHIC Function Initializes the printer to receive graphics data, and positions the recei
STANDARD PRINTER COMMANDS 46 Copyright © 2006, Cognitive. Example The following two label formats will print a PCX graphic with its upper left co
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 47 Graphics mode Function Initializes the printer to receive binary data for printing bitmapp
PITCH ... 63 QUANTITY ...
STANDARD PRINTER COMMANDS 48 Copyright © 2006, Cognitive. Comments When programming in graphics mode, you control every dot on the print head sepa
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 49 ASCII commands cannot be mixed in the binary graphics file. If you want to print predefin
STANDARD PRINTER COMMANDS 50 Copyright © 2006, Cognitive. HALT Function Pauses the printer after it prints one label. If there are more labels lef
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 51 Header line Function Initializes the printer to receive a label format. Explicit Form mode
STANDARD PRINTER COMMANDS 52 Copyright © 2006, Cognitive. previous label. (See also AREA_CLEAR command.) !A Automatic header line. Same as !, exc
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 53 command). The specified dot time is rounded down to the nearest step. NOTE: Dot time values
STANDARD PRINTER COMMANDS 54 Copyright © 2006, Cognitive. "rough-in" header line values as follows: Use ! for ASCII foreground printing.
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 55 INDEX Function Enables automatic label indexing. When printing is finished the printer fee
STANDARD PRINTER COMMANDS 56 Copyright © 2006, Cognitive. JUSTIFY Function Positions Ultra Font and TEXT printing, PDF417 and MAXICODE bar codes,
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 57 Example 1 JUSTIFY LEFT ULTRA_FONT A40 (5,0,0) 400 10 LEFT JUSTIFY JUSTIFY RIGHT ULTRA_FONT
Variable Command Rules... 133 Variable Command List ...
STANDARD PRINTER COMMANDS 58 Copyright © 2006, Cognitive. LOGO mode Function Allows placement of bitmapped graphics in specific label areas, or wi
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 59 Comments In background mode, the maximum programmable label size is cut in half. Consider
STANDARD PRINTER COMMANDS 60 Copyright © 2006, Cognitive. MULTIPLE Function Causes the printer to print duplicate labels side-by-side. Explicit Fo
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 61 Example ! 0 130 70 2 PITCH 100 WIDTH 224 MULTIPLE 2 STRING 8X8 7 0 ADIDAS 4446 STRING 8X8
STANDARD PRINTER COMMANDS 62 Copyright © 2006, Cognitive. NOINDEX Function Disables index detection. The printer will stop feeding the label after
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 63 PITCH Function Sets the print density in dots per inch. Explicit Form PITCH nnn Implicit F
STANDARD PRINTER COMMANDS 64 Copyright © 2006, Cognitive. See also VARIABLE PITCH Example ! 0 100 90 1 PITCH 200 JUSTIFY CENTER ULTRA_FONT B20 (5,0
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 65 QUANTITY Function Sets the quantity of labels to be printed by the label format. Explicit
STANDARD PRINTER COMMANDS 66 Copyright © 2006, Cognitive. QUERY FIRMWARE REVISION Function Causes the printer to send firmware revision informatio
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 67 QUERY PRINTER STATUS Function Causes the printer to send a status message to the host comp
PROMPTS ... 188 DATASKIP ...
STANDARD PRINTER COMMANDS 68 Copyright © 2006, Cognitive. This command replaces the normal header line. Follow the command with a line feed (or car
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 69 R Ready. The printer has no pending print tasks, is not charging, and the background buffer
STANDARD PRINTER COMMANDS 70 Copyright © 2006, Cognitive. o (lowercase letter O) Out of ribbon or ribbon stalled. (Only reported by TT printers cap
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 71 Example !QS END IMPORTANT! Use this command exactly as shown in the example. Do not use ot
STANDARD PRINTER COMMANDS 72 Copyright © 2006, Cognitive. ROTATE R90, R180, R270 Function Prints STRING text on the label, rotated clockwise in th
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 73 See also STRING, ULTRA_FONT Example ! 0 100 100 1 STRING 9X12 32 10 NORMAL R90 9X12 97 16 R
STANDARD PRINTER COMMANDS 74 Copyright © 2006, Cognitive. STRING Function Prints text (ASCII characters) on a label using CSI fonts. These are non
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 75 each time. When using this modifier you must specify values for exspace, xmult, and ymult.
STANDARD PRINTER COMMANDS 76 Copyright © 2006, Cognitive. Font Type 3X5 5X7 8X8 9X12 12X16 18X23 24X31 Cell Size 4X5 6X7 8X8 9X12 13X16 19X23 25X31
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 77 Example 2 ! 0 100 100 1 PITCH 100 STRING 5X7 10 0 LETTERS - 5X7 STRING 8X8 200 0 LETTERS -
!RFID TXAFTER ... 224 !RFID VOID...
STANDARD PRINTER COMMANDS 78 Copyright © 2006, Cognitive. TEXT Function Prints text on a label using compressed bitmapped fonts. Explicit Form TEX
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 79 The following parameters are contained in parentheses and are optional: spacing Sets the sp
STANDARD PRINTER COMMANDS 80 Copyright © 2006, Cognitive. Example JUSTIFY CENTER TEXT 3 410 0 TEXT FONT TEXT 3(0,0,1,1) 410 40 TEXT FONT TEXT 3(10
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 81 TIME Function Sets or gets data from the real-time clock in printers so equipped. Data der
STANDARD PRINTER COMMANDS 82 Copyright © 2006, Cognitive. TIME ADD TE ADD TIME ? TE ? Adds the specified interval to the last time read by TI
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 83 %a Abbreviated weekday name (Sun, Mon, Tue) %A Full weekday name (Sunday, Monday, Tue
STANDARD PRINTER COMMANDS 84 Copyright © 2006, Cognitive. example, 05/21/98) %X Time (hh:mm:ss; for example, 21:45:30) %y Two-digit year withou
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 85 Example 3 Example 4 The following command line will print the current date as stored in t
STANDARD PRINTER COMMANDS 86 Copyright © 2006, Cognitive. Universal Clear Function Resets the printer to its initial power on state, effectively t
STANDARD PRINTER COMMANDS Copyright © 2006, Cognitive. 87 ULTRA_FONT Function Prints text on a label, using Ultra Fonts (stroke fonts). Unlike STRIN
Komentarze do niniejszej Instrukcji