CAB A Series Owner's manual

cab Produkttechnik GmbH & Co KG 1
1
[TABLE OF CONTENTS][COMMAND LIST][INDEX]
Hermes
Apollo
A-series
This
functionis
available
for:
[ESC][i][L][S]
PRODUCTMARKINGANDBARCODEIDENTIFICATION
M-series
Programming Manual
Thermal / Thermal Transfer Printers
valid for A-Series, Apollo-Series, Hermes -Series and M-Series
Edition 5.0 / 2003
A-Series
Apollo-Series
Hermes-Series
M-Series

2cab Produkttechnik GmbH & Co KG
2
PRODUCT MARKING AND BARCODE IDENTIFICATION
Hermes
Apollo
A-series
This
functionis
available
for:
[TABLE OF CONTENTS][COMMAND LIST][INDEX][ESC][i][L][S]
M-series
cab Programming Manual
valid for following printer types:
A-Series ©
Apollo-Series ©
Hermes-Series ©
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 JScript ©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
Allregisteredtrademarksorproductnamesaretrademarksoftheirrespectivescompanies
SwissTM is registeredTrademarkofBitstreamInc.

4cab Produkttechnik GmbH & Co KG
4
PRODUCT MARKING AND BARCODE IDENTIFICATION
Hermes
Apollo
A-series
This
functionis
available
for:
[TABLE OF CONTENTS][COMMAND LIST][INDEX][ESC][i][L][S]
M-series
Table of Contents
Programming Manual
copyright © cab Produkttechnik GmbH & Co KG ....................................................................... 2
Table of Contents ........................................................................................................................ 4
Introduction ................................................................................................................................. 9
Nomenclature, Syntax of the commands.................................................................................... 9
Usage of this manual ................................................................................................................ 10
Restrictions: ...............................................................................................................................11
Print Positions: .......................................................................................................................... 12
CHAPTER 1 - Overview.................................................................................................. 13
Instruction types........................................................................................................................ 13
1. ESC instructions ................................................................................................................... 13
2. Immediate Commands.......................................................................................................... 13
3. Label Format Commands ..................................................................................................... 14
Special Content Fields .............................................................................................................. 14
Programming cab printers - a simple lesson............................................................................. 15
Create your first label:............................................................................................................... 15
Explanation of this Example .....................................................................................................15
Command Overview ................................................................................................................. 17
ESC Commands ....................................................................................................................... 18
Immediate Commands..............................................................................................................19
Label Format Commands ......................................................................................................... 20
Special Content Fields .............................................................................................................. 21
Time and Date Functions.......................................................................................................... 21
Jalali Date Functions ................................................................................................................ 22
Field Calculations and Comparisons......................................................................................... 23
Special functions (miscellaneous)............................................................................................. 24
Database Connector commands............................................................................................... 25
CHAPTER 2 - ESC Commands ...................................................................................... 27
ESCESC Replaces ESC in binary data ................................................................................. 28
ESC!ESC! Hard Reset........................................................................................................... 29
ESC* Activate all RS-485 printers ........................................................................................ 30
ESC. Start and stop value for binary data.............................................................................. 31
ESC: Start description of binary data..................................................................................... 32
ESC? Request for free memory............................................................................................. 33
ESCA - ESCZ Activate individual RS-485 printer ................................................................. 34
ESCa - abc-status .................................................................................................................... 35
ESCc - Cancel Printjob ............................................................................................................ 36
ESCend-of-data End description of binary data..................................................................... 37
ESCf formfeed ....................................................................................................................... 38
ESCp0 End printer´s pause mode ......................................................................................... 39
ESCp1 Set printer into pause mode ...................................................................................... 40
ESCs Printer status query....................................................................................................... 41
ESCt total cancel ................................................................................................................... 42

cab Produkttechnik GmbH & Co KG 5
5
[TABLE OF CONTENTS][COMMAND LIST][INDEX]
Hermes
Apollo
A-series
This
functionis
available
for:
[ESC][i][L][S]
PRODUCTMARKINGANDBARCODEIDENTIFICATION
M-series
CHAPTER 3 - Immediate commands ............................................................................ 43
Immediate commands ..............................................................................................................43
<abc> - Starts the abc Basic Compiler...................................................................................... 44
</abc> - Ends the abc Basic Compiler ..................................................................................... 45
; - Comment line ....................................................................................................................... 46
a - ASCII Dump Mode............................................................................................................... 47
c - Direct cut.............................................................................................................................. 48
d - download data...................................................................................................................... 49
e - erase data............................................................................................................................ 52
f - formfeed ............................................................................................................................... 53
g - generate font cache ............................................................................................................. 54
l - Change Language ( country ) ............................................................................................... 57
m - set measuring unit .............................................................................................................. 58
p - pause Printer ....................................................................................................................... 59
q - query Printer ........................................................................................................................ 60
r - reset to default values .......................................................................................................... 62
s - set Date/Time....................................................................................................................... 63
t - Run Printer Self-test ............................................................................................................. 64
v - Firmware version ................................................................................................................. 67
x - Synchronous Peripheral Signal Settings.............................................................................. 68
z - print slashed / unslashed zero ............................................................................................. 69
CHAPTER 4 - Label Format Commands...................................................................... 70
A - Amount of Labels................................................................................................................. 71
B - Barcode Definition............................................................................................................... 73
Barcode overview list................................................................................................................ 78
B - Barcode 2 of 5 Interleaved...............................................................................................82
B - Barcode Add-On2............................................................................................................. 84
B - Barcode Add-On5............................................................................................................. 86
B - Barcode Codabar ............................................................................................................. 88
B - Barcode Code 39 ............................................................................................................. 90
B - Barcode Code 93 ............................................................................................................. 92
B - Barcode Code 128 ........................................................................................................... 94
B - Barcode Data Matrix ........................................................................................................ 96
B - Barcode DBP - German Post Identcode .......................................................................... 98
B - Barcode EAN-8 / JAN-8 ................................................................................................. 100
B - Barcode EAN-13 / JAN-13 ............................................................................................. 102
B - Barcode EAN 128 / UCC 128......................................................................................... 104
B - Barcode FIM................................................................................................................... 106
B - Barcode HIBC (Health Industry Barcode) ...................................................................... 108
B - Barcode Maxicode ..........................................................................................................110
B - Barcode Micro PDF 417..................................................................................................112
B - Barcode MSI (MSI Plessey) ............................................................................................114
B - Barcode PDF417.............................................................................................................116
B - Barcode Plessey .............................................................................................................118
B - Barcode Postnet............................................................................................................. 120
B - Barcode QR-Code.......................................................................................................... 122
B - Barcode UPC-A.............................................................................................................. 124
B - Barcode UPC-E.............................................................................................................. 126
B - Barcode UPC-E0............................................................................................................ 128
C - Cutter Parameters............................................................................................................. 130

6cab Produkttechnik GmbH & Co KG
6
PRODUCT MARKING AND BARCODE IDENTIFICATION
Hermes
Apollo
A-series
This
functionis
available
for:
[TABLE OF CONTENTS][COMMAND LIST][INDEX][ESC][i][L][S]
M-series
C - Cutter Parameters............................................................................................................. 131
D - Global Object Offset ......................................................................................................... 132
E - Define Files ( Extension ) .................................................................................................. 133
F - Font Number ..................................................................................................................... 135
G - Graphic Field Definition .................................................................................................... 136
G - Graphic Definition - Circle................................................................................................. 138
G - Graphic Definition - Line ................................................................................................... 140
G - Graphic Definition - Rectangle.......................................................................................... 142
G - Graphic Definition - Option: Fill ........................................................................................ 144
G - Graphic Definition - Option Shade .................................................................................... 145
G - Graphic Definition - Option: Outline.................................................................................. 146
H - Heat, Speed, Method of Printing, Ribbon.......................................................................... 147
I - Image Field Definition ........................................................................................................ 148
J - Job Start............................................................................................................................. 150
M - Memory Card Access........................................................................................................ 151
M - Memory Card Access........................................................................................................ 152
M - Memory Card Access........................................................................................................ 153
O - Set Print Options............................................................................................................... 158
P - Set Peel-Off Mode............................................................................................................. 160
R - Replace Field Contents..................................................................................................... 161
S - Set Label Size ................................................................................................................... 162
T - Text Field Definition........................................................................................................... 163
X - Synchronous Peripheral Signal Settings ........................................................................... 168
CHAPTER 5 - Special Content fields .......................................................................... 169
Special Content fields ............................................................................................................. 169
Time functions ........................................................................................................................ 170
[H12] Print Hour in 12-hour form (1-12) ............................................................................... 170
[H24] Print Hour in 24-hour form (0-23) ............................................................................... 171
[H012] Print H0ur in 12-hour form (01-12) -always 2 digits.................................................. 172
[H024] Print H0ur in 24-hour form (01-24) -always 2 digits.................................................. 173
[MIN] Print MINutes (00-59)................................................................................................. 174
[SEC] Print SEConds (00-59) .............................................................................................. 175
[TIME ] Print actual TIME .................................................................................................... 176
[XM] am/pm indicator........................................................................................................... 177
[DATE... ] Print actual DATE................................................................................................ 178
Date functions ......................................................................................................................... 178
[DAY... ] Print numeric DAY of the month (1-31)................................................................. 179
[DAY02... ] Print numeric 2-digit DAY of the month (01-31)................................................ 180
[DOFY... ] Print numeric Day OF Year(001-366)................................................................. 181
[ODATE... ] Print DATE with Offset .................................................................................... 182
[wday... ] Print complete weekday name ............................................................................ 183
[WDAY... ] Print numeric WeekDAY(1-7) ............................................................................ 184
[wday2... ] Print weekday name, 2 - digits shortened ......................................................... 185
[wday3... ] Print weekday name, 3 - digits shortened ......................................................... 186
[WEEK... ] Print numeric WEEK (1-53) .............................................................................. 187
[WEEK02... ] Print numeric WEEK with 2 -digits (01-53) .................................................... 188
[OWEEK... ] Print WEEK with Offset(1-53) ........................................................................ 189
[mon... ] Print 3-character month name .............................................................................. 190
[month... ] Print complete month name .............................................................................. 191
[MONTH... ] Print 2-digit MONTH (1-12) ............................................................................ 192
[MONTH02... ] Print 02-digit MONTH (01-12) .................................................................... 193

cab Produkttechnik GmbH & Co KG 7
7
[TABLE OF CONTENTS][COMMAND LIST][INDEX]
Hermes
Apollo
A-series
This
functionis
available
for:
[ESC][i][L][S]
PRODUCTMARKINGANDBARCODEIDENTIFICATION
M-series
[YY... ] Print 2-digit Year (00-99) ......................................................................................... 194
[YYYY... ] Print 4-digit Year (1970-2069)............................................................................ 195
Jalali Date functions................................................................................................................ 196
Jalali Date functions................................................................................................................ 196
Field Calculations and Comparisons....................................................................................... 197
[+:op1,op2. . ,] Addition........................................................................................................ 197
[-:op1,op2] Subtraction ........................................................................................................ 198
[*:op1,op2, . .] Multiplication ................................................................................................ 199
[/ :op1,op2] Division ............................................................................................................. 200
[%: op1,op2] Modulo ............................................................................................................ 201
[|:op1,op2] Logical Or .......................................................................................................... 203
[&:op1,op2] Logical And....................................................................................................... 204
[<: op1,op2] Comparision < Less than ................................................................................. 205
[=: op1,op2] Comparision = Equal ....................................................................................... 206
[>: op1,op2] Comparision > Greater than ............................................................................ 207
[MOD10:x] Calculates the Modulo 10 Checkdigit ................................................................ 208
[MOD43:x] Calculates the Modulo 43 Checkdigit ............................................................... 209
[P: ... ] Print result in Price format ...................................................................................... 210
[R:x] Rounding method .........................................................................................................211
[?: ... ] LCD prompt ............................................................................................................ 212
Special functions (Miscellaneous)........................................................................................... 212
[C: ... ] Leading zero replacement ....................................................................................... 215
[D:... ] Set number of Digits ................................................................................................ 216
[DBF:... ] Database file access ........................................................................................... 217
[I] Invisible fields .................................................................................................................. 218
[J: ... ] Justification.............................................................................................................. 219
[LOWER:... ] Converts to lower case characters ................................................................ 220
[name] Access a field with a name ...................................................................................... 221
[name,m{,n}] insert substring ............................................................................................... 222
[RTMP... ] Read value from serial (TMP) file....................................................................... 223
[S:... ] Script style for numeric values................................................................................. 224
[SER:...] - Serial numbering.................................................................................................... 225
[U:x] Insert Unicode characters ........................................................................................... 227
[UPPER:... ] Convert to upper case characters .................................................................. 228
[WLOG] Write LOG file ....................................................................................................... 229
[WTMP] Write value to serial (TMP)file............................................................................... 230
CHAPTER 6 - cab DataBase Connector................................................................................ 231
cab DataBase Connector commands...................................................................................... 231
cab Database Connector and A - series-SQLClient ................................................................ 232
Installation............................................................................................................................... 232
CHAPTER 7 - a-Series basic compiler........................................................................ 237
abc - a-Series basic compiler ............................................................................................... 237
Requirements:......................................................................................................................... 237
Restrictions: ............................................................................................................................ 237
Import differences to Yabasic PC versions: ............................................................................ 237
Temporary restrictions/known bugs:........................................................................................ 237
Window-Handling:................................................................................................................... 238
New functions compared to Yabasic: ...................................................................................... 238
Restrictions compared to Yabasic: .......................................................................................... 238
PEEK Variables:...................................................................................................................... 239
POKE Variables: ..................................................................................................................... 240

8cab Produkttechnik GmbH & Co KG
8
PRODUCT MARKING AND BARCODE IDENTIFICATION
Hermes
Apollo
A-series
This
functionis
available
for:
[TABLE OF CONTENTS][COMMAND LIST][INDEX][ESC][i][L][S]
M-series
Streams:.................................................................................................................................. 241
Modes: .................................................................................................................................... 241
Notes:...................................................................................................................................... 241
Communication with Web Browsers: ...................................................................................... 242
HTML ...................................................................................................................................... 242
abc - examples: ...................................................................................................................... 243
APPENDIX ...................................................................................................................... 248
ASCII Table ............................................................................................................................. 248
Index ....................................................................................................................................... 250

cab Produkttechnik GmbH & Co KG 9
9
[TABLE OF CONTENTS][COMMAND LIST][INDEX]
Hermes
Apollo
A-series
This
functionis
available
for:
[ESC][i][L][S]
PRODUCTMARKINGANDBARCODEIDENTIFICATION
M-series
Introduction
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 A-series printer,
• All measurements are in millimeters for the usage in international markets- Label positions have to
be recalculated if the printer is set to "country = USA".
• Some described functions are only available if your printer contains the actual firmware. We
recommend to download and install the most actual firmware release from our website at:
http://www.cabgmbh.com
• We tried our best to write an easy understandable programmer´s manual which should contain every
possible function of cab printers.
A lot of different methods have been used to make sure that every shown example works properly
and a few proof reads have been done to avoid any error in this manual.
Nevertheless - we would appreciate your comments , where more explanation is required and where
we have to do things better. Every comment is welcome and will influence our future work.
Thank you for your help !
Nomenclature, Syntax of the commands
• All commands are accepted when the line end identifier is transmitted, with the exception of ESC
commands, they are processed as soon as the required character is received.
• Carriage returns are not displayed in the headlines and not in the example files of this manual, to
keep a better overview. Carriage Returns (ASCII 13, HEX 0D) are only shown in the syntax
description in italic letters ( CR ).
You may use either CR (carriage return), LF (line feed) or CR/LF (carriage return/ line feed)
(See the ASCII table in the APPENDIX of this manual)
• It is not required to use special charcters to create a label format. Data can be keyed in with a
simple text editor.
• For a better overview it is allowed to add spaces or tabs within a command line. Numeric
parameters accept additional zeroes.
• Separators for the parameters are either semicolons or commas.

10 cab Produkttechnik GmbH & Co KG
10
PRODUCT MARKING AND BARCODE IDENTIFICATION
Hermes
Apollo
A-series
This
functionis
available
for:
[TABLE OF CONTENTS][COMMAND LIST][INDEX][ESC][i][L][S]
M-series
This manual is designed as online documentation. This page describes some details, how to
navigate very easy to the requested commands and explains the meaning of some used icons.
Usage of this manual
These navigation buttons route you to specified areas. A mouse click on:
[TABLE OF CONTENTS] - routes you to the table of contents
[COMMAND LIST] - goes to the command overview list
[INDEX] - first page of the INDEX
[ESC] - goes to the overview list of ESC commands
[i] - overview list of the immediate commands
[L] - overview list of the Label format commands
[S] - overview list of the special content fields
• Not all commands are available
forallprintertypes.Thiscan
easily recognized on the
sidebar of each page. A
printer logo shows that a
function is available, while a
red filled circle shows that a
functions not available for
that printer family.
• Please see the sample on the
right which explains if a
function or command is
available for A- series
printers,butnotavailablefor
Apollo printers.
• A red sign with exclamation mark
tells you that a command or
function is limited for that
printer type or there is
something special, which is
explained in the text. On the
right side of this page you
can see that a command is
not fully supported on
Hermes -series printers.
no

cab Produkttechnik GmbH & Co KG 11
11
[TABLE OF CONTENTS][COMMAND LIST][INDEX]
Hermes
Apollo
A-series
This
functionis
available
for:
[ESC][i][L][S]
PRODUCTMARKINGANDBARCODEIDENTIFICATION
M-series
Hyperlinks in the text are in blue colours and underlined.
This sign shows some important information. The information text is written in italic letters.
Restrictions:
Some functions and features are not available on each printing system. So it is for example the case,
that all described features which require a display on the printer will make no sense to use them on
M-series printers. This is not explicit mentioned in this manual.

12 cab Produkttechnik GmbH & Co KG
12
PRODUCT MARKING AND BARCODE IDENTIFICATION
Hermes
Apollo
A-series
This
functionis
available
for:
[TABLE OF CONTENTS][COMMAND LIST][INDEX][ESC][i][L][S]
M-series
Print Positions:
The Home position or "Zero point" of a label is shown on the picture below.The "Headline"appears
first, as it is usual on all laser printers etc. Most users prefer to get the printed label "foot first" out of
the printer. This can easily be done when the "O R" command is added to the shown examples.
We did not add this command in the samples to keep a better overview. You may add this whenever
it is required. "O R" rotates the orientation of the label by 180 degrees. So all shown examples which
do not contain the "O R" command have been rotated for a better view in this manual.
Initial Home position
Home position when the "O
R" command had been
used.
The Orientation is identical on all printers as it is shown on a A-series printer as an example.
Initial Home position
Home position when the "O
R" command had been
used.
feed
direction
(paper
path)

cab Produkttechnik GmbH & Co KG 13
13
[TABLE OF CONTENTS][COMMAND LIST][INDEX]
Hermes
Apollo
A-series
This
functionis
available
for:
[ESC][i][L][S]
PRODUCTMARKINGANDBARCODEIDENTIFICATION
M-series
Example:
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" or
"Wordpad" - saved as plain text files.
Instruction types
cab printers are using basically three types of instructions
• ESC instructions,
• Instructions with lowercase letters and
• Instructions with uppercase letters.
1. ESC instructions
are responsible for status queries, control functions, memory management etc. and are usually
executed immediately, i.e. even if a printing job runs. They are not absolutely required to print labels,
but they offer additional features and possibilities
ESC ? - Request for free memory.
ESC c - Cancel Job
ESC p0 - Ends printer pause state
ESC s - Printer status request
2. Immediate Commands
Instructions with lowercase letters are used for adjustments and settings which must not have
something to do with the actual printjob.
These are for example requests of fonts or graphics which have previously downloaded to the printer.
a- Activate the ASCII dump mode
c- Immediate cut
f- Formfeed
t- Performs a test print
CHAPTER 1 - Overview
Example:

14 cab Produkttechnik GmbH & Co KG
14
PRODUCT MARKING AND BARCODE IDENTIFICATION
Hermes
Apollo
A-series
This
functionis
available
for:
[TABLE OF CONTENTS][COMMAND LIST][INDEX][ESC][i][L][S]
M-series
3. Label Format Commands
Instructions with uppercase letters are used to describe the label itself.
This has a fix structure, beginning with the startcommand, the description of the labelsize and
description of each object in the label.
At the end of the label the printer expects the amount of labels.
J- Job start
S- Set label size
H- Heat, speed, and printing method
O- Set print options
T- Text field definition
B- Barcode field definition
G- Graphic field definition
I- Image field definition
A- Amount of labels
cab printers use additionally to that 3 command types following special commands for special text
formatting, calculations, comparisons etc.:
Special content fields
cab database connector commands
abc - a-series basic compiler commands
Special Content Fields
are used within Label Format commands.
They consist of instructions in squared brackets, [ ], which offers various data insertion and data
manipulation functions.
[DATE] Print date
[/ :oper1,oper2]Divide
[>: oper1,oper2]Greater than
A huge amount of more complex and powerful commands are explained later in this manual in the
"Special Content fields" section.
cab database connector command and "abc" - commands will not be exlained here. Please refer to
the special sections in this manual.
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.
Example:
Example:

cab Produkttechnik GmbH & Co KG 15
15
[TABLE OF CONTENTS][COMMAND LIST][INDEX]
Hermes
Apollo
A-series
This
functionis
available
for:
[ESC][i][L][S]
PRODUCTMARKINGANDBARCODEIDENTIFICATION
M-series
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.
Modify this sample with other items of this manual
Create your first label:
1. Connect your printer to the PC, select "Country United Kingdom" on the printer´s control panel.
The handling is explained in the operator´s manual (the language changes to "English" and the
measurements to "millimeters" - as the label is designed in millimeters)
2. Start your preferred plain texteditor ( we will use Notepad for this example)
3. Key in following data and don´t forget to ress the ENTER key on your keyboard after the "A 1" in
the last line is keyed in.
J
H 100
O R
S l1;0,0,68,70,100
T 10,10,0,5,pt20;sample
B 10,20,0,EAN-13,SC2;401234512345
G 8,4,0;R:30,9,0.3,0.3
A 1
Explanation of this Example
(Details are described in the respective sections of this manual)
JJob start
H 100 Heat (Speed) setting (100mm/sec)
O R Orientation Rotated by 180°
S l1;0,0,68,70,100 Size of the Label (68 x100mm, gap 2mm)
T 10,10,0,5,pt20;sample Text line- font:Swiss bold, 20 pt
B 10,20,0,EAN-13,SC2;401234512345 Barcode EAN 13, size SC 2
G 8,3.5,0;R:30,9,0.3,0.3 Graphic, Rectangle 30x9mm, 0.3mm
A 1 Amount of labels (in this sample 1)
4. Save that file now with the name "sample1.txt" in your root directory of Harddrive C:
5. Switch to the DOS - mode or to the command prompt (depending on your operating system
version)
6. At the command prompt key in: C:\> copy/b sample1.txt LPT1: ( LPT1: - if the printer is
connected with the parallel port of the PC.)
The result should be that the printer prints the label which is shown on the following side

16 cab Produkttechnik GmbH & Co KG
16
PRODUCT MARKING AND BARCODE IDENTIFICATION
Hermes
Apollo
A-series
This
functionis
available
for:
[TABLE OF CONTENTS][COMMAND LIST][INDEX][ESC][i][L][S]
M-series
... and if it did not work as expected ? - Following problems may occur:
1. The printer receives no data:
a: The wrong interface or wrong transmission speed is selected on your printer.
- Check the interface settings in the setup menu of the printer
b: Your interface is blocked by another application.
c: The cable might be defect- check the connecting cable
2. Printer receives data but shows "ribbon out"
a: No ribbon in the printer
b: Ribbon is not fixed on the ribbon unwinder
3. Printer receives data but shows "Protocol error" in its display
a: Transmitted data is wrong - this might be a missing comma or a accidentially set semicolon
instead of a comma or any other wrong data. Spaces after a command may cause a protocol
error too! Check your label data carefully.

cab Produkttechnik GmbH & Co KG 17
17
[TABLE OF CONTENTS][COMMAND LIST][INDEX]
Hermes
Apollo
A-series
This
functionis
available
for:
[ESC][i][L][S]
PRODUCTMARKINGANDBARCODEIDENTIFICATION
M-series
Command Overview
The following pages are showing lists of all available printer commands
Details are explained later in this manual.

18 cab Produkttechnik GmbH & Co KG
18
PRODUCT MARKING AND BARCODE IDENTIFICATION
Hermes
Apollo
A-series
This
functionis
available
for:
[TABLE OF CONTENTS][COMMAND LIST][INDEX][ESC][i][L][S]
M-series
ESC Commands
ESCESC Replaces ESC in binary data
ESC!ESC! Hard reset
ESC* Activate all RS 485 printers
ESC. Start and Stop value for binary data
ESC: Start description of binary data
ESC? Request for free memory.
ESCA - ESCZ Activates individual RS-485 printer
* ESCa Request for abc-status
ESCc cancel printjob
ESCend-of-data End description of binary data
* ESCf formfeed (Equal to pressing "form feed" on the navigator pad)
ESCp0 End printer ´s pause mode
ESCp1 Set printer into pause mode
ESCs Printer status query
ESCt total cancel of all jobs
*) available for the A - series only

cab Produkttechnik GmbH & Co KG 19
19
[TABLE OF CONTENTS][COMMAND LIST][INDEX]
Hermes
Apollo
A-series
This
functionis
available
for:
[ESC][i][L][S]
PRODUCTMARKINGANDBARCODEIDENTIFICATION
M-series
Immediate Commands
all Immediate commands are processed when a line end identifier is sent (CR, LF or CR/LF)
<abc> start of "abc" (a-Series basic compiler)
</abc> end of "abc" (a-Series basic compiler)
; comment Comment line
aset printer in aSCII dump mode
cDirect cut
dt;name.... download data
e t;name.... erase data
fform feed
gn;.... generate font cache
l name Set language (country)
munit Set measuring unit
p status pause printer
q b;name query bitmap font
q d;name query dBase file on memory card
q e;name query format file on memory card
q f query free memory
q i;name query image availability
q l;name query label file on memory card
q m query memory type
q p query peripheral types
q r query ribbon diameter
q s;name query scaleable font availability
q t query time and date
rreset to default values
s nset date/time
tRun printer self-test
t[x]Run printer self-test
vRequest firmware version
x d;uo Set peripheral (x) bits directly
x e;uo Set peripheral (x) error value
x m;m Set peripheral (x) mask bits
x s;uo Set peripheral (x) standby value
z t Slashed zero selection

20 cab Produkttechnik GmbH & Co KG
20
PRODUCT MARKING AND BARCODE IDENTIFICATION
Hermes
Apollo
A-series
This
functionis
available
for:
[TABLE OF CONTENTS][COMMAND LIST][INDEX][ESC][i][L][S]
M-series
Label Format Commands
Label format commands are processed when a line end identifier is sent (CR, LF or CR/LF)
A[NO] n Amount of labels (end job/print)
B[:name;] x, y, r, type,size,text Barcode field definition
Ccnt[,disp1[,disp2]] Set Cutter parameters
CeSet Cutter to end-of-job
Dx,y Global Object Offset (Distance to margins)
EDBF;name Defines a DBF (database) file
ELOG;name Defines a LOG file
ETMP;name Defines TMP (temporary) serial file
ESQL;[IP of cabDatabaseconnector]:portnumber Sets IP adress for SQL database access
Fnumber;name Font number
G[:name;] x, y, r; type:options, . . . Graphic field definition
H speed[,h][,t][,r][,b] Heat, speed, and printing method
I[:name;]x,y,r[,mx,my];imgname Image field definition
J[comment] Job start
M c Memory card: content request
M d type;name Memory card: delete file from card
M f;name Memory card: format card
M l type;[path]name Memory card: load file from card
M r Memory card: repeat last label
M s type;name Memory card: store data on card
Mutype;[path]name uploads data to the host
O[M,][R,][N,][p][T,][U,] Set print Options
P[disp] Set Peel-off mode
Rname;value Replace field contents
S[type:]yo,xo,length,dy,wide. . . Set label Size
T[:name;] x,y,r, font,size . . ;data Text field definition
Xy[;uo] Synchronous setting of peripheral (eXternal)signal
Other manuals for A Series
2
This manual suits for next models
3
Table of contents
Other CAB Printer manuals