Programming Manual for SQUIX, MACH

Programming Manual for SQUIX, MACH

11 1 Edition 9.4- 5.33 22 2 JScript - the programming language for cab printing sytems. The usage of all described functions in this manual requires firmware version 5.33 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. Please refer to the product brochure about the availability of some special features. 33 3 cab Programming Manual valid for following printers: SQUIX -Series TM MACH 4S TM EOS 2 TM EOS 5 TM Hermes Q -Series TM PX Q -Series TM 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 Email: [email protected] http://www.cab.de All registered trademarks or product names are trademarks of their respectives companies SwissTM is registered Trademark of Bitstream Inc. 44 4 Table of contents copyright © cab Produkttechnik GmbH & Co KG ................................................................................... 3 Introduction ........................................................................................................................................... 11 Nomenclature, Syntax of the commands ............................................................................................... 11 Chapter 1: Introduction ................................................... 11 Usage of this manual ............................................................................................................................12 Print Positions: .....................................................................................................................................13 Overview ................................................................................................................................................14 Instruction types ...................................................................................................................................14 1. ESC instructions ...............................................................................................................................14 2. Immediate Commands ......................................................................................................................14 3. Label Format Commands ..................................................................................................................15 4. Special Content Fields ......................................................................................................................15 1. Network connection ..........................................................................................................................16 FTP Printer Management ......................................................................................................................17 Simple programming lesson ..................................................................................................................19 Create your first label: ...........................................................................................................................19 Explanation of this example ..................................................................................................................19 2. Data transmission via USB ...............................................................................................................21 Command Overview ...............................................................................................................................22 Chapter 2: Command Overview ...................................... 22 ESC Commands ...................................................................................................................................23 Immediate Commands ..........................................................................................................................24 Label Format Commands ......................................................................................................................26 Special Content Fields ..........................................................................................................................28 Time Functions .....................................................................................................................................28 Date Functions .....................................................................................................................................28 Date Functions (continued) ...................................................................................................................29 Jalali Date Functions ( Arab date ).........................................................................................................30 Suriyakati Date Functions ( official date in Thailand ) ...........................................................................30 Mathematical functions .........................................................................................................................31 Field Calculations and Comparisons .....................................................................................................31 Special functions (miscellaneous) .........................................................................................................32 RFID Functions .....................................................................................................................................33 Database Connector commands ...........................................................................................................34 Chapter 3: ESC Commands ............................................. 37 ESCESC Replaces ESC in binary data..............................................................................................38 ESC!ESC! Hard Reset .......................................................................................................................39 ESC. Start and stop value for binary data ...........................................................................................40 ESC: Start description of binary data .................................................................................................41 ESC? Request for free memory ..........................................................................................................42 ESCa abc-status .................................................................................................................................43 ESCb - Trigger peripheral button action ................................................................................................44 ESCc - Cancel Printjob ........................................................................................................................45 ESCend-of-data End description of binary data ..................................................................................46 ESCf formfeed....................................................................................................................................47 ESCg Print start command ................................................................................................................48 55 5 ESCi Send value from the INF-memory ..............................................................................................49 ESCj Request for the latest printed job ..............................................................................................50 ESCI Request of synchronisation info ................................................................................................51 ESCo Change the codepage ..............................................................................................................52 ESCp0 End printer´s pause mode ......................................................................................................54 ESCp1 Set printer into pause mode ...................................................................................................55 ESCr Verifier - read last scan result ...................................................................................................56 ESCs Printer status query ..................................................................................................................57 ESCt total cancel ..............................................................................................................................60 ESCxin Set I/O Input-Signals .............................................................................................................61 ESCxout get I/O Output-Signals ........................................................................................................62 ESCz Extended status request..........................................................................................................63 Immediate commands ...........................................................................................................................64 Chapter 4: Immediate commands ................................... 64 <ABC> - Start of the abc

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    661 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us