Cab Programming Manual

Total Page:16

File Type:pdf, Size:1020Kb

Cab Programming Manual Product Marking 1 1 A+ series Mach 4 PX Print Module XD4 Programming Manual J-Script and abc for cab printers Edition 7.0 cab Produkttechnik GmbH & Co KG 1 2 2 JScript - the programming language for cab printers. The usage of all described functions in this manual requires firmware version 3.17 or higher. This is a generic manual which describes the commands for different printer models,which means that it may contain descriptions or explanations of features which are not available on every printer model. cab Produkttechnik GmbH & Co KG 2 3 3 cab Programming Manual valid for following printer types: A+ -Series TM XD4 -Series TM Mach 4 TM PX -Print Module TM and all printing systems based on the cab „X2“ board copyright © cab Produkttechnik GmbH & Co KG all rights reserved No parts of this manual may be copied, rewritten or used for anything else than for original cab printers. This interdicts the usage of the manual for OEM products unless you have a written permission. The cab printers command language is owned and copyrighted by cab Produkttechnik GmbH & Co KG cab Produkttechnik GmbH & Co KG Wilhelm Schickard Str. 14 76131 Karlsruhe / Germany Tel: +49 - 721-6626-0 Fax:+49 - 721-6626-239 Email: [email protected] http://www.cabgmbh.com All registered trademarks or product names are trademarks of their respectives companies SwissTM is registered Trademark of Bitstream Inc. cab Produkttechnik GmbH & Co KG 3 4 4 Table of contents copyright © cab Produkttechnik GmbH & Co KG................................................................................... 3 Chapter 1: Introduction............................................................................... 11 Introduction...........................................................................................................................................11 Nomenclature, Syntax of the commands ..............................................................................................11 Usage of this manual ........................................................................................................................... 12 Print Positions: .................................................................................................................................... 13 Overview ............................................................................................................................................. 14 1. ESC instructions .............................................................................................................................. 14 2. Immediate Commands .................................................................................................................... 14 3. Label Format Commands ................................................................................................................ 15 4. Special Content Fields ..................................................................................................................... 15 Simple programming lesson ................................................................................................................ 16 Create your first label: ......................................................................................................................... 16 Explanation of this example ................................................................................................................. 16 Chapter 2: Command Overview ................................................................. 18 Command Overview ............................................................................................................................ 18 ESC Commands ................................................................................................................................. 19 Immediate Commands ........................................................................................................................ 20 Label Format Commands .................................................................................................................... 22 Label Format Commands .................................................................................................................... 23 Special Content Fields ......................................................................................................................... 24 Time Functions .................................................................................................................................... 24 Date Functions .................................................................................................................................... 24 Date Functions (continued) ................................................................................................................. 25 Jalali Date Functions ( Arab date ) ....................................................................................................... 26 Suriyakati Date Functions ( official date in Thailand ) ......................................................................... 26 Mathematical functions ........................................................................................................................ 27 Field Calculations and Comparisons ................................................................................................... 27 Special functions (miscellaneous) ....................................................................................................... 28 RFID Functions ................................................................................................................................... 29 Database Connector commands ......................................................................................................... 30 Chapter 3: ESC Commands........................................................................ 33 ESCESC Replaces ESC in binary data ............................................................................................ 34 ESC!ESC! Hard Reset ..................................................................................................................... 35 ESC* Activate all RS-485 printers ..................................................................................................... 36 ESC. Start and stop value for binary data ......................................................................................... 37 ESC: Start description of binary data ................................................................................................ 38 ESC< Back feed of the material behind the photocell ....................................................................... 39 ESC? Request for free memory ....................................................................................................... 40 ESCa abc-status ................................................................................................................................ 41 ESCc - Cancel Printjob ....................................................................................................................... 42 ESCend-of-data End description of binary data ................................................................................43 ESCf formfeed .................................................................................................................................. 44 ESCg Print Start command ............................................................................................................... 45 ESCi Send value from the INF-memory ........................................................................................... 46 cab Produkttechnik GmbH & Co KG 4 5 5 ESCj Request for the latest printed job ............................................................................................. 47 ESCI Request of synchronisation info .............................................................................................. 48 ESCp0 End printer´s pause mode .................................................................................................... 49 ESCp1 Set printer into pause mode ................................................................................................. 50 ESCs Printer status query ................................................................................................................. 51 ESCt total cancel .............................................................................................................................. 54 ESCz Extended status request ......................................................................................................... 55 CHAPTER 3 - Immediate commands ........................................................ 56 Immediate commands ......................................................................................................................... 56 <ABC> - Start of the abc Basic Compiler ............................................................................................. 57 </ABC> - End of the abc Basic Compiler ............................................................................................. 58 <ENCRYPTED LABEL...> - Start of an ENCRYPTED label................................................................. 59 <ENCRYPTED JOB> - Start of an ENCRYPTED job .......................................................................... 60 </ENCRYPTED JOB> - End of an ENCRYPTED job .........................................................................
Recommended publications
  • Readerware Cuecat Manual
    Readerware CueCat Manual This manual will help you install your CueCat(R) barcode reader and get you started scanning your books, music and videos. Important: If you purchased your CueCat from another source, you may have received software with it, do not install this software. You do not need any additional software when using your CueCat with Readerware, and following the demise of Digital Convergence, the CueCat software will no longer work. Table of Contents Installing a PS/2 CueCat on a desktop machine (Windows and Linux)..............................2 Installing a PS/2 CueCat on a laptop (Windows and Linux)..............................................4 Installing a USB CueCat (Windows, Mac OS X and Linux)..............................................5 How to Swipe a Barcode..................................................................................................6 Troubleshooting................................................................................................................7 Readerware CueCat Manual v1.04 Page: 1 Installing a PS/2 CueCat on a desktop machine (Windows and Linux) Note: Before you begin, shut down all programs and turn off your computer. If you are installing the CueCat reader on a laptop computer, proceed to the next section. Disconnect the keyboard cable from your computer. The CueCat reader operates through the keyboard port. Make sure you do not use the mouse port. If the keyboard port on your computer doesn©t match the male connector on the CueCat reader, you can get adapters at any computer store or Radio Shack. Readerware CueCat Manual v1.04 Page: 2 Connect the male connector on the CueCat reader into the computer©s keyboard port. Match up the "notch key" for easy insertion. (Note: the male connector is the one with the protruding pins.) Connect the keyboard cable to the female connector on the CueCat reader.
    [Show full text]
  • Cognitive Programming Language (CPL) Programmer's Guide
    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...........................................................................
    [Show full text]
  • Bar Coding Keys in Leashtime
    Bar Coding Keys in LeashTime Keeping track of your client keys a big job if you have more than a few clients, and key management can become major problem if you don't have a system for finding keys when you need them. LeashTime helps you keep track of all your client keys, all of the time. When you use it to check in and check out keys from your office to your sitters, finding a client key takes just a moment. Check-in and check-out are quick and easy when you label your keys with bar codes and use a scanner to read them. Managers and sitters alike can make use of these barcodes. Printing Key Labels To print barcode labels for one clients' keys, go to the Key Editor. From the Home Info tab of the client profile, click the Edit / Print Labels button: You can print out individual key labels from the Key Editor by clicking on the little barcode icons: You can save paper and time by printing out lots of key labels at once from the Key Location Report (KEYS > Key Location Report). Key Tags If you're going to print key labels, you will need key tags to slip the labels into. Search eBay for “key label tags” and you will find plenty of them. A tag that encases the label or protects the label from the elements with a window of plastic is a good idea. The largest size label tag that LeashTime currently prints labels for is sold under the Clik-It brand.
    [Show full text]
  • Operating Systems and Applications for Embedded Systems >>> Toolchains
    >>> Operating Systems And Applications For Embedded Systems >>> Toolchains Name: Mariusz Naumowicz Date: 31 sierpnia 2018 [~]$ _ [1/19] >>> Plan 1. Toolchain Toolchain Main component of GNU toolchain C library Finding a toolchain 2. crosstool-NG crosstool-NG Installing Anatomy of a toolchain Information about cross-compiler Configruation Most interesting features Sysroot Other tools POSIX functions AP [~]$ _ [2/19] >>> Toolchain A toolchain is the set of tools that compiles source code into executables that can run on your target device, and includes a compiler, a linker, and run-time libraries. [1. Toolchain]$ _ [3/19] >>> Main component of GNU toolchain * Binutils: A set of binary utilities including the assembler, and the linker, ld. It is available at http://www.gnu.org/software/binutils/. * GNU Compiler Collection (GCC): These are the compilers for C and other languages which, depending on the version of GCC, include C++, Objective-C, Objective-C++, Java, Fortran, Ada, and Go. They all use a common back-end which produces assembler code which is fed to the GNU assembler. It is available at http://gcc.gnu.org/. * C library: A standardized API based on the POSIX specification which is the principle interface to the operating system kernel from applications. There are several C libraries to consider, see the following section. [1. Toolchain]$ _ [4/19] >>> C library * glibc: Available at http://www.gnu.org/software/libc. It is the standard GNU C library. It is big and, until recently, not very configurable, but it is the most complete implementation of the POSIX API. * eglibc: Available at http://www.eglibc.org/home.
    [Show full text]
  • A Compiler for a Simple Language. V0.16
    Project step 1 – a compiler for a simple language. v0.16 Change log: v0.16, changes from 0.15 Make all push types in compiler actions explicit. Simplified and better documentation of call and callr instruction compiler actions. Let the print statement print characters and numbers. Added a printv statement to print variables. Changed compiler actions for retr to push a variable value, not a literal value. Changes are shown in orange. v0.15, changes from 0.14 Change compiler actions for ret, retr, jmp. Change the description and compiler actions for poke. Change the description for swp. Change the compiler actions for call and callr. Changes shown in green. v0.14, changes from 0.13 Add peek, poke and swp instructions. Change popm compiler actions. Change callr compiler actions. Other small changes to wording. Changes are shown in blue. v0.13, changes from 0.12 Add a count field to subr, call and callr to simplify code generation. Changes are shown in red. v0.12 Changes from 0.11. Added a callr statement that takes a return type. Fix the generated code for this and for call to allow arguments to be pushed by the call. Add a retr that returns a value and update the reg. v0.11: changes from 0.10. Put typing into push operators. Put opcodes for compare operators. fix actions for call. Make declarations reserve a stack location. Remove redundant store instruction (popv does the same thing.) v0.10: changes from 0.0. Comparison operators (cmpe, cmplt, cmpgt) added. jump conditional (jmpc) added. bytecode values added.
    [Show full text]
  • Kiosk Barcode Reader
    KBR2D Kiosk Barcode Reader KBR2D is the family of barcode scanners designed for self-service kiosks, ATMs, price checkers, healthcare and for any OEM application, also available in a plastic case version (KBR2D-C). KBR2D is a high-performance, high-volume omnidirectional scanner, capable of quickly and accurately reading any 1D and 2D barcodes, whether printed on paper (badges, receipts, health bracelets) or displayed on the screen of a smartphone or of a tablet. KBR2D scanners are based on CMOS technology for optimal image sensitivity and dynamic range. KBR2D integration is quick and easy thanks to several mounting options. www.custom.biz - [email protected] Follow us CHARACTERISTICS Easily integrated with various OEM applications 1D and 2D barcode scanning Omnidirectional scanning: no need to align barcode and scanner, ensuring user comfort and protecting productivity Long distance reading from 3 to 28 cm without problems even in direct sunlight (100,000 lux) Reading barcodes on screens of smartphones or tablets even with brightness reduced to 25/30% Red colored pointer for precise aiming and optimal barcode acquisition Flexibility: various external mounting options or internal screw holes Integrated decoder Custom ScannerSet configuration software DIMENSION: www.custom.biz - [email protected] Follow us www.custom.biz - [email protected] Follow us TECHNICAL SHEET KBR2D-C KBR2D GENERAL Interface USB-HID(or Virtual COM port) RS232/USB-HID(or Virtual COM port) UPC-A, UPC-E, EAN-8/JAN-8, EAN-13/JAN-13, Code 39, Code 128, Interleaved 25, Industrial
    [Show full text]
  • Programming Basics - FORTRAN 77
    CWCS Workshop May 2005 Programming Basics - FORTRAN 77 http://www.physics.nau.edu/~bowman/PHY520/F77tutor/tutorial_77.html Program Organization A FORTRAN program is just a sequence of lines of plain text. This is called the source code. The text has to follow certain rules (syntax) to be a valid FORTRAN program. We start by looking at a simple example: program circle real r, area, pi c This program reads a real number r and prints c the area of a circle with radius r. write (*,*) 'Give radius r:' read (*,*) r pi = atan(1.0e0)*4.0e0 area = pi*r*r write (*,*) 'Area = ', area end A FORTRAN program generally consists of a main program and possibly several subprograms (i.e., functions or subroutines). The structure of a main program is: program name declarations statements end Note: Words that are in italics should not be taken as literal text, but rather as a description of what belongs in their place. FORTRAN is not case-sensitive, so "X" and "x" are the same variable. Blank spaces are ignored in Fortran 77. If you remove all blanks in a Fortran 77 program, the program is still acceptable to a compiler but almost unreadable to humans. Column position rules Fortran 77 is not a free-format language, but has a very strict set of rules for how the source code should be formatted. The most important rules are the column position rules: Col. 1: Blank, or a "c" or "*" for comments Col. 1-5: Blank or statement label Col. 6: Blank or a "+" for continuation of previous line Col.
    [Show full text]
  • Fortran 90 Programmer's Reference
    Fortran 90 Programmer’s Reference First Edition Product Number: B3909DB Fortran 90 Compiler for HP-UX Document Number: B3908-90002 October 1998 Edition: First Document Number: B3908-90002 Remarks: Released October 1998. Initial release. Notice Copyright Hewlett-Packard Company 1998. All Rights Reserved. Reproduction, adaptation, or translation without prior written permission is prohibited, except as allowed under the copyright laws. The information contained in this document is subject to change without notice. Hewlett-Packard makes no warranty of any kind with regard to this material, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. Hewlett-Packard shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance or use of this material. Contents Preface . xix New in HP Fortran 90 V2.0. .xx Scope. xxi Notational conventions . xxii Command syntax . xxiii Associated documents . xxiv 1 Introduction to HP Fortran 90 . 1 HP Fortran 90 features . .2 Source format . .2 Data types . .2 Pointers . .3 Arrays . .3 Control constructs . .3 Operators . .4 Procedures. .4 Modules . .5 I/O features . .5 Intrinsics . .6 2 Language elements . 7 Character set . .8 Lexical tokens . .9 Names. .9 Program structure . .10 Statement labels . .10 Statements . .11 Source format of program file . .13 Free source form . .13 Source lines . .14 Statement labels . .14 Spaces . .14 Comments . .15 Statement continuation . .15 Fixed source form . .16 Spaces . .16 Source lines . .16 Table of Contents i INCLUDE line . 19 3 Data types and data objects . 21 Intrinsic data types . 22 Type declaration for intrinsic types .
    [Show full text]
  • Author Guidelines for 8
    ACCELERATED CODE GENERATOR FOR PROCESSING OCEAN COLOR REMOTE SENSING DATA ON GPU Jae-Moo Heo1, Gangwon Jo2, Hee-Jeong Han1, Hyun Yang 1 1Korea Ocean Satellite Center, Korea Institute of Ocean Science and Technology, Pusan, South Korea 2Seoul National University and ManyCoreSoft Co., Ltd., Seoul, South Korea ABSTRACT GOCI-II ground system in July 2017 and decided to process As the satellite data gradually increases, the processing time algorithms on the Graphics Processing Unit (GPU) in order of the algorithm for remote sensing also increases. It is now to process large amounts of data. essential to make efforts to improve the processing Nowadays, we can take advantage of computation devices performance in various accelerators such as Graphics of various architectures: Many Integrated Core (i.e., Intel Processing Unit (GPU). However, it is very difficult to use Xeon Phi), GPU, and Filed Programmable Gate Array programming models that make programs to run on (FPGA). These accelerators are constantly improving and accelerators. Especially for scientists, easy programming changing. And, parallel programming models that are and performance are often more important than providing compatible with these various accelerators are being many optimization functions and directives. To meet these developed at the same time. However, algorithm source requirements, we developed the accelerated code generator codes have been generally improved for several years or based on Open Computing Language (OpenCL) for several decades and it is not easy to develop a large amount processing ocean color remote sensing data. We easily of these source codes into the existing parallel programming applied our generator to atmospheric correction program for models.
    [Show full text]
  • Barcode Reader
    BARCODE READER USER MANUAL V 2.1 EN INSTALLATION OF YOUR DEVICE PS-2 Connection RS-232 Connection (need 5Volts power supply) 1 INSTALLATION OF YOUR DEVICE USB Connection 2 USING THIS MANUAL TO SETUP YOUR DEVICE To set up all the necessary functions you can use the following barcode menus. Using these barcodes, you should enter in program mode, scan the required command symbol then exit from program mode. The general procedure is the following: -1) Scan the command symbol “PROGRAM” -2) Scan one or more parameters -3) Scan the command symbol “END” (note) Code 2/5 symbologies have an unchecked reading mode, so that, you could set a fixed code length to avoid any reading errors. Following is the correct procedure: -1) Scan the command symbol “PROGRAM” -2) Scan the command symbol “FIXED LENGTH” -3) Scan the command symbol “END” The first two scanned barcodes 2/5 will be stored as fixed length values. The following procedure will reset the above selection: -1) Scan the command symbol “PROGRAM” -2) Scan the command symbol “FIXED LENGTH OFF” -3) Scan the command symbol “END” 3 COMPLEX DEVICE SETTINGS Set MIN/MAX barcode lengt: -1) Scan the command symbol “PROGRAM” -2) Scan the symbol “SET MAX&MIN” -3) Scan barcode symbology (i2/5, 39,… etc…) -4) Scan the symbol “MM” or “NN” (max or min) -5) Scan 2 digits from the ASCII table -6) Scan the symbol “SET MAX&MIN” -7) Scan the command symbol “END” Set PREAMBLE/POSTAMBLE -1) Scan the command symbol “PROGRAM” -2) Scan the symbol “PREAMBLE/POSTAMBLE” -3) Scan up to 16 characters from the ASCII table -4)
    [Show full text]
  • Harrison 2011
    FloorPlay: Design and evaluation of a system to motivate physical activity in office workers Daniel Bryan Peter Harrison "Project report submitted in part fulfilment of the requirements for the degree of Master of Science (Human-Computer Interaction with Ergonomics) in the Faculty of Brain Sciences, University College London, 2012." NOTE BY THE UNIVERSITY This project report is submitted as an examination paper. No responsibility can be held by London University for the accuracy or completeness of the material therein. Acknowledgements This was a very ambitious MSc project, and as such there are a lot of people I’d like to thank. I’d first like to thank Jon Bird and Paul Marshall, for all of their support and assistance in producing and installing the system, and ultimately getting this report written. They offered great help throughout the project; the project wouldn’t have came together without them. I’d also like to thank all of the other academic and support staff that have taught and helped me over the past twelve months on the Masters’ degree. The Technical Support Group staff, especially Dave Twinsleton, were also a great help with installing various parts of the system, including the wiring for the interactive surface and the wireless network in the stairwell. My friend, Greg Booth, also very kindly took a long day away from home to come to UCL and help me install parts of the system. Fran Allfrey and James Owers kindly allowed me to stay at their home when it was either too late or when I was too exhausted to take the train home.
    [Show full text]
  • N2429 V 1 Function Failure Annotation
    ISO/IEC JTC 1/SC 22/WG14 N2429 September 23, 2019 v 1 Function failure annotation Niall Douglas Jens Gustedt ned Productions Ltd, Ireland INRIA & ICube, Université de Strasbourg, France We have been seeing an evolution in proposals for the best syntax for describing how to mark how a function fails, such that compilers and linkers can much better optimise function calls than at present. These papers were spurred by [WG21 P0709] Zero-overhead deterministic exceptions, which proposes deterministic exception handling for C++, whose implementation could be very compatible with C code. P0709 resulted in [WG21 P1095] Zero overhead deterministic failure – A unified mecha- nism for C and C++ which proposed a C syntax and exception-like mechanism for supporting C++ deterministic exceptions. That was responded to by [WG14 N2361] Out-of-band bit for exceptional return and errno replacement which proposed an even wider reform, whereby the most popular idioms for function failure in C code would each gain direct calling convention support in the compiler. This paper synthesises all of the proposals above into common proposal, and does not duplicate some of the detail in the above papers for brevity and clarity. It hews closely to what [WG14 N2361] proposes, but with different syntax, and in addition it shows how the corresponding C++ features can be constructed on top of it, without loosing call compatibility with C. Contents 1 Introduction 2 1.1 Differences between WG14 N2361 and WG21 P1095 . .3 2 Proposed Design 4 2.1 errno-related function failure editions . .5 2.2 When to choose which edition .
    [Show full text]