Page 1
Hermes - Series Hermes is decribed in a separate Programming manual ) valid for Apollo - Series and Hermes - Series [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] Edition 5.1 / 2005 cab Produkttechnik GmbH & Co KG...
Page 4
F - Font Number ........................121 G - Graphic Field Definition ....................122 G - Graphic Definition - Circle ....................124 G - Graphic Definition - Line ....................126 [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 5
[*:op1,op2, . .] Multiplication ....................183 [/ :op1,op2] Division ......................184 [%: op1,op2] Modulo ......................185 [|:op1,op2] Logical Or ......................187 [&:op1,op2] Logical And ....................... 188 [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 6
Write LOG file ....................... 207 [WTMP] Write value to serial (TMP)file ................208 APPENDIX ........................209 ASCII Table ..........................209 Index ............................210 Index ............................211 [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
IMPORTANT : We highly recommend to read the introduction first !! • The described commands and sequences are tested and approved with original cab printers. cab Produkttechnik cannot guarantee that all functions are available on OEM products. • All sample labels are created with a 300 dpi Apollo-series printer, •...
Label format commands overview list of the special content fields [INDEX] first page of the INDEX [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
The information text is written in italic letters. Restrictions: Some functions and features are not available on each printing system. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
The Orientation is identical on all printers as it is shown on a Apollo-series printer as an example. Home position when the "O R" command had been used. feed direction (paper path) Initial Home position [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
? Overview The programming language of the cab Printers is based almost completely on ASCII characters. Together with the selectability of different codepages it is possible to connect to nearly each computer system. The printers accept additionally all types of line end identifiers (CR, LF, CR/LF), so that the descriptions of labels can be created with the most simple text editors, such as "Notepad"...
On the next pages you will find a short training class which shall help you to become familiar with the cab printer programming language "JSCRIPT". We recommend that you try this course first, before you start with your own projects.
Apollo Hermes command available ? Programming cab printers - a simple lesson Target: Learn how easy it is to teach your printer to do what you want. Understand the language structure of JScript by testing the following sample. Get the feeling what might go wrong if the syntax is not correct.
Page 14
Spaces after a command may cause a protocol error too! Check your label data carefully. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Hermes command available ? Command Overview The following pages are showing lists of all available printer commands Details are explained later in this manual. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
End description of binary data ESCp0 End printer ´s pause mode ESCp1 Set printer into pause mode ESCs Printer status query ESCt total cancel of all jobs [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Set peripheral (x) error value x m;m Set peripheral (x) mask bits x s;uo Set peripheral (x) standby value Slashed zero selection [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
S [type:]yo,xo,length,dy,wide. . . Set label Size T [:name;] x,y,r, font,size . . ;data Text field definition X y[;uo] Synchronous setting of peripheral (eXternal)signal [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Numeric Script style [SER:start{incr,{freq}}] Insert SERial numbering [SPLIT:field,index] Splits table values [U:x] Insert Unicode character [WLOG] Write to file [WTMP] Write to (temporary) serial file [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 22
Select "Country = United Kingdom" in the setup menu of the printer, or add "m m CR" for metric measurement setting in the first line of your label sample. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Details about each command are described on the following pages. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
ESC characters in double ESCs will tell the printer that this is part of a graphics or part of a font. Data formats must be checked before they are transmitted to the printer. cab Produkttechnik offers additional tools (Download.exe) to convert data in a format which is understandable by the printer.
Hard Reset forces the printer to perform a hard reset. This has the same effect as turning the printer off and on again. Syntax: ESC!ESC! [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
This command can only be used in a RS-485 network ! Each network ID must be unique, otherwise data crash will be the result. A maximum of 26 printers is allowed in a RS-485 network. Valid RS-485 network adresses are A...Z [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
You may do a free download of the tool: DOWNLOAD.EXE from our website at: http://www.cabgmbh.com. This can also be done more comfortable with the "cab cardmanager" which is not free of charge. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH &...
Start description of binary data Syntax: ESC: cab printers offer a limited possibility to download data without converting them previously. (see also ESC.) In this case ESC: is required as start sequence, followed by the binary data and finished with ESCend-of-data.
Note: The response for free memory printers is only possible through the serial interface. The parallel interface of these printer types is uni-directional and cannot respond to the attached computer [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Syntax: ESCA-ESCZ Valid addresses are from A - Z (26 characters) The preselection of the RS-485 addresses is done through the printer´s setup menu. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
The current printjob will be cancelled when this command is received by the printer. Equivalent to pressing the "CANCEL" button on the printer. Syntax: ESCc Additional labels are processed if they are in the buffer. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
ESCend-of-data. Used for font and graphics download. Note: ESCend-of-data cannot be used in a RS-485 network! [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
PRODUCT MARKING AND BARCODE IDENTIFICATION Apollo Hermes command available ? ESCf formfeed formfeed - This command is equal to pressing "form feed" on the navigator pad. Syntax: ESCf [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
End printer´s pause mode ends the printer´s pause mode. The PAUSE LED on the printer´s front panel extinguishes and the printjob in the buffer proceeds. Syntax: ESCp0 [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
This command has the same function such as pressing the "PAUSE" button on the printer Syntax: ESCp1 [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
S ------------------------------------------------------ Ribbon saver malfunction V --------------------------------------------------------------- Input buffer overflow W ------------------------------------------------------------ Print head overheated X ------------------------------------------------------------------- External I/O error Z ---------------------------------------------------------------- Printhead damaged n ---------------------------------------------------------------------- network error [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
(3) Ribbon saver malfunction - Only available on Apollo 1 and Hermes (4) Network error -only on printers with an optional or built in network interface. (No print server) [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Resets also errors in the display. Same effect like pressing "Cancel" button on the control panel multiple times. Syntax: ESCt Please see also ESCc which cancels only the actual printjob. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
They are active as long as the printer is powered up or when these values get overwritten. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
; print one label with the command A (amount) Please note that comment lines need additional time to be transmitted to the printer. Avoid to use comments in time critical situations. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
S l1,0,0,68,70,100 T 25,25,0,3,13;ASCII Dump Mode If "protocol errors" are shown on the label means, that there is a mistake in the program code! [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
This command is not available for the Hermes - Series. Syntax: c CR The printer shows "Protocol error" on the display when no cutter is attached. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Vector font formats: TTF - TrueType font format Database format: DBF - dBASE IV Database formats others: TMP - Serial numbering file in ASCII format [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 44
(ASCII 27 or HEX 1B) have to be replaced first through a double ESC (ESCESC) to avoid unexpected reactions of the printer. ESC commands, (requests etc.) can be used during the download of this data. cab offers the tool: Download.exe (downloadable at http://www.cabgmbh.com ) to convert existing files. Example: d BMP;CABLOGO CR ESC.
Page 45
This function is useful for "small" databases. Big databases need a long search time for single records. cab sells a special tool ( the cab card manager) which can be used to download files through the serial interface to the memory card. This simplifies data conversion and download.
A wildcard ( * ) may be used to delete all files of the same type. Example: e FNT;* Erases all true type fonts which are currently in the printer’s memory. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
[TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 49
Limitations for saving memory can be done with this option. numbers lower case characters upper case characters character delimiters special characters [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 50
Note: The functionality of this command depends on the printer´s available memory (this is different between different printers) and the font size itself ! [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Example: l GR S l1;0,0,68,71,100 T 25,25,0,5,8;[DATE] Changes the printer´s country and language into Germany. The Date is displayed in the german style: Day.Month.Year [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
The first example is programmed in inches, the second example is programmed with metric measurements. Example: T 0.79,1.18,0,3,0.2;Measuring Unit Example: T 20,30,0,3,5;Measuring Unit [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Sets the printer into pause mode, if a print job runs, it will stop after the label is printed. The Pause LED lights on the front panel. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Requests the printer if the image ( IMG ) file called "name" is available either in memory or on memorycard. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 55
Time and date format is identical to the "s" -command. Used to find out if the printer´s date and time must be synchronized or to keep track when a label was printed. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
This command resets JScript to the printer´s default values. - resets the language - resets slashed zero setting - resets the selected measurement system - erases the fontcache Syntax: r CR [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
[ss] seconds - 2 digits (setting of ss is optional) Example: s 031105091500 Sets printer date and time to: November 24, 2003 9:15 a.m. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
The status printout is different when printed by different printer types. A detailed description of the listed values can be found in the operator´s manual. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 59
PRODUCT MARKING AND BARCODE IDENTIFICATION Apollo Hermes command available ? [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
CR Example: v CR An Apollo printer will respond such as following string: 2.64 Nov 26 2000 (Apollo) Firmware Release Printer version date model [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
) This command controls the status of the output pins. The x command was added to take control over peripheral device, which is usually other than the offered cab equipment. The four signal bits can be set as follows:...
= O -(upper case letter O - prints unslashed zeros (0) ) Example: S l1;0,0,68,71,100 T 25,25,0,-3,x9,y9;1000 Prints the number 1000 with slashed zeroes. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
At the end of the label the printer expects the command for amount of labels to print. The printer starts printing when the Amount command is received, unless it is suppressed by special options. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Special function: Transmitting "A" without parameter causes the printer to print a infinite number of labels. Don´t forget the "carriage return" after the last command in the label ! [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 65
A [$DBF] Prints all records of the database CDPLAYER.DBF, where the serial numbering function is used to create the index file, starting at 100. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
The maximum coordinate depends on the printer type. Please refer to the operator´s manual. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 67
More details are shown in the examples on the following pages. cab printers are able to extract necessary portions of a barcode name, which means that e.g. EAN-13, EAN 13 and EAN13 will print identical results.
Page 68
Barcode type DataMatrix can be printed as a rectangle or a square. The default value is square. The +RECT option forces the printer to print this barcode as a rectangle. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 69
Different rules are used for different barcodes. Some barcodes allow only characters, some others have a fixed length etc. More information can be found at the samples of each barcode. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
German Parcel JAN 8 JAN 13 HIBC MaxiCode PDF-417 Plessey Postnet UCC 128 UPC-A UPC-E *1D = One dimensional barcode, 2D = Two dimensional barcode [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 71
DBP is the 12- or 14-digit barcode of the Deutsche Post AG. It uses automatically modulo 10 check digit with weighting 4/9. It is allowed to add dots and spaces as much as it might be required. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
We recommend to use a fixed length of this barcode and set the barcode reader to that fixed amount of digits to ensure a good readability. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 73
Apollo Hermes command available ? B - Barcode 2 of 5 Interleaved Example: S l1;0,0,68,71,100 B 5,5,0,2 OF 5 INTERLEAVED,10,.3,3;1234567890 B 5,20,0,2of5interleaved+BARS,10,.3,3;1234567890 B:Bar3;5,35,0,2OF5 INTERLEAVED+MOD10,10,.3,3;1234567890 [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
(0-9) and the possible barcode size depends on the printer´s resolution. Used instead of height and ne (narrow element) [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 75
PRODUCT MARKING AND BARCODE IDENTIFICATION Apollo Hermes command available ? B - Barcode Add-On2 Example: S l1;0,0,68,71,100 B 10,5,0,EAN13 ,SC2;402345607891 B 45,5,0,ADDON2,SC2;09 [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
(0-9) and the possible barcode size depends on the printer´s resolution. Used instead of height and ne (narrow element) [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 77
PRODUCT MARKING AND BARCODE IDENTIFICATION Apollo Hermes command available ? B - Barcode Add-On5 Example: S l1;0,0,68,71,100 B 10,5,0,EAN13, SC2;402345607891 B 45,5,0,ADDON5,SC2;00399 [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
+BARS, Prints boundary lines above and below the barcode. Can be used for a better readability. Helps to avoid incorrect readings of this barcode. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 79
PRODUCT MARKING AND BARCODE IDENTIFICATION Apollo Hermes command available ? B - Barcode Codabar Example: S l1;0,0,68,71,100 B 5, 5,0,CODABAR, 12,.3,3;A12345678A B 5,20,0,CODABAR, 12,.3,3;A23456789C B 5,35,0,CODABAR+MOD16,12,.3,3;A13572468C [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Start/stop characters will be printed as " * " when the option +XHRI (Extended Human Readable Interpretation) is used. Most common ration for this barcode is 3:1 . cab printers automatically convert lower case letters into upper case letters, if lower case letters are keyed in.
Page 81
B 5, 5,0,CODE39,10,0.3,3;CAB A3 B 5,20,0,code39,10, .3,3;CAB A3 B 5,35,0,CODE39+XHRI,10,0.3,3;CAB A3 B 5,50,0,CODE39,10,.3,3;cab A3 This example shows how the barcode varies with different options [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Prints boundary lines above and below the barcode. +XHRI, +XHRI (Extended Human Readable Interpretation) prints the start and stop charcaters as a square to the human readable text. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 83
PRODUCT MARKING AND BARCODE IDENTIFICATION Apollo Hermes command available ? B - Barcode Code 93 Example: l1;0,0,68,71,100 B 5, 5,0,CODE93+XHRI,16,.28,3;ABC123 B 5,24,0,code93, 16,.28,3;ABC123 B 5,44,0,CODE93+BARS, 16,.28,3;ABC123 [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
An additional check digit can be added with the +MOD option if required. Code 128 consists of 3 code subsets. cab printers select automatically the best subset of this barcode as described in the code 128 specification.The best subset is the subset with the highest data compression as described in the original specs of code128.
Page 85
Valid input: [U:CODEA], [U:CODEB] or [U:CODEC] Example: S l1;0,0,68,71,100 B 5, 5,0,CODE128, 12,.3;ABC123 B 5,20,0,CODE 128,12,.3;ABCxyz123 B 5,35,0,CODE128+MOD10, 12,.3;[U:CODEC]123456 [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
It supports advanced encoding and error checking with Reed Solomon error correction algorithms. These algorithms allow the recognition of barcodes that are up to 60% damaged. Syntax: B[:name;]x,y,r,DATAMATRIX [+RECT],height;text CR [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 87
Apollo Hermes command available ? B - Barcode Data Matrix Example: S l1;0,0,68,71,100 B 25, 5,0,DATAMATRIX,1;30Q324343430794<OQQ B 60, 5,0,DATAMATRIX+RECT+WS2,1;cab Produkttechnik B 25,35,0,DATAMATRIX,1;[U:PROG] B 60,35,0,DATAMATRIX+WS2,1;[U:ANSI_AI]cabProdukttechnik [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Developed by the Deutsche Post AG for automated sorting of mails. Base code is a 2of 5 interleaved barcode with the fixed length of 11or 13 digits and an additional check digit. cab printers convert invalid characters automatically into zeroes, while the human readable shows a hash sign. Syntax: B[:name;]x,y,r,DBP[+options],height,ne,ratio;text CR...
Page 89
PRODUCT MARKING AND BARCODE IDENTIFICATION Apollo Hermes command available ? B - Barcode DBP - German Post Identcode Example: S l1;0,0,68,71,100 5,10,0,DBP,10,.3;2134807501640 B 60,10,0,DBP,10,.3;56.310.243.031 [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
The EAN 13 code is used in retail environment in Europe with a fixed length of 8 digits. The 8th digit contains the calculated checksum. cab printers expect 7 digits, while the 8th digit is calculated by the printer.
Page 91
PRODUCT MARKING AND BARCODE IDENTIFICATION Apollo Hermes command available ? B - Barcode EAN-8 / JAN-8 Example: S l1;0,0,68,71,100 B 10, 5,0,EAN8, SC1;4023456 B 10,26,0,EAN8,16,.35;4023456 B 10,44,0,JAN8,16,.35;4900056 [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
The EAN 13 code is used in retail environment in Europe with a fixed length of 13 digits. The 13th digit contains the calculated checksum. cab printers expect 12 digits, while the 13th digit is calculated by the printer.
Page 93
PRODUCT MARKING AND BARCODE IDENTIFICATION Apollo Hermes command available ? B - Barcode EAN-13 / JAN-13 Example: S l1;0,0,68,71,100 B 10, 5,0,EAN13, SC1;402345607891 B 10,30,0,EAN13,16,.35;270072610950 B 10,48,0,JAN13,16,.35;490005607891 [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Do not use this barcode unless you have read the specification !! Syntax: B[:name;]x,y,r,EAN128,[+options], height,ne; text CR [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 95
Apollo Hermes command available ? B - Barcode EAN 128 / UCC 128 Example: S l1;0,0,68,71,100 B 5, 5,0,EAN128,12,.3;(00)345678901234567890 B 5,20,0,UCC128,12,.3;(00)345678901234567890 B 5,35,0,EAN128, 12,.3;(00)345678901234567890 [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
+BARS, Prints boundary lines above and below the barcode. Can be used for a better readability. Helps to avoid erroreous readings of this barcode. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 97
PRODUCT MARKING AND BARCODE IDENTIFICATION Apollo Hermes command available ? B - Barcode Example: S l1;0,0,68,71,100 B 5, 5,0,FIM,16,.3,3;A B 5,24,0,FIM,16,.3,3;B B 5,44,0,FIM, 16,.3,3;C [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
This option is for design purposes only and should be removed after the label is programmed. +BARS, Prints boundary lines above and below the barcode. Can be used for a better readability. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 99
PRODUCT MARKING AND BARCODE IDENTIFICATION Apollo Hermes command available ? B - Barcode HIBC (Health Industry Barcode) Example: S l1;0,0,68,71,100 B 5, 5,0,HIBC,12,.3,3;+123AB78 B 5,18,0,hibc,12,.3,3;+123AB78 B 5,33,0,HIBC, 12,.3,3;+123AB78 [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Mode 6 encodes also text messages of 93 characters. This mode is used for programming the barcode reader. Syntax: B[:name;]x,y,r,MAXICODE [+MODE];[ZIPCODE],[COUNTRY],[SERVICE], ..[TEXT] CR [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 101
Example: S l1;0,0,68,71,100 B 25,5,0,Maxicode+MODE2;76131,260,999,Paket for cab Produkttechnik GmbH B 60, 5,0,Maxicode+ws2+mode4;MaxiCode (19 charcters) B 25,35,0,Maxicode+MODE4;Paket for cab Produkttechnik GmbH B 60,35,0,Maxicode+MODE6;Paket for cab Produkttechnik GmbH [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
+BARS, Prints boundary lines above and below the barcode. Can be used for a better readability. Helps to avoid erroreous readings of this barcode. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 103
PRODUCT MARKING AND BARCODE IDENTIFICATION Apollo Hermes command available ? B - Barcode MSI (MSI Plessey) Example: S l1;0,0,68,71,100 B 5, 5,0,MSI,12, .3,2;1234567890 B 5,20,0,MSI+MOD10,12,.3,2;1234567890 B 5,35,0,MSI+MOD11,12,.3,2;1234567890 [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
This option is for design purposes only and should be removed after the label is programmed. +ELxx Error levels are set by this value [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 105
? B - Barcode PDF417 Example: S l1;0,0,68,71,100 B 2, 5,0,PDF417+EL0,.1,.38,1;cab Produkttechnik GmbH[U:13][U:10]Wilhelm Schickard Strasse[U:13][U:10]D-76131 Karlsruhe B 2,35,0,PDF417+EL3,.1,.38,1;cab Produkttechnik GmbH[U:13][U:10]Wilhelm Schickard Strasse [U:13][U:10]D-76131 Karlsruhe [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
+BARS, Prints boundary lines above and below the barcode. Can be used for a better readability. Helps to avoid erroreous readings of this barcode. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 107
PRODUCT MARKING AND BARCODE IDENTIFICATION Apollo Hermes command available ? B - Barcode Plessey Example: S l1;0,0,68,71,100 B 5,20,0,PLESSEY+BARS,12,.3,2;1234567890 B 5,35,0,plessey, 12,.3,2;1234567890 [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
This option is for design purposes only and should be removed after the label is programmed. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 109
PRODUCT MARKING AND BARCODE IDENTIFICATION Apollo Hermes command available ? B - Barcode Postnet Example: S l1;0,0,68,71,100 B 10, 5,0,postnet,20,.35;442120798 B 10,20,0,POSTNET, 20,.35;441361234 [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
(Mod 10) ratio oriented: UPC-A is a retail barcode with a fixed length of 12 digits. The 12th digit is a modulo 10 check digit. cab printers require only 11 digits. The 12th digit is calculated by the printer. Syntax: B[:name;]x,y,r,UPCA[+options],height;ne,text CR...
Page 111
PRODUCT MARKING AND BARCODE IDENTIFICATION Apollo Hermes command available ? B - Barcode UPC-A Example: S l1;0,0,68,71,100 B 10,5,0,UPC-A,20,.35;01234554321 B 10,30,0,UPCA+XHRI,SC1;01234554321 [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
(Mod 10) ratio oriented: UPC-E is a retail barcode with a fixed length of 8 digits.The 8th digit is a modulo 10 check digit. cab printers require only 7 digits.The 8th digit is calculated by the printer. Syntax: B[:name;]x,y,r,UPCE[+options],height;ne,text CR...
Page 113
PRODUCT MARKING AND BARCODE IDENTIFICATION Apollo Hermes command available ? B - Barcode UPC-E Example: S l1;0,0,68,71,100 B 10, 5,0,UPC-E,20,.35;0123456 B 10,30,0,UPCE+XHRI,SC1;0123456 [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
(0-9) and the possible barcode size depends on the printer´s resolution. Used instead of height and ne (narrow element) [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 115
PRODUCT MARKING AND BARCODE IDENTIFICATION Apollo Hermes command available ? B - Barcode UPC-E0 Example: S l1;0,0,68,71,100 B 10, 5,0,UPCE0,20,.35;03210000678 B 10,30,0,UPCE0, SC1;01230000088 [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
T 12,25,0,3,9;cut after 2 labels Prints 10 labels and cuts always after the second label Example: S l1;0,0,68,71,100 T 12,25,0,3,9;cut after 2 labels C5,0,2 [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
100 labels after each 5th and in the second job with a total amount of 60 labels every 2. label will be cut. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
All measurements in millimeters or in inches (see the "m" command) D 4,3 Example: Moves all objects on a label 4 mm horizontal and 3 mm vertical (when metric settings are used) [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Uses SERNUM.TMP as file for serial numbering from memorycard. Used together with the [RLOG] und [WLOG] text options. Filenames have to be in the 8.3 format (8 characters name and 3 characters extension) [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 120
Used together with the [RLOG] und [WLOG] text options. Filenames have to be in the 8.3 format (8 characters name and 3 characters extension) [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
The resident fonts in the cab printers have fixed names, but they can be redifined with this command. Once the font number is defined it is valid for the complete label.
Hermes command available ? G - Graphic Field Definition cab printers are able to print graphic elements, such as lines, rectangles, circles and elipses. These graphic elements are defined by the G command. Syntax: G[:name;]x,y,r;ge:settings[,options] CR Graphic field definition command.
Page 123
"shade") ,outline = outline option - prints an outline around the filled graphic object with the thickness of 1 dot. (see graphic option "outline") [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
"shade") ,outline = outline option - prints an outline around the filled graphic object with the thickness of 1 dot. (see graphic option "outline") [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 125
PRODUCT MARKING AND BARCODE IDENTIFICATION Apollo Hermes command available ? G - Graphic Definition - Circle Example: S l1;0,0,68,71,100 G 65,50,0;C:25,10,.7 G 25,25,0;C:20,20,2 G 20,20,35;C:10,10,1 [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
"shade") ,outline = outline option - prints an outline around the filled graphic object with the thickness of 1 dot. (see graphic option "outline") [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 127
Example: S l1;0,0,68,71,100 G 5,5,0;L:24.5,2.5,a,a G 5,15,0;L:24.5,2.5,s,a G 5,25,0;L:24.5,2.5,r,r G 5,35,0;L:24.5,2.5 This example demonstrates how the different line start / end parameters are printing [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
"shade") ,outline = outline option - prints an outline around the filled graphic object with the thickness of 1 dot. (see graphic option "outline") [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 129
PRODUCT MARKING AND BARCODE IDENTIFICATION Apollo Hermes command available ? G - Graphic Definition - Rectangle Example: S l1;0,0,68,71,100 G 35,45,0;R:30,15,.3,.3 G 0,25,0;R:80,10,1,1 G 25,15,35;R:10,10,.5,.5 [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
(downloaded images 32 by 32 dots) Example: S l1;0,0,68,71,100 G 70,20,0;R:30,30, 1,20[F:grid] G 48,30,0;C:10,16,10,10[F:dots] G 5,20,0;R:25,25, 1,20[F:25%] [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
%2 = Darknessvalue at the end, as a percent of black. direction = Shading angle Example: S l1;0,0,68,71,100 5,20,0;R:20,20, 1,20[S:60,10,45] G 85,30,0;C:10,10,10,10[S:60,10,75] G 10,10,0;L:80,2[S:30,90,0] [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
(see 2nd example on this page) Example: S l1;0,0,68,71,100 G 5,20,0;R:20,20,1,20[S:60,10,45][O] G 85,30,0;C:10,10,10,10[S:60,10,75][O] G 10,10,0;L:80,2[S:30][O] Example: S l1;0,0,68,71,100 G 5,20,0;R:20,20,1,20[O] G 85,30,0;C:10,10,10,10[O] G 10,10,0;L:80,2[O] [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
The maximum print speed depends on the used printer model. The print speed is automatically set to the maximum if accidentially a higher printspeed is transmitted. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Enlarges the image horizontally multiplied by this factor. Vertical magnification factor. Values 1-10. This parameter is optional. Enlarges the image horizontally multiplied by this factor. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 135
I - Image Field Definition Example: S l1;0,0,68,71,100 I:IMAGE1;20,5,0,0,0;HUMAN T 12,25,0,3,6;Todays date is: [DATE:+03,+02,+10] Prints the picture "HUMAN" which had previously downloaded to the printer. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
The printer "looks" into each label on the memory card and controls if an alternative Label description is available. This description is shown instead of the original label name which is limited to 8 characters. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Furthermore some applications use the memory card to recall labels for printing and send the variable field contents from an other application. This is one of the methods which is often used to connect cab printers to SAP or to IBM mainframe computers.
IMPORTANT: Some labelling programs use also the extension .LBL or .FMT. These file types are totally different and do not contain J-Script commands ! [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 140
Memory card: format card Formats the memory card (creates a DOS file system ) Example: M f;MYDATA formats the memory card and writes the volume name "MYDATA" [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 141
Name of the file (maximum 8 digits DOS format) Example: Ml LBL;TESTLBL Loads the label with the name TESTLBL from memory card and prints 2 labels [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 142
A label will immediatly start printing when the printer is switched on, if the label has been saved with the reserved name "DEFAULT.LBL" ! [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 143
Wordpad. Note: When uploading other types of files, such as IMG, the data is in sent as raw binary data. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
This may cause a small horizontal white line in the area. If this happens within an object, then you must select the "D" option to avoid this effect. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 145
G 25,25,0;C:20,20,2 G 20,20,35;C:10,10,1 The O R command rotates the complete printout of a label. The first example does not use the "O" command. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
The "P" command needs to be placed after the definition of the page size ! ("S"- command) [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
This example transmits a label and replaces the single variable in this label with other data. Additional information about using cut commands together with Replace fields can be found at "C - Cutter Parameters". [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Both parameters depend on the used printer type. Please refer to the operator´s manual for more information. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 150
Please have a look to the setup menu of your printer. The text area allows also the usage of special functions and options. Please see the special functions area later in this manual. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 151
On this page you can see a printout of the printer´s internal bit mapped fonts. The size of the characters have been enlarged for a better readability [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 152
T - Text Field Definition Internal Fonts This examples show a printout of the scalable fonts of the cab printers. Special characters can be recalled using the [U:... option to recall and print Unicode characters. Please see the [U:... otion for more details.
Page 153
PRODUCT MARKING AND BARCODE IDENTIFICATION Apollo Hermes command available ? T - Text Field Definition This example shows some special effects of the cab printers "Swiss" font. Example: S 0,0,68,71,100 T 10,10,0,3,5;Font 3: Swiss T 10,20,0,3,5;Font 3: S Bold T 10,30,0,3,5,u;Font 3: Swiss Underline T 10,40,0,3,5,s;Font 3: Swiss Slanted...
The "X" command needs to be placed after the definition of the page size ! ("S"- command) Example: X 14;E0 Clears bit 0 when the printhead reaches the defined position 14 mm from beginning of the label. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Special content fields consist of reserved words, special phrases or special parameters. cab printers will interpret this fields as a special command instead of printing these as text values. Special content fields offer the most powerful functions in JScript.
Here we do not know if it is 9 o´clock in the morning or in the evening. This option should be used with the [XM] option (please see there for more details). [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
24 hour format. Usually this option is used together with the options [MIN] and [SEC] .The single digits (1..9) are printed without leading zeroes. Syntax: [H24] Example: S l1;0,0,68,71,100 T 12,25,0,3,9;The hour is [H24] [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
[SEC] .The "single"digits (1 to 9) will always print with leading zeroes (01 to 09). Syntax: [H012] Example: S l1;0,0,68,71,100 T 12,25,0,3,9;It is [H012] o´clock [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
[SEC] .The "single"digits (1 to 9) will always print with leading zeroes (01 to 09). Syntax: [H024] Example: S l1;0,0,68,71,100 T 12,25,0,3,9;The actual hour is [H024] [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
This option is used to recall the actual minutes from the printer´s internal clock. Usually this option is used together with the options [H...] and [SEC] . Syntax: [MIN] Example: S l1;0,0,68,71,100 T 12,25,0,3,4;Actual time is [H024] hour and [MIN] Minutes [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
T 12,25,0,3,6;Actual time is [H024]:[MIN]:[SEC] In this example the result is identical to the TIME option. The difference is that the seconds can be printed separately. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
This example prints one label with the timestamp. The printer has been set to "country= United kingdom". The same result will be printed if the parameters would be sent in this way, separated by colons. [HH]:[MM]:[SS] [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
This option was implemented for the usage in countries, where the time is displayed as "am" (morning) and "pm" (afternoon), when 12 hour time format is selected. Syntax: [XM] am/pm Example: S l1;0,0,68,71,100 T 12,25,0,3,8;The time is [H12]:[MIN] [XM] [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Recalls the date from the printer and prints it in the defined size and in the format of the selected country. ( See also the "l" command ) Syntax: [DATE] Example: S l1;0,0,68,71,100 T 12,25,0,3,5;Todays date is: [DATE] [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
(1-31) The numeric day of the actual month is recalled from the printer´s clock Syntax: [DAY] Example: S l1;0,0,68,71,100 T 12,25,0,3,5;Day only: [DAY] [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
( see also the "l" command ) Syntax: [DAY02] Example: s 031105091500 S l1;0,0,68,71,100 T 12,30,0,3,7;Date: [DAY02]-[MONTH02]-[YYYY] Prints a label where the day is displayed with 2 digits [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
T 12,20,0,3,7;February 5 is the T 12,30,0,3,7;[DOFY] th day of the year The preset date in this example is February 5 2004. The result appears in 3 digits. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Print DATE with Offset Print date with offset (in the format of the preset country). Syntax: [ODATE:+DD{,+MM{,+YY}}] Example: S l1;0,0,68,71,100 T 12,25,0,3,6;Best before: [DATE:+03,+02,+10] [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Print the complete weekday name. The name of the day depends on the selected language of the printer or on the previously sent "l = language" command. Syntax: [wday] Example: S l1;0,0,68,71,100 T 12,25,0,3,5;The name of today is [wday] [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
= monday = tuesday = wednesday = thursday = friday = saturday So we have Thursday today and in two days we have saturday [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Print 2 characters of the weekday name. The name of the day depends on the selected language of the printer or on the previously sent "l = language" command. Syntax: [wday2] Example: S l1;0,0,68,71,100 T 12,25,0,3,5;The name of today is [wday2] [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Print 3 characters of the weekday name. The name of the day depends on the preset language of the printer or on the previously sent "l = language" command. Syntax: [wday3] Example: S l1;0,0,68,71,100 T 12,25,0,3,5;The name of today is [wday3] [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Apollo Hermes command available ? [WEEK] Print numeric WEEK (1-53) Prints the week number (1 -53) Syntax: [WEEK] Example: S l1;0,0,68,71,100 T 12,25,0,3,5;Date: [DATE] [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Print week with offset (1-53) Syntax: [OWEEK:+WW] The offset is in weeks. Example: S l1;0,0,68,71,100 T 12,25,0,3,6;Todays date is: [DATE] T 12,40,0,3,6;The week in 3 weeks is[OWEEK:+3] [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Print 2 characters of the month name. The name of the month depends on the selected language of the printer or on the previously sent "l = language" command. Syntax: [mon] Example: S l1;0,0,68,71,100 T 10,30,0,3,10;[mon] [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Prints the complete month name. The name of the month depends on the selected language of the printer or on the previously sent "l = language" command. Syntax: [month] Example: S l1;0,0,68,71,100 T 10,30,0,3,10;[month] [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
? [MONTH] Print 2-digit MONTH (1-12) Print digits of month. (1-12) (no leading zeroes) Syntax: [MONTH] Example: S l1;0,0,68,71,100 T 10,30,0,3,8;[month] is Month [MONTH] [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
This simple example adds var1 ( 44,80) and var2 (26,70) which are defined as fixed values in the label. The addition sign and the line shall help to have a better overview. The result (res) uses the calculation options. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Field operators might also be marked "invisible" - see option [I]) to show only the result Example: S l1;0,0,68,71,100 T:var1;25,10,0,3,5;44,80 T:var2;20,20,0,3,5;- T:var2;25,20,0,3,5;26,70 G 20,25,0;L:20,0.3 T:res;25,35.0,.0,3,5.0;[-:var1,var2] [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
This option is useful to calculate the total price of a weighted product, where the data of var1 might be the weight of the product and var2 might be a fixed value which is the price per unit. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
This option is for example useful to calculate the total price of a weighted product, where the data of var1 might be the weight of the product and var2 might be a fixed value which could be the price per unit. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
[I] to print only the result. Example: S l1;0,0,68,71,100 T:var1;25,10,0,3,5;84 T:var2;25,20,0,3,5;8 G 20,25,0;L:20,0.3 T:res;25,35.0,.0,3,5.0;[%:var1,var2] The remainder of 84, divided by 8 is 4. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 186
T:SHIFT; 5,10,,3,4;[+:MODCALC,1][D:2,0] A 20 The sample above produces a counter from 1 to 15 and sets it back to 1, to start from the beginning [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Result 1, because the first variable (var1) is not 0. Example: S l1;0,0,68,71,100 T:var1;25,10,0,3,5;0 T:var2;25,20,0,3,5;0 G 20,25,0;L:20,0.3 T:res;25,35.0,.0,3,5.0;[|:var1,var2] Result 0, because both variables are 0. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Compares 2 values and prints the result which is defined in that field. Result is "1" if both values for the comparision are identical" - otherwise the result is 0. Syntax: [&:op1,op2] Example: S l1;0,0,68,71,100 T:var1;25,10,0,3,5;1 T:var2;25,20,0,3,5;1 G 20,25,0;L:20,0.3 T:res;25,35.0,.0,3,5.0;[&:var1,var2] [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
T:var1;25,10,0,3,5;63 T:var2;25,20,0,3,5;41 G 20,25,0;L:20,0.3 T:res;25,35.0,.0,3,5.0;[<:var1,var2] In our example: Operand1 (var1 =63) is not less than operand2 (var2 =41) - the result is false (0) [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Syntax: [=: op1,op2] Example: S l1;0,0,68,71,100 T:var1;25,10,0,3,5;6 T:var2;20,20,0,3,5;= T:var2;25,20,0,3,5;6 G 20,25,0;L:20,0.3 T:res;25,35.0,.0,3,5.0;[=:var1,var2] Compares 12 and 6 and has the result "false" (0) [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Syntax: [>: op1,op2] The result is true (1), when operand1 (op1) is greater than operand2 (op2) Example: S l1;0,0,68,71,100 T:var1;25,10,0,3,5;63 T:var2;25,20,0,3,5;41 G 20,25,0;L:20,0.3 T:res;25,35.0,.0,3,5.0;[>:var1,var2] [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Prints result in price format Syntax: [P:name,td{o}] price format option name = field name thousands separator decimal point character optional addendum characters Example: S l1;0,0,68,71,100 T:Price1;10,20,0,3,8;[P:5432,.,-] [U:$20AC] [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Apollo Hermes command available ? [R:x] Rounding method cab printers "know" several rounding methods. To select a specified rounding method use the [R:x] option. Syntax: [R:x] n = no rounding ( default ) u = rounding up d = rounding down...
[?: ... ] LCD prompt cab printers offer the feature that a standard PC keyboard can be connected the printers. It requires a specific adapter for the usage with Apollo and Hermes printers. A8-200 has this possibility as standard feature. (AT or PS 2 connectors required for Apollo and Hermes) A PS2 adapter is built in in A8-200.
Page 195
Prompts for number with the preset value of 7733214 and masks the input for numeric values only. Example: [?:artno?,,1,M1114444] Prompts for artno, has no preset value and expects 3 numeric an 4 upper case characters [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 196
(This request prompts only once) T 10,15,0,3,10;[SER:1] (This request repeats prompting) T 10,30,0,3,10;[?:INPUT?] T 10,45,0,3,10;[?:Second INPUT?,,,J] A [?,R] Repeats the prompt until the cancel button is pressed [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
The counter starts with the number 2. Please see option "[Ser ... ]for more details about serial numbering. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
This option allows for special formatting on a calculated field. Syntax: [D:m,n] Set number of Digits amount of digits digits after the comma (2 is default value) Example: S l1;0,0,68,71,100 T:input;10,30,0,3,14;[*:10.79,4.16] [D:4,2] [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
The" E "command must be defined,before this command can be used. Only one database can be used at the same time in a label. This function makes only sense if small databases are used. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Invisible fields must be defined such as regular or visible fields and the syntax must be correct. They may be located on the same position. That doesn´t matter as they do not appear on the label. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
The Field "NOADJUST" is transmitted as is and the Field "ADJUST" adjusts the textline to the right side of the defined area. (Shown with added rectangle.) [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
T:FIELD2;10,30,0,3,5;label printers T:FIELD3;10,40,0,3,4;we like [FIELD1] [FIELD2] FIELD1 and FIELD2 are linked with additional standard text in FIELD3 Note: Field names are case sensitive !! [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
T:ORIGINAL;10,20,0,3,8;cab GERMANY T:CUTOFF;10,40,0,3,8;[ORIGINAL,8,4] This example uses the previously defined field with the field name "ORIGINAL" and cuts from the content "cab GERMANY" 4 characters, starting at character number 8. The result is shown below. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH &...
RTMP Read TMP (Serial) file defines how many time the value will repeated See also the command [WTMP] Read value from serial (TMP) file. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
- presets the number which is added to the start number freq = frequency - defines the number of identical values on the labels before the serialnumber increments. cab printers will use automatically "1" if incr and freq are not set. Example: S l1;0,0,68,71,100 T:CNT; 10,15,0,3,10;[SER:1][I] T:FIELD1;10,10,0,3,10;[+:1,CNT][C:0][D:4,0]...
[U:FNC1] creates a function code 1 character (Used for barcode typeCode 128) [U:$D] or [U:13] creates a Carriage return [U:$A] or [U:10] creates a line feed Example: S l1;0,0,68,71,100 T 20,15,0,3,20;[U:$20AC] T 20,40,0,596,10;[U:$20AC] [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
T:PRINT;5,6,0,3,3;Label [VAL] printed at [DATE] um [TIME].[WLOG][I] This example keeps track of the labels, based on the counter value VAL which will be written to the LOG file "EXAMPLE". [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
The value of the file EXAMPLE will be saved in the value XVAL. See also the command [RTMP] Read value from serial (TMP) file. [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Request for free memory (ESC?) Free memory request (ESC?) Memory request (free memory (ESC?)) All expressions above will route you to the same result [TABLE OF CONTENTS] [COMMAND LIST] [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG...
Page 212
B - Barcode FIM 96 B - Barcode Plessey 106 B - Barcode Postnet 108 B - Barcode UPC-A 110 B - Barcode UPC-E 112 B - Barcode UPC-E0 114 Barcode 2 of 5 Interleaved 72 cab Produkttechnik GmbH & Co KG...
Page 213
Command Overview 15 Hermes Command syntax 7 comment line 40 Comparision < Less than 189 Comparision = Equal 190 Comparision > Greater than 191 comparisons 20, 181 copyright 2 Country - language (l) 51 cab Produkttechnik GmbH & Co KG...
Page 214
139 Error Level 68 ESC A - ESC Z Activate individual RS-485 print 30 ESC Commands 16 ESC commands 23 ESC instructions 11 ESC p1 Set printer into pause mode 35 cab Produkttechnik GmbH & Co KG...
Page 215
Germany - country settings (l) 51 GIF 43 Global Object Offset 118 Graphic Definition - Circle 124 Graphic Definition - Line 126 Graphic Definition - Option Shade 131 Graphic Definition - Option: Fill 130 cab Produkttechnik GmbH & Co KG...
Page 216
Japanese Article Numbering 90, 92 Job Start 136 Hermes Justification 201 l - Change Language ( country ) 51 Label Format Commands 12, 18 Label Format Commands - Overview 18 Label quantity 64 label query 55 cab Produkttechnik GmbH & Co KG...
Page 217
NOPRINT 65 Norway - country settings (l) 51 Hermes number of Digits 198 number of Labels 64 numbering (serial numbers) 205 O - Set Print Options 144 Offset (Global objects) 118 Option Shade 131 cab Produkttechnik GmbH & Co KG...
Page 218
Print Hour in 24-hour form (0-23) 157 Print MINutes (00-59) 160 Print numeric 2-digit DAY of the month (01-31) 166 Print numeric DAY of the month (1-31) 165 Print numeric Day OF Year(001-366) 167 cab Produkttechnik GmbH & Co KG...
Page 219
Ribbon 133 Hermes Ribbon setting 133 Rounding method 193 RS-485 printer activation (ESC A - ESC Z ) 30 Run Printer Self-test (t) 58 Russia - country settings (l) 51 s - set Date/Time 57 cab Produkttechnik GmbH & Co KG...
Page 220
Switzerland / french - country settings (l) 51 Switzerland / german - country settings (l) 51 Synchronous Peripheral Signal Settings 154 Synchronous Peripheral Signal Settings (x) 61 Syntax of the commands 7 t - Run Printer Self-test 58 cab Produkttechnik GmbH & Co KG...
Page 221
WeekDAY(1-7) 170 white space area 68 Write LOG file 207 Hermes Write value to serial (TMP)file 208 WSarea 68 X - Synchronous Peripheral Signal Settings 154 x - Synchronous Peripheral Signal Settings 61 XHRI 68 cab Produkttechnik GmbH & Co KG...
Page 222
PRODUCT MARKING AND BARCODE IDENTIFICATION Year (1970-2069) 180 Year (00-99) 179 z - print slashed / unslashed zero 62 This function is available for: A-series Apollo Hermes cab Produkttechnik GmbH & Co KG...