
Cognitive Programming Language (CPL) Programmer's Guide 105-008-02 Revision C2 – 3/17/2006 *105-008-02* Copyright © 2006, Cognitive. Cognitive™, Cxi™, and Ci™ are trademarks of Cognitive. Microsoft® and Windows™ are trademarks of Microsoft Corporation. Other product and corporate names used in this document may be trademarks or registered trademarks of other companies, and are used only for explanation and to their owner’s benefit, without intent to infringe. All information in this document is subject to change without notice, and does not represent a commitment on the part of Cognitive. No part of this document may be reproduced for any reason or in any form, including electronic storage and retrieval, without the express permission of Cognitive. All program listings in this document are copyrighted and are the property of Cognitive and are provided without warranty. To contact Cognitive: Cognitive Solutions, Inc. 4403 Table Mountain Drive Suite A Golden, CO 80403 E-Mail: [email protected] Telephone: +1.800.525.2785 Fax: +1.303.273.1414 Table of Contents Introduction.............................................................................................. 1 Label Format Organization .................................................................. 2 Command Syntax................................................................................ 2 Important Programming Rules............................................................. 3 Related Publications............................................................................ 4 Printer Command Compatibility ............................................................. 5 Printer Models ..................................................................................... 5 Compatibility Tables ............................................................................ 6 Table 1. Printer Command Compatibility....................................... 6 Table 2. Printer Bar Code Support.............................................. 12 Table 3. Printer Font Support...................................................... 14 Standard Printer Commands ................................................................ 17 Standard Printer Command List ........................................................ 17 ADJUST ...................................................................................... 18 ADJUST_DUP ............................................................................ 20 AREA_CLEAR ............................................................................ 21 BARCODE .................................................................................. 22 BARCODE_FONT....................................................................... 27 BARCODE PDF417 .................................................................... 29 BARCODE PDF417 .................................................................... 30 BARCODE UPS.......................................................................... 34 COMMENT ................................................................................. 38 DOUBLE ..................................................................................... 39 DRAW_BOX ............................................................................... 40 END ............................................................................................ 42 FILL_BOX ................................................................................... 43 GRAPHIC.................................................................................... 45 Graphics mode............................................................................ 47 HALT........................................................................................... 50 Header line.................................................................................. 51 INDEX ......................................................................................... 55 JUSTIFY ..................................................................................... 56 LOGO mode................................................................................ 58 MULTIPLE .................................................................................. 60 NOINDEX.................................................................................... 62 PITCH ......................................................................................... 63 QUANTITY .................................................................................. 65 QUERY FIRMWARE REVISION................................................. 66 QUERY PRINTER STATUS........................................................ 67 Status Query Response Messages............................................. 68 ROTATE R90, R180, R270......................................................... 72 STRING....................................................................................... 74 TEXT........................................................................................... 78 TIME ........................................................................................... 81 Universal Clear............................................................................ 86 ULTRA_FONT............................................................................. 87 Wake-up string ............................................................................ 90 WIDTH ........................................................................................ 92 Storing Data in the Printer Memory...................................................... 95 Before Using Data Storage Commands............................................. 95 Data Storage Commands .................................................................. 96 Delete Stored Object................................................................... 97 Format Recall.............................................................................. 98 Format Store ............................................................................... 99 GRAPHIC STORE .................................................................... 103 RECALL GRAPHIC................................................................... 103 Initialize Storage........................................................................ 105 List Stored Objects.................................................................... 106 DELIMIT.................................................................................... 107 DEFINE VARIABLE .................................................................. 108 Recall Menu .............................................................................. 113 Recall Variable .......................................................................... 114 Menu Commands ................................................................................. 115 Menu Operation............................................................................... 115 Menu Programming ......................................................................... 117 Menu Command List........................................................................ 118 MENU ACTION ......................................................................... 119 MENU CONTROL ..................................................................... 122 MENU END ............................................................................... 124 MENU EXIT............................................................................... 125 MENU ITEM .............................................................................. 126 MENU MESSAGE..................................................................... 128 MENU START........................................................................... 129 Recall Menu .............................................................................. 131 Printer Setup (VARIABLE) Commands .............................................. 133 Variable Command Rules................................................................ 133 Variable Command List ................................................................... 135 VARIABLE ALLOCATE............................................................. 136 VARIABLE AUTOCUT .............................................................. 137 VARIABLE AUXPOWER........................................................... 138 VARIABLE BACKLIGHT ........................................................... 139 VARIABLE BEEPER................................................................. 140 VARIABLE BUFFER_TIMED_RESET ...................................... 141 VARIABLE COMM .................................................................... 143 VARIABLE CONTRAST............................................................ 144 VARIABLE DARKNESS............................................................ 146 VARIABLE ENERGY ................................................................ 148 VARIABLE FEED_TYPE........................................................... 149 VARIABLE HIGHSPEED .......................................................... 150 VARIABLE INDEX..................................................................... 152 VARIABLE INDEX SETTING .................................................... 153 VARIABLE IRDA....................................................................... 156 VARIABLE IRDA COMM........................................................... 157 VARIABLE IRDA PROTOCOL.................................................
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages292 Page
-
File Size-