Page 1
Product Marking A+ series Mach 4 PX Print Module Programming Manual J-Script and abc for cab printers Edition 7.0 cab Produkttechnik GmbH & Co KG...
Page 2
JScript - the programming language for cab printers. The usage of all described functions in this manual requires firmware version 3.17 or higher. This is a generic manual which describes the commands for different printer models,which means that it may contain descriptions or explanations of features which are not available on every printer model.
Page 5
Code 39 FULL ASCII ....................120 B - Barcode Code 93 ........................122 B - Barcode Code 128 ........................124 B - Barcode Data Matrix ......................... 126 B - Barcode DBP - German Post Identcode ................... 128 cab Produkttechnik GmbH & Co KG...
Page 6
G - Graphic Definition - Rectangle ..................... 232 G - Graphic Definition - Option: Fill ....................234 G - Graphic Definition - Option Shade ....................235 G - Graphic Definition - Option: Outline ..................... 236 cab Produkttechnik GmbH & Co KG...
Page 7
[YY... ] Print 2-digit Year (00-99) ..................... 307 [YYYY... ] Print 4-digit Year (1970-2069) ..................308 Jalali Date functions .......................... 309 Suriyakati Date ..........................309 [JYEAR... ] Print 4-digit Jalali Year ....................310 [JDAY...] Print Jalali-DAY ........................311 cab Produkttechnik GmbH & Co KG...
Page 8
Trim data Right ......................367 [RUSER... ] Read value from (user) memory .................. 368 [S:... ] Script style for numeric values ..................... 369 [SER:...] - Serial numbering ....................... 370 [SQL:xx ] SQL database access ..................... 375 cab Produkttechnik GmbH & Co KG...
Page 9
[TAGID] read TAG ID ........................389 [WTAG ... ] Write RFID TAG ......................390 Chapter 6: cab DataBase Connector ............391 How it works: ............................. 392 Supported Databases: ........................392 cab Database Connector and SQLClient ................... 392 Installation ............................393 Chapter 7: abc - a-Series basic compiler ..........
Page 10
Replacing graphics dynamically ......................433 Appendix C - Character lists ..............434 Character list Swiss 721 ........................435 Character list Swiss 721 bold ......................448 Character list Monospace ........................462 Index ..............................473 Index ......................473 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 can not guarantee that all functions are available on OEM products. • All sample labels are created with a 300 dpi printer, •...
Mathematical functions d: Special Functions e:RFID Functions 5. Description of the cab DataBase connector 6. Description of the abc - Basic compiler 7. Appendix A shows a few charts and tables 8.Appendix B contains some tips and tricks shown on special samples 9.
Initial Home position „O R“ command had been used. Home position when the „O R“ command had been used. Home position when the „O R“ command had been used. feed direction (paper path) Initial Home position 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“...
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 explained here. Please refer to the special sections in this manual.
Barcode EAN 13, size SC 2 G 8,3.5,0;R:30,9,0.3,0.3 Graphic, Rectangle 30x9mm, 0.3mm Amount of labels (in this sample 1) 4. Save that file now with the name „sample1.txt“ in your root directory of Harddrive C: cab Produkttechnik GmbH & Co KG...
Page 17
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...
Chapter 2: Command Overview Command Overview The following pages are showing lists of all available JScript printer commands Details are explained later in this manual. cab Produkttechnik GmbH & Co KG...
Request of synchronisation Info ESCp0 End printer ´s pause mode ESCp1 Set printer into pause mode ESCs Printer status query ESCt total cancel of all jobs ESCz Extended status request *) available for Hermes A only ! cab Produkttechnik GmbH & Co KG...
Page 21
All Immediate Commands are processed when a line end identifier is sent (CR, LF or CR/LF) t[x] Run printer self-test Request firmware version x d;uo Set peripheral (x) bits directly x e;uo Set peripheral (x) error value cab Produkttechnik GmbH & Co KG...
Memory card: store data on card M u type;[path]name uploads data to the host O [M,][R,][N,][p][T,][U,] Set print Options P [disp] Set Peel-off mode R name;value Replace field contents S [type:]yo,xo,length,dy,wide. . . Set label Size cab Produkttechnik GmbH & Co KG...
Label format commands are processed when a line end identifier is sent (CR, LF or CR/LF) T [:name;] x,y,r, font,size . . ;data Text field definition X y[;uo] Synchronous setting of peripheral (eXternal) signal cab Produkttechnik GmbH & Co KG...
Calculates and prints the Modulo Check digit [MOD36:x] Calculates and prints the Modulo Check digit [MOD43:x] Calculates and prints the Modulo Check digit [P:name,mn{o}] Print result in Price format [R:x] Rounding method [==:text1,text2] String comparision (1=TRUE, 0=FALSE) cab Produkttechnik GmbH & Co KG...
[SPLIT:field,index] Splits table values [U:x] Insert Unicode character [UPPER:x] Converts the input data in upper case characters [WINF] Writes value into the „INF“ buffer [WLOG] Write to file [WTMP] Write to (temporary) serial file cab Produkttechnik GmbH & Co KG...
Special Content Fields RFID Functions [LTAG...] Lock RFID area [RTAG...] Read RFID [RTAGBIN...] Read RFID binary [TAGID] Read TAG ID [WTAG...] Write RFID cab Produkttechnik GmbH & Co KG...
Special Content Fields Database Connector commands [SQL:Select field from table where Searchvalue] SQL - Query function [SQLLOG:xx] SQL - Logging function cab Produkttechnik GmbH & Co KG...
Page 31
Special Barcode functions (not supported by all barcodes) [ECE: 123456] Adds information for extended channel to barcodes [APPEND:m,n,id1,id2] [APPEND:x,id] Adds information for linked barcodes [ANSI_DI] Adds information for ANSI - data identifier [ANSI_AI] Adds information for ANSI - application identifier cab Produkttechnik GmbH & Co KG...
Page 32
We highly recommend to add the mesurement command at the beginning of all of your labels, to avoid trouble with a different setup the printer, unless we did not show this command in our examples in this manual to keep the examples as small as possible. cab Produkttechnik GmbH & Co KG...
ESC commands are used for activating printers via RS-485, while the printers are „listening“ to the bus, for resetting printers, requesting for free memory or for getting a direct status request. Details about each command are described on the following pages. cab Produkttechnik GmbH & Co KG...
ESC characters into 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. File transfer through a FTP connection requires no data conversion if the file is downloaded to the memory card. Syntax: ESCESC cab Produkttechnik GmbH & Co KG...
The printer is not able to receive data when the Hard Reset is accomplished. Please wait until the printer is restarted again and shows "Ready" in the display to receive data. Otherwise incoming data is discarded. cab Produkttechnik GmbH & Co KG...
Sends the following data to all attached printers at the same time. This function is only available for printers which are (optional) equipped with the RS485 interface. Please note that this optional interface hardware is not available for all label printing systems. cab Produkttechnik GmbH & Co KG...
A binary constellation -for example- which contains ESC c would be interpreted as „CANCEL JOB“, as soon as it is received by the printer. Therefore all ESC characters should be exchanged. Data transmission through ftp requires no conversion. cab Produkttechnik GmbH & Co KG...
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.
This function is only available on printing systems which are equipped with additional mechanics to control the material. ( Hermes - applicator series). Otherwise labels would slip out of the feed roller. cab Produkttechnik GmbH & Co KG...
= running, = error, = syntax error during compilation NNNNN = actual line numbers (empty lines will not be counted!) A descripton about abc and the available abc commands is shown later in this manual. cab Produkttechnik GmbH & Co KG...
Additional labels will processed if they are in the buffer. Please see also „ESC t“ command. Wait for minimum one second before transmitting additional data, otherwise the printer will not recognize the following commands. cab Produkttechnik GmbH & Co KG...
Finishes the download of binary data. ESC: must be used first, followed by the binary data and closed by ESCend-of-data. Used for font and graphics download. Note: ESCend-of-data cannot be used in a RS-485 network! cab Produkttechnik GmbH & Co KG...
Syntax: ESCf Sending a „ESC f“ is a simple method to see immediately if an attached printer receives data and if the connection is setup properly. cab Produkttechnik GmbH & Co KG...
ESCg Print Start command This command is equal to the signal on the external interface. ESCg is not available for applicators of the Hermes series. Syntax: ESCg cab Produkttechnik GmbH & Co KG...
The value uses the actual selected codepage and is finished with a carriage Return. For more details please view the [WINF] command, which writes to the INF memory - described in the section of „Special commands“ Syntax: ESCi cab Produkttechnik GmbH & Co KG...
" j " commmand has not been used and could look like this: FTP-20091031-14:38:15 Example: S l1;0,0,68,70,100 T 25,25,0,3,13;Beer j another way to control the printer ESCj would respond: another way to control the printer cab Produkttechnik GmbH & Co KG...
Delivers also the information about the measured label distance. Syntax: ESCl Answer: XNNNN = Paper synchronized ( Y/N ) NNNN = Label distance in millimeters If the distance is unknown, the response will be „0000“ cab Produkttechnik GmbH & Co KG...
PAUSE on the printer´s front panel extinguishes and the printjob in the buffer proceeds. Syntax: ESCp0 Note: This command cancels also existing errors when they are shown in the display of your printer. - Same function like pressing the PSE button on the navigatior pad. cab Produkttechnik GmbH & Co KG...
ESCp1 Set printer into pause mode causes the printer immediately to set the pause mode. This command has the same function such as pressing the „PAUSE“ button on the printer Syntax: ESCp1 cab Produkttechnik GmbH & Co KG...
SMTP server, no DHCP server or IP adress conflict) o -------------------------------------------------------------- Compressed air-error r ---------------------------------------------------------------------------- RFID -error s ------------------------------------ System fault (immediately after power on) u ----------------------------------------------------------------------------- USB error ... continued on the next page... cab Produkttechnik GmbH & Co KG...
Page 52
R- ----------------------------------- Ribbon dectected in Thermal direct mode S ------------------------------------------------------------Ribonsaver malfunction V ---------------------------------------------------------------- Input buffer overflow W ------------------------------------------------------------ Print head overheated X -------------------------------------------------------------------- External I/O error Y ---------------------------------------------------------------------- Print head error Z ----------------------------------------------------------------- Printhead damaged cab Produkttechnik GmbH & Co KG...
Page 53
(4) Scanresult negative requires an optional barcode scanner. The availability of the optional barcode scanner depends on the printing system. (5) Status requests should not be sent in very short cycles ! Minimum time between a status request should be not less than 0.5 seconds. cab Produkttechnik GmbH & Co KG...
Resets also errors in the display. Same effect like pressing „Cancel“ button on the control panel multi- ple times. Syntax: ESCt Please see also ESCc which cancels only the actual printjob. Wait for minimum three seconds before transmitting additional data, otherwise the printer will not recognize the following commands. cab Produkttechnik GmbH & Co KG...
= Y = External print signal acive (hardware dependend) All characters are normally N. In addition to ESCs this string is finalized with a carriage return, which allows additional status information in the future. cab Produkttechnik GmbH & Co KG...
Instructions with ( almost ) lowercase letters are used for adjustments and settings which must not have something to do with the actual printjob. They are active as long as the printer is powered up or when these values get overwritten. cab Produkttechnik GmbH & Co KG...
Possible usage is to convert text strings - sent by a scale into JScript, or to convert incoming data which was prepared for competitive printers into an understandable format for cab printers. See also the command: </ABC> End of the abc Basic Compiler.
</ABC> - End of the Basic Compiler Sets the end mark for the abc compiler (internal BASIC language) Syntax: </ABC> CR See also: <ABC> - Start of the abc Basic Compiler. cab Produkttechnik GmbH & Co KG...
<ENCRYPTED LABEL...> - Start of an ENCRYPTED label This command marks the start of an encrypted label file, followed by the board number. Important: This command requires additional action from cab. It cannot be used without the help through cab. Syntax: <ENCRYPTED LABEL; nnnnnnnnnnnn> CR nnnnnnnnnnnn = unique main board number Each "X2"...
This command starts a previously encrypted print job. Syntax: <ENCRYPTED JOB> CR Encrypted printjobs need some special support from cab. The description of this command has been added for your understanding, just in case if you are confronted with this command in the ASCII dump mode.
This command finishes an encrypted print job. Syntax: </ENCRYPTED JOB> CR Encrypted printjobs need some special support from cab. The description of this command has been added for your understanding, just in case if you are confronted with this command in the ASCII dump mode.
; create a text line T 10,40,0,3,16;Hello ; 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. cab Produkttechnik GmbH & Co KG...
The following data creates a label with one line of text. Please view the picture below which shows the same label in ASCII Dump mode. 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! cab Produkttechnik GmbH & Co KG...
Page 64
Pressing the printer´s "cancel button" cancels the print job. Example: S l1;0,0,68,70,100 T 25,25,0,20,13;ASCII Dump Mode If „protocol errors“ are shown on the label means, that there is a mistake in the program code! cab Produkttechnik GmbH & Co KG...
If required, the printer will do a formfeed before the cut is processed. This command is not available for Hermes and for the PX module. Syntax: c CR The printer shows „Protocol error c<--“ on the display if no cutter is attached. cab Produkttechnik GmbH & Co KG...
Page 66
Graphic in ASCII format Vector font format: TTF - TrueType font format Database format: DBF - dBASE IV Database formats (Field type must be text) others: TMP - Serial numbering (temporary) file in ASCII format cab Produkttechnik GmbH & Co KG...
Page 67
(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. Syntax: d BMP;CABLOGO CR ESC.
Page 68
(cab Databaseconnector is not available for the M-series printers) cab sells a helpful 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.
Page 69
80 03 123456. The amout of transmitted bytes can be between 01 and 7F. d: A repeated pattern of arbitrary bytes can be initiated with a sequence 00 nn xx, which means that xx bytes will be inserted nn times. Example: 00 04 AA generates AAAAAAAA. cab Produkttechnik GmbH & Co KG...
Page 70
The following example shows how a graphic file may look as ASCII data. We download this file with the name "cab.asc" in the graphics folder of the optional memory card of the printer (or in the internal Flash File System - IFFS) to recall it with the label data shown on the next page.
Page 71
The sample below recalls the graphic file from memory card and prints the image on the defined position. In this case we used the data shown on the previous page of this manual. Example: M l IMG;cab S l1;0,0,68,73,100 I:TEST;3,30,0,2,2;cab cab Produkttechnik GmbH & Co KG...
Erases the picture with the name "logo" in the printer´s memory The printer keeps the received graphic fles in its internal memory until it will be switched off or until these files will be erased or overwritten. cab Produkttechnik GmbH & Co KG...
The label photocell is disabled for gap detection and controls only if paper is out. In continuous form mode the printer counts the steps of the stepper motor to reach the expected print length. Syntax: f CR Example: f CR f CR feeds 2 empty labels. cab Produkttechnik GmbH & Co KG...
( "ESC j" is used to show the result. The infomation is sent to the interface ) S l1;0,0,68,70,100 T 25,25,0,3,13;Beer j another way to control the printer ESCj would respond: another way to control the printer cab Produkttechnik GmbH & Co KG...
*selects measurements in inches ! MX - Mexico NL - Netherlands NO - Norway PL - Poland PT - Portugal The "r" command resets the language to the default value in the printer´s setup cab Produkttechnik GmbH & Co KG...
Page 76
The following example prints the date, while the " l "command changes the language into "german", which causes that the date prints in german style: Day.Month.Year ( separated with dots ) Example: l GR S l1;0,0,68,71,100 T 25,25,0,5,8;[DATE] cab Produkttechnik GmbH & Co KG...
Syntax: m t CR m - Set measuring unit command. = The measuring system desired, „m“ for metric (millimeters) or „i“ for historical (inches, tenths and hundredths of an inch). cab Produkttechnik GmbH & Co KG...
Page 78
The next example shows the same label programmed with different measurement settings. The result is the same. The first example is programmed in inches, the second example is programmed with metric measurement settings. Example: T 0.79,1.18,0,3,0.2;Measuring Unit Example: T 20,30,0,3,5;Measuring Unit cab Produkttechnik GmbH & Co KG...
- pause printer Pause off Pause on Example: Sets the printer into pause mode. If a print job runs, it will stop after the label is printed. Pause lights on the front panel. cab Produkttechnik GmbH & Co KG...
CR Query for the memory card type Answer: Format "type, xxx kByte.CR", - The response will be "No card CR“ if no memory card is attached to the printer continued on the next page cab Produkttechnik GmbH & Co KG...
Page 81
Answer: yymmddhhmmss CR = Year - 2 digits mm = Month. - 2 digits = day - 2 digits = hour - 2 digits mm = minutes - 2 digits = seconds - 2 digits cab Produkttechnik GmbH & Co KG...
- resets the language - resets slashed zero setting - resets the selected measurement system - erases the fontcache -sets the date setting back to the selected country in the setup Syntax: r CR cab Produkttechnik GmbH & Co KG...
- 2 digits hour - 2 digits minutes - 2 digits [ss] seconds - 2 digits (setting of ss is optional) Example: s 081105091500 Sets printer date and time to: November 24, 2008 9:15 a.m. cab Produkttechnik GmbH & Co KG...
- Run Printer Self-test cab printers have multiple built in self -tests. A self test can be processed through the printer´s control panel (see operator´s manual) or by software. The printout of the status information may look different on different printer types. Information about optional equipment, such as interfaces, cutter etc.
Page 85
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. Transmitting „t“ without any additional number causes the printer also to do a status printout. cab Produkttechnik GmbH & Co KG...
Page 86
( fontlist ) A detailed description about the internal fonts is shown later in the manual where the usage of textfields is describedand in Appendix C. Example: prints the list with all attached devices. cab Produkttechnik GmbH & Co KG...
Page 87
( Label profile ) Example: prints a text grid which can be used for the printhead adjustment or to control the print quality of the printer. ( Testgrid ) cab Produkttechnik GmbH & Co KG...
Page 88
(A wireless network card needs to be installed to run this test) Example: prints the RFID measurement info. (Mach 4 only) (RFID measurement ) (The printer must be equipped with the optional RFID unit) cab Produkttechnik GmbH & Co KG...
The v command requests the firmware version, release date and printer model. The printer responds through the interface. Syntax: v CR Example: v CR An A4+/300 printer will respond on this request with following string: 3.17 Sep 26 2008 (A4+/300) Firmware Release Printer version date model cab Produkttechnik GmbH & Co KG...
The auxiliary interface does not deliver the following signals directly. 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:...
- Select slashed zero 0 - (zero - prints slashed zeros (Ø) ) 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. 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. cab Produkttechnik GmbH & Co KG...
A -without any value prints until the print job is cancelled Example: S l1;0,0,68,71,100 T 25,10,0,5,8;LABEL PRINTER A 550 prints 550 labels with the text line: „LABEL PRINTER“ Example: S l1;0,0,68,71,100 T 25,10,0,5,8;LABEL PRINTER prints "infinite" amount of labels cab Produkttechnik GmbH & Co KG...
Page 94
100. 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 ! cab Produkttechnik GmbH & Co KG...
= Barcode type [+options] = Optional parameters size = Barcode height and width, ratio text = Barcode data This is the global structure of a barcode field, a detailed description follows on the next pages cab Produkttechnik GmbH & Co KG...
Page 96
More details are shown in the examples on the following pages. cab printers are able to extract necessary portions of a barcode ame, which means that e.g. EAN-13, EAN 13 and EAN13 will print identical results.
Page 97
= Barcode type DataMatrix can be printed as a rectangle or as a square. The default value is square. The +RECT option forces the printer to print this barcode as a rectangle. continued on the next page cab Produkttechnik GmbH & Co KG...
Page 98
= Used to verify the barcode data. +VERIFYn needs a barcode testing equipment which is available as an option. If required please ask cab Produkttechnik for that additional barcode reader and describe the application. cab offers a solution for 1 D and 2D codes whereby the scanner is attached through a specific interface directly in front of the printer.
Page 99
+CCn = defines the height of a composite line in module width. Default value is 2 and the maximum value is 99. continued on the next page cab Produkttechnik GmbH & Co KG...
Page 100
Depending on the selected barcode type. 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. cab Produkttechnik GmbH & Co KG...
Page 101
- Barcode Definition cab printers will print a rastered area if a barcode would not fit on the label. The printers intelligence checks this for you to avoid later reading problems. This includes also the required white space for the barcode readability.
German Parcel —- yes JAN 8 —- no JAN 13 —- no HIBC MaxiCode Micro PDF —- no PDF-417 Plessey Postnet QR -Code —- no *1D = One dimensional barcode, 2D = Two dimensional barcode cab Produkttechnik GmbH & Co KG...
Page 103
! The usage of a barcode reader / verifier is also recommended, when barcodes are used, to verify the contents and the readability of the printout. cab Produkttechnik GmbH & Co KG...
Each barcode has own specs which are defined by the responsible organization who developed the specific barcode type. We recommend to read and follow the barcode specifications of the responsible organisations. It is also recommended to test the printed barcodes for scanability ! cab Produkttechnik GmbH & Co KG...
Only the rotation parameter has been changed. Barcodes can be rotated in an angle of 90 degrees. So rotation 0,90,180 and 270 degrees has been used for the label below. Home position cab Produkttechnik GmbH & Co KG...
+GOODBADn = Same function as +VERIFYn without checking the content. height = Barcode height = Narrow element ratio = Ratio between narrow and wide bars. text = Barcode data Detailed descriptions at the beginning of the barcode chapter. cab Produkttechnik GmbH & Co KG...
S l1;0,0,68,71,100 B 5,5,0,2 OF 5 INTERLEAVED,10,0.3,3;1234567890 B 5,20,0,2of5interleaved+BARS,10,0.3,3;1234567890 B:Bar3;5,35,0,2OF5 INTERLEAVED+MOD10,10,0.3,3;1234567890 Print three barcodes with some modifications ( with an without human readable characters, upper and lower bar and with a modulo 10 checksum. cab Produkttechnik GmbH & Co KG...
+GOODBADn = Same function as +VERIFYn without checking the content. size = Standard Codesize SCx (instead of height and ne) height = Barcode height = Narrow element text = Barcode data Detailed descriptions are at the beginning of the barcode chapter. cab Produkttechnik GmbH & Co KG...
Page 109
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 cab Produkttechnik GmbH & Co KG...
+GOODBADn = Same function as +VERIFYn without checking the content. size = Standard Codesize SCx (instead of height and ne) height = Barcode height = Narrow element text = Barcode data Detailed descriptions are at the beginning of the barcode chapter. cab Produkttechnik GmbH & Co KG...
Page 111
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 cab Produkttechnik GmbH & Co KG...
+GOODBADn = Same function as +VERIFYn without checking the content. +ELx = Error Level ( 5 - 95 ) dotsize = dot size in millimeters or inches text = Barcode data Detailed descriptions are at the beginning of the barcode chapter. cab Produkttechnik GmbH & Co KG...
Page 113
B - Barcode Aztec - Code Example: S l1;0,0,68,71,100 B 5, 5,0,Aztec+EL55,1;CAB Produkttechnik GmbH & Co KG B 45,5,0,Aztec+EL90,0.6;CAB Produkttechnik GmbH & Co KG The same barcode contents with variations on error level and dot size. cab Produkttechnik GmbH & Co KG...
Page 114
+GOODBADn = Same function as +VERIFYn without checking the content. height = Barcode height = Narrow element ratio = Ratio between narrow and wide bars. text = Barcode data Detailed descriptions are at the beginning of the barcode chapter. cab Produkttechnik GmbH & Co KG...
B - Barcode Codabar Example: S l1;0,0,68,71,100 B 5, 5,0,CODABAR,12,0.3,3;A12345678A B 5,20,0,CODABAR,12,0.3,3;A23456789C B 5,35,0,CODABAR+MOD16,12,0.3,3;A13572468C cab Produkttechnik GmbH & Co KG...
Page 116
+GOODBADn = Same function as +VERIFYn without checking the content. height = Barcode height = Narrow element ratio = Ratio between narrow and wide bars. text = Barcode data Detailed descriptions are at the beginning of the barcode chapter. cab Produkttechnik GmbH & Co KG...
= (Extended Human Readable Interpretation height = Barcode height = Narrow element ratio = Ratio between narrow and wide bars. text = Barcode data Detailed descriptions are at the beginning of the barcode chapter. cab Produkttechnik GmbH & Co KG...
Page 119
This picture shows the functionality of the WSarea Example: S l1;0,0,68,71,100 B 5, 5,0,CODE39,10,0.3,3;CAB A3 B 5,20,0,code39,10,0.3,3;CAB A3 B 5,35,0,CODE39+XHRI,10,0.3,3;CAB A3 B 5,50,0,CODE39,10,0.3,3;cab A3 This example shows how the barcode varies with different options cab Produkttechnik GmbH & Co KG...
= (Extended Human Readable Interpretation height = Barcode height = Narrow element ratio = Ratio between narrow and wide bars. text = Barcode data Detailed descriptions are at the beginning of the barcode chapter. cab Produkttechnik GmbH & Co KG...
Page 121
B - Barcode Code 39 FULL ASCII Example: S l1;0,0,68,71,100 B 10,30,0,CODE39FULL,20,0.5;Full cab Produkttechnik GmbH & Co KG...
Page 122
+GOODBADn = Same function as +VERIFYn without checking the content. +XHRI = (Extended Human Readable Interpretation height = Barcode height = Narrow element text = Barcode data Detailed descriptions are at the beginning of the barcode chapter. cab Produkttechnik GmbH & Co KG...
Page 123
B - Barcode Code 93 Example: S l1;0,0,68,71,100 B 25, 5,0,CODE93+XHRI,16,0.28,3;ABC123 B 25,24,0,code93,16,0.28,3;ABC123 B 25,44,0,CODE93+BARS,16,0.28,3;ABC123 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 125
The printer can be forced to use subcode C with the option: [U:CODEC] in the barcode text string. FNC1 can be added in the barcode data as " [FNC1] " Example: S l1;0,0,68,71,100 B 5, 5,0,CODE128,12,0.3;ABC123 B 5,20,0,CODE 128,12,0.3;ABCxyz123 B 5,35,0,CODE128+MOD10,12,0.3;[U:CODEC]123456 cab Produkttechnik GmbH & Co KG...
= Verify the barcode data. (optional barcode reader required ) +GOODBADn = Same function as +VERIFYn without checking the content. dotsize = dot size in millimeters or inches text = Barcode data Detailed descriptions are at the beginning of the barcode chapter. cab Produkttechnik GmbH & Co KG...
Page 127
Reed Solomon error correction algorithms. These algorithms allow the recognition of barcodes that are up to 60% damaged. Example: S l1;0,0,68,71,100 B 25, 5,0,DATAMATRIX,1;30Q324343430794<OQQ B 60, 5,0,DATAMATRIX+RECT,1;cab Produkttechnik B 25,35,0,DATAMATRIX,1;[U:PROG] B 60,35,0,DATAMATRIX,1;[U:ANSI_AI]cabProdukttechnik 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 129
B - Barcode DBP - German Post Identcode Example: S l1;0,0,68,71,105 5,10,0,DBP,10,0.3;2134807501640 B 60,10,0,DBP,10,0.3;56.310.243.031 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 131
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,0.35;4023456 B 10,44,0,JAN8,16,0.35;4900056 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 133
S l1;0,0,68,71,100 B 10,5,0,EAN13,SC1;402345607891 B 10,30,0,EAN13,16,0.35;270072610950 B 10,48,0,JAN13,16,0.35;490005607891 This example prints an EAN code with standard code size 1 (SC1), an EAN code where the size is defined and a JAN code with defined size. cab Produkttechnik GmbH & Co KG...
= Barcode height to read the = Narrow element original text = Barcode data specifications of this Detailed descriptions are at the beginning of the barcode chapter. barcode, before it is used ! cab Produkttechnik GmbH & Co KG...
Page 135
The application identifiers are described in the barcode specifications. Allowed data contents which follows after the application identifiers depend on the application identifier its self. Example: S l1;0,0,68,71,100 B 5, 5,0,EAN128,12,0.3;(00)345678901234567890 B 5,20,0,UCC128,12,0.3;(00)345678901234567890 B 5,35,0,GS1-128,12,0.3;(00)345678901234567890 cab Produkttechnik GmbH & Co KG...
Detailed descriptions are at the beginning of the barcode chapter. barcode, before it is used ! Do not use this barcode unless you have read the specification - available at the EAN organisation in your country !! cab Produkttechnik GmbH & Co KG...
Page 137
- The first digit of the data field is the extension digit. Currently a „3“ is standard. - The next 7 digits is the company prefix. - The following 9 digits are the serial reference number. - The last digit is the check digit. Example: S l1;0,0,68,71,100 B 5,20,0,EAN128,20,0.3;(00)100653005555555558 cab Produkttechnik GmbH & Co KG...
Page 138
+GOODBADn = Same function as +VERIFYn without checking the content. dotsize = dot size in millimeters or inches text = Barcode data [FNC1] can be added to the barcode data Detailed descriptions are at the beginning of the barcode chapter. cab Produkttechnik GmbH & Co KG...
Page 139
B - Barcode EAN Data Matrix Example: S l1;0,0,68,71,100 B 5,20,0,EANDATAMATRIX,1;(01)34012345123457(10)12345(17)101231 cab Produkttechnik GmbH & Co KG...
Page 140
= Verify the barcode data. (optional barcode reader required ) +GOODBADn = Same function as +VERIFYn without checking the content. height = Barcode height text = Barcode data Detailed descriptions are at the beginning of the barcode chapter. cab Produkttechnik GmbH & Co KG...
+GOODBADn = Same function as +VERIFYn without checking the content. height = Barcode height = Narrow element ratio = Ratio between narrow and wide bars. text = Barcode data Detailed descriptions are at the beginning of the barcode chapter. cab Produkttechnik GmbH & Co KG...
Page 143
B - Barcode HIBC (Health Industry Barcode) Example: S l1;0,0,68,71,100 B 5, 5,0,HIBC,12,0.3,3;+123AB78 B 5,18,0,hibc,12,0.3,3;+123AB78 B 5,33,0,HIBC,12,0.3,3;+123AB78 cab Produkttechnik GmbH & Co KG...
Page 144
5 barcode. ratio = Ratio between narrow and wide bars. We highly text = Barcode data recommend to read the original Detailed descriptions are at the beginning of the barcode chapter. specification of this barcode. cab Produkttechnik GmbH & Co KG...
= Verify the barcode data. (optional barcode reader required ) +GOODBADn = Same function as +VERIFYn without checking the content. +MODE = 2,3,4,6 (see also next page) text = Barcode data Detailed descriptions are at the beginning of the barcode chapter. cab Produkttechnik GmbH & Co KG...
Page 147
Please note that there is only a carriage return at the end of the barcode contents and not in the barcode expression. The barcode must be in one single line Based on the length of the encoded information it was not possible to display this in another way. cab Produkttechnik GmbH & Co KG...
Page 148
Please note that there is only a carriage return at the end of the barcode contents and not in the barcode expression. The barcode must be in one single line Based on the length of the encoded information it was not possible to display this in another way. cab Produkttechnik GmbH & Co KG...
Page 149
Please note that there is only a carriage return at the end of the barcode contents and not in the barcode expression. The barcode must be in one single line Based on the length of the encoded information it was not possible to display this in another way. cab Produkttechnik GmbH & Co KG...
+COLSx = number of columns height = Barcode height = Narrow element ratio = Ratio between narrow and wide bars. text = Barcode data Detailed descriptions are at the beginning of the barcode chapter. cab Produkttechnik GmbH & Co KG...
Page 151
Numeric compaction mode 2: 366 characters (2.93 data characters per codeword) The Level parameter for MicroPDF barcodes set the number of data columns within the barcode which may be 1 – 4.m m Example: S 0,0,68,71,100 B 10,10,0,Micro+COLS2,3,0.5;cab Produkttechnik cab Produkttechnik GmbH & Co KG...
+GOODBADn = Same function as +VERIFYn without checking the content. height = Barcode height = Narrow element ratio = Ratio between narrow and wide bars. text = Barcode data Detailed descriptions are at the beginning of the barcode chapter. cab Produkttechnik GmbH & Co KG...
B - Barcode MSI (MSI Plessey) Example: S l1;0,0,68,71,100 B 5, 5,0,MSI,12,0.3,2;1234567890 B 5,20,0,MSI+MOD10,12,0.3,2;1234567890 B 5,35,0,MSI+MOD11,12,0.3,2;1234567890 cab Produkttechnik GmbH & Co KG...
+GOODBADn = Same function as +VERIFYn without checking the content. height = Barcode height = Narrow element ratio = Ratio between narrow and wide bars. text = Barcode data Detailed descriptions are at the beginning of the barcode chapter. cab Produkttechnik GmbH & Co KG...
Page 155
B - Barcode PDF 417 Example: S l1;0,0,68,71,100 B 2, 5,0,PDF417+EL0,0.1,0.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,0.1,0.38,1;cab Produkttechnik GmbH[U:13][U:10]Wilhelm Schickard Strasse [U:13][U:10]D-76131 Karlsruhe cab Produkttechnik GmbH & Co KG...
Page 156
+GOODBADn = Same function as +VERIFYn without checking the content. height = Barcode height = Narrow element ratio = Ratio between narrow and wide bars. text = Barcode data Detailed descriptions are at the beginning of the barcode chapter. cab Produkttechnik GmbH & Co KG...
B - Barcode Plessey Example: S l1;0,0,68,71,100 B 5,20,0,PLESSEY+BARS,12,0.3,2;1234567890 B 5,35,0,plessey,12,0.3,2;1234567890 cab Produkttechnik GmbH & Co KG...
= Verify the barcode data. (optional barcode reader required ) +GOODBADn = Same function as +VERIFYn without checking the content. text = Barcode data Detailed descriptions are at the beginning of the barcode chapter. cab Produkttechnik GmbH & Co KG...
Page 159
B - Barcode Postnet Example: S l1;0,0,68,71,100 B 10, 5,0,postnet;442120798 B 10,20,0,POSTNET;441361234 cab Produkttechnik GmbH & Co KG...
Page 160
The responsable ratio = Ratio between narrow and wide bars. organisation may text = Barcode data charge licenses for the usage of Detailed descriptions are at the beginning of the barcode chapter. this code cab Produkttechnik GmbH & Co KG...
S l1;0,0,68,71,100 B 5,17,0,code39,10,0.2,3;-1578675 T 9,30,0,3,3;PZN-1578675 This example was printed without human readable characters. The human readable characters have been added in a separate text line to setup the text in a specific size. cab Produkttechnik GmbH & Co KG...
= Verify the barcode data. (optional barcode reader required ) +GOODBADn = Same function as +VERIFYn without checking the content. size = Barcode size text = Barcode data Detailed descriptions are at the beginning of the barcode chapter. cab Produkttechnik GmbH & Co KG...
Page 163
( numeric, alphanumeric, kanji ..) Please refer to the original specification of this barcode before using it. Example: S l1;0,0,68,71,104 B 52,32,0,QRCODE+ELL+MODEL2+WS2,1;Hello world! B 52,28,90,QRCODE+ELL+MODEL2+WS2,1;Hello world! B 48,28,180,QRCODE+ELL+MODEL2+WS2,1;Hello world! B 48,32,270,QRCODE+ELL+MODEL2+WS2,1;Hello world! G 0,0,0;L:104,3 G 0,65,0;L:104,3 H 150,-5,T cab Produkttechnik GmbH & Co KG...
= Barcode height original = Narrow element specifications text = Barcode data of this barcode, Detailed descriptions are at the beginning of the barcode chapter. before it is used ! cab Produkttechnik GmbH & Co KG...
Page 165
Non-numeric characters are stripped from the DataToEncode property. There is an implied AI for standard for RSS-14 of 01 that should not be part of the DataToEncode. Example: S l1;0,0,68,71,104 T 5,10,0,5,5;RSS-14 B 10,15,0,RSS14,10,.3;0441234567890 cab Produkttechnik GmbH & Co KG...
= Barcode height specifications = Narrow element of this text = Barcode data barcode, before it Detailed descriptions are at the beginning of the barcode chapter. is used ! cab Produkttechnik GmbH & Co KG...
Page 167
B - Barcode RSS-14 composite (CC-A) Example: S l1;0,0,68,71,104 T 5,10,0,5,5;RSS-14 composite (CC-A) B 10,15,0,RSS14,16.5,.5;0361234567890[U:2D](11)990102 cab Produkttechnik GmbH & Co KG...
= Barcode height original = Narrow element specifications text = Barcode data of this barcode, Detailed descriptions are at the beginning of the barcode chapter. before it is used ! cab Produkttechnik GmbH & Co KG...
Page 169
B - Barcode RSS-14 composite (CC-B) Example: S l1;0,0,68,71,104 T 5,10,0,5,5;RSS-14 composite CC-B B 10,15,0,RSS14,16.5,.5;0361234567890[U:2D](21)abcdefghijklmnopqrst cab Produkttechnik GmbH & Co KG...
= Barcode height original = Narrow element specifications text = Barcode data of this barcode, Detailed descriptions are at the beginning of the barcode chapter. before it is used ! cab Produkttechnik GmbH & Co KG...
Page 171
B - Barcode RSS-14 truncated Example: S l1;0,0,68,71,104 T 5,10,0,5,5;RSS-14 truncated B 10,15,0,RSS14+TRUNCATED,4,.3;0441234567890 cab Produkttechnik GmbH & Co KG...
= Barcode height original = Narrow element specifications text = Barcode data of this barcode, Detailed descriptions are at the beginning of the barcode chapter. before it is used ! cab Produkttechnik GmbH & Co KG...
Page 173
B - Barcode RSS-14 truncated composite (CC-A) Example: S l1;0,0,68,71,104 T 5,10,0,5,5;RSS-14 truncated composite CC-A B10,15,0,RSS14+TRUNCATED+CC3,4,.3;0361234567890[U:2D](11)990102 cab Produkttechnik GmbH & Co KG...
= Narrow element specifications text = Barcode data of this [U:2D] starts the description of the 2D component barcode, Detailed descriptions are at the beginning of the barcode chapter. before it is used ! cab Produkttechnik GmbH & Co KG...
Page 175
B - Barcode RSS-14 truncated composite (CC-B) Example: S l1;0,0,68,71,104 T 5,10,0,5,5;RSS-14 truncated composite CC-B 10,15,0,RSS14+TRUNCATED+CC3,4,.3;0361234567890[U:2D](21)abcdefghijklmnopqrst cab Produkttechnik GmbH & Co KG...
= Barcode height original = Narrow element specifications text = Barcode data of this barcode, Detailed descriptions are at the beginning of the barcode chapter. before it is used ! cab Produkttechnik GmbH & Co KG...
Page 177
B - Barcode RSS-14 stacked Example: S l1;0,0,68,71,104 T 5,10,0,5,5;RSS-14 stacked B 10,15,0,RSS14+STACKED,12,0.5;0001234567890 cab Produkttechnik GmbH & Co KG...
= Narrow element specifications text = Barcode data of this [U:2D] starts the description of the 2D component barcode, Detailed descriptions are at the beginning of the barcode chapter. before it is used ! cab Produkttechnik GmbH & Co KG...
Page 179
B - Barcode RSS-14 stacked composite (CC-A) Example: S l1;0,0,68,71,104 T 5,10,0,5,5;RSS-14 stacked composite CC-A B 10,15,0,RSS14+STACKED,12,0.5;0341234567890[U:2D](17)010200 cab Produkttechnik GmbH & Co KG...
= Barcode height original = Narrow element specifications text = Barcode data of this barcode, Detailed descriptions are at the beginning of the barcode chapter. before it is used ! cab Produkttechnik GmbH & Co KG...
Page 181
B - Barcode RSS-14 stacked composite (CC-B) Example: S l1;0,0,68,71,104 T 5,10,0,5,5;RSS-14 stacked composite CC-B 10,15,0,RSS14+STACKED,12,.5;0341234567890[U:2D](21)abcdefghijklmnopqrst cab Produkttechnik GmbH & Co KG...
= Barcode height original = Narrow element specifications text = Barcode data of this barcode, Detailed descriptions are at the beginning of the barcode chapter. before it is used ! cab Produkttechnik GmbH & Co KG...
Page 183
B - Barcode RSS-14 stacked omnidirectional Example: S l1;0,0,68,71,104 T 5,10,0,5,5;RSS-14 stacked omni B 10,15,0,RSS14+STACKEDOMNI,16.5,.5;0003456789012 cab Produkttechnik GmbH & Co KG...
= Barcode height original = Narrow element specifications text = Barcode data of this barcode, Detailed descriptions are at the beginning of the barcode chapter. before it is used ! cab Produkttechnik GmbH & Co KG...
Page 185
B - Barcode RSS-14 stacked omnidirectional composite (CC-A) Example: S l1;0,0,68,71,104 T 5,10,0,5,5;RSS-14 stacked omni CC-A B 10,15,0,RSS14+STACKEDOMNI,16.5,.5;0003456789012[U:2D](17)010200 cab Produkttechnik GmbH & Co KG...
= Barcode height original = Narrow element specifications text = Barcode data of this barcode, Detailed descriptions are at the beginning of the barcode chapter. before it is used ! cab Produkttechnik GmbH & Co KG...
Page 187
B - Barcode RSS-14 stacked omnidirectional composite (CC-B) Example: S l1;0,0,68,71,104 T 5,10,0,5,5;RSS-14 stacked omni CC-B 10,15,0,RSS14+STACKEDOMNI,16.5,.5;0003456789012[U:2D](21)abcdefghijklmnopqrst cab Produkttechnik GmbH & Co KG...
= Barcode height original = Narrow element specifications text = Barcode data of this barcode, Detailed descriptions are at the beginning of the barcode chapter. before it is used ! cab Produkttechnik GmbH & Co KG...
Page 189
B - Barcode RSS limited Example: S l1;0,0,68,71,104 T 5,10,0,5,5;RSS limited B 10,15,0,RSSLIMITED,5,.5;1501234567890 cab Produkttechnik GmbH & Co KG...
= Barcode height original = Narrow element specifications text = Barcode data of this barcode, Detailed descriptions are at the beginning of the barcode chapter. before it is used ! cab Produkttechnik GmbH & Co KG...
Page 191
B - Barcode RSS limited composite (CC-A) Example: S l1;0,0,68,71,104 T 5,10,0,5,5;RSS limited composite CC-A B 10,15,0,RSSLIMITED,5,.5;0351234567890[U:2D](11)990102 cab Produkttechnik GmbH & Co KG...
= Barcode height original = Narrow element specifications text = Barcode data of this barcode, Detailed descriptions are at the beginning of the barcode chapter. before it is used ! cab Produkttechnik GmbH & Co KG...
Page 193
B - Barcode RSS limited composite (CC-B) Example: S l1;0,0,68,71,104 T 5,10,0,5,5;RSS limited composite CC-B 10,15,0,RSSLIMITED,5,.5;0351234567890[U:2D](21)abcdefghijklmnopqrst cab Produkttechnik GmbH & Co KG...
= Barcode height original = Narrow element specifications text = Barcode data of this barcode, Detailed descriptions are at the beginning of the barcode chapter. before it is used ! cab Produkttechnik GmbH & Co KG...
Page 195
B - Barcode RSS expanded Example: S l1;0,0,68,71,104 T 5,10,0,5,5;RSS expanded B10,15,0,RSSEXPANDED,10,.3;(01)98898765432106(3202)012345(15)991231 cab Produkttechnik GmbH & Co KG...
= Barcode height original = Narrow element specifications text = Barcode data of this barcode, Detailed descriptions are at the beginning of the barcode chapter. before it is used ! cab Produkttechnik GmbH & Co KG...
Page 197
B - Barcode RSS expanded composite (CC-A) Example: S l1;0,0,68,71,104 T 5,10,0,5,5;RSS expanded composite CC-A 10,15,0,RSSEXPANDED,16.5,.5;(01)93712345678904(3103)001234[U:2D](91)1A2B3C4D5E cab Produkttechnik GmbH & Co KG...
= Barcode height original = Narrow element specifications text = Barcode data of this barcode, Detailed descriptions are at the beginning of the barcode chapter. before it is used ! cab Produkttechnik GmbH & Co KG...
Page 199
B - Barcode RSS expanded composite CC-B Example: S l1;0,0,68,71,104 T 5,10,0,5,5;RSS expanded composite CC-B 10,15,0,RSSEXPANDED,16.5,.5;(01)93712345678904(3103)001234[U:2D](21)abcdefghijklmnopqrst cab Produkttechnik GmbH & Co KG...
= Barcode height original = Narrow element specifications text = Barcode data of this barcode, Detailed descriptions are at the beginning of the barcode chapter. before it is used ! cab Produkttechnik GmbH & Co KG...
Page 201
B - Barcode RSS expanded stacked Example: S l1;0,0,68,71,104 T 5,10,0,5,5;RSS expanded stacked B10,15,0,RSSEXPANDED+STACKED4,16.5,.5;(01)98898765432106(3202)012345(15)991231 cab Produkttechnik GmbH & Co KG...
= Barcode height original = Narrow element specifications text = Barcode data of this barcode, Detailed descriptions are at the beginning of the barcode chapter. before it is used ! cab Produkttechnik GmbH & Co KG...
Page 203
B - Barcode RSS expanded stacked half line Example: S l1;0,0,68,71,104 T 5,10,0,5,5;RSS expanded stacked B 10,15,0,RSSEXPANDED+STACKED4,16.5,.5;(01)95012345678903(3103)000123 cab Produkttechnik GmbH & Co KG...
= Barcode height original = Narrow element specifications text = Barcode data of this barcode, Detailed descriptions are at the beginning of the barcode chapter. before it is used ! cab Produkttechnik GmbH & Co KG...
Page 205
B - Barcode RSS expanded stacked composite (CC-A) Example: S l1;0,0,68,71,104 T 5,10,0,5,5;RSS expanded stacked CC-A B10,15,0,RSSEXPANDED+STACKED4,10,.4;(01)00012345678905(10)ABCDEF[U:2D](21)12345678 cab Produkttechnik GmbH & Co KG...
= Barcode height original = Narrow element specifications text = Barcode data of this barcode, Detailed descriptions are at the beginning of the barcode chapter. before it is used ! cab Produkttechnik GmbH & Co KG...
Page 207
RSS expanded stacked composite (CC-B) Example: S l1;0,0,68,71,104 T 5,10,0,5,5;RSS expanded stacked CC-B B 10,15,0,RSSEXPANDED+STACKED4,10,.4;(01)00012345678905(10) ABCDEF[U:2D](21)abcdefghijklmnopqrst Please note: There is no carriage return in the barcode line. The barcode data must be in one line. cab Produkttechnik GmbH & Co KG...
Page 208
(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...
B - Barcode UPC-A Example: S l1;0,0,68,71,100 B 10,5,0,UPC-A,20,0.35;01234554321 B 10,30,0,UPCA+XHRI,SC1;01234554321 cab Produkttechnik GmbH & Co KG...
Page 210
(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 B - Barcode field definition [:name;]...
+GOODBADn = Same function as +VERIFYn without checking the content. height = Barcode height = Narrow element ratio = Ratio between narrow and wide bars. text = Barcode data Detailed descriptions are at the beginning of the barcode chapter. cab Produkttechnik GmbH & Co KG...
Page 213
B - Barcode UPC-E0 Example: S l1;0,0,68,71,100 B 10, 5,0,UPCE0,20,0.35;03210000678 B 10,30,0,UPCE0,SC1;01230000088 cab Produkttechnik GmbH & Co KG...
! Please see also the "O" command to adjust the cutting time ( cutting depth ) for the perforation cutter. All measurements in millimeters or in inches (see the „m“ command) Optional cutter required cab Produkttechnik GmbH & Co KG...
Page 215
" C 1" would always cut after one label and no perforation could be recognized. The offset value must be always smaller than the label height. cab Produkttechnik GmbH & Co KG...
Page 216
R Var1;cut after 2 labels A 60 cuts the first print job of 100 labels after each 5th and in the second job with a total amount of 60 labels every 2. label will be cut. cab Produkttechnik GmbH & Co KG...
Page 217
All together 12 labels will be produced. ( A 12 ) - the picture blow shows just 8 of them... The label was defined 18 mm high on continuous material. cut through perforations cut through perforations cut through cab Produkttechnik GmbH & Co KG...
D x,y CR D - Displacement = offset value in horizontal direction = offset value in vertical direction All measurements in millimeters or in inches (see the „m“ command) Example: D 30,20 S l1;0,0,68,71,100 T 12,25,0,3,7;Displacement cab Produkttechnik GmbH & Co KG...
Using the DBase functionality is ideal for smaller databases. For big databases and high data volume it is recommended to use the optional cab database connector as the access for the files might be to slow. (The funcionality of database connector is described later in this manual).
Used together with the [RLOG] and [WLOG] text options. Filenames have to be in the 8.3 format (8 characters name and 3 characters extension) The E LOG command cannot be used with the internal flash file system (IFFS). cab Produkttechnik GmbH & Co KG...
Page 221
[WLOG] text options. Filenames have to be in the 8.3 format (8 characters name and 3 characters extension, no special characters allowed) The E TMP command cannot be used with the internal flash file system (IFFS). cab Produkttechnik GmbH & Co KG...
Important notes: The usage of the SQL function requires that the printer is connected with its network interface. The usage on printers which are equipped with the X2 board ( A+ series, Mach 4 etc. need a software legitimation to use the E SQL possibilities.) The usage of this commands requires optional components.
E RFID - Define Files (Extension RFID) Define parameters for RFID tag. ( Requires that the cab RFID unit is installed ) Syntax: E RFID;T:tagtype[,R:Retries][,C:cp][,P:pos][E:power] CR E - Define Extension tagtype = Auto (detects Tagtype automatically) - (get system info) Auto is default value.
The resident fonts in the cab printers have fixed names, but they can be redefined with this command. Once the font number is defined it is valid for the complete label.
F - Font Number Example: M l fnt;Comix H 66 S l1;0,0,68,71,100 F 10;Comix T 0,35,0,10,20;Sample[J:c100] The example above assigns font number 10 to the previously downloaded font Comix. cab Produkttechnik GmbH & Co KG...
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 G - Graphic field definition command. [:name;] = Optional field name, for further usage as a variable. .
Page 227
- prints an outline around the filled graphic object with the thickness of 1 dot. (see graphic option „outline“) Details about the settings for each graphic element are shown on the next pages. cab Produkttechnik GmbH & Co KG...
= horizontal radius radius1 = vertical radius width = width of the circle line in millimeters or inches Filled circles or ellipses can be printed if the width is not set continued on the next page cab Produkttechnik GmbH & Co KG...
Page 229
= outline option - prints an outline around the filled graphic object with the thickness of 1 dot. (see graphic option „outline“) Example: S l1;0,0,68,71,100 G 45,10,340;C:40,10,44[S:100,50,80] G 40,35,0;C:30,30,2 G 40,35,0;C:10,10,1 G 60,35,0;C:10,10,1 G 40,40,0;C:4,4,4 G 60,40,0;C:4,4,4 cab Produkttechnik GmbH & Co KG...
1 dot. (see graphic option „outline“) 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, depending which option is used. cab Produkttechnik GmbH & Co KG...
= height (vertical) of the rectangle in millimeters or inches = horizontal line thickness in millimeters or inches = vertical line thickness in millimeters or inches Filled rectangles are printed, if "width" is not set. continued on the next page cab Produkttechnik GmbH & Co KG...
Page 233
= shading option (gradient filling - see graphic option „shade“) ,outline = outline option - prints an outline around the filled graphic object with the thickness of 1 dot. (see graphic option „outline“) 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 cab Produkttechnik GmbH & Co KG...
= Darkness value at the beginning, as a percent of black. = Darkness value 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] cab Produkttechnik GmbH & Co KG...
The outline option outlines filled objects. The outline option prints black objects, if outline [O] is used for objects which are not filled. (see sample on the next page) [O] = Outline 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] cab Produkttechnik GmbH & Co KG...
Page 237
G - Graphic Definition - Option: Outline Graphic Option: Outline 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] 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. * The functionality of the ribbon saver command depends on the used printer model and the availablity of a ribbon saver. cab Produkttechnik GmbH & Co KG...
It is required to set the values for mx and my, when Autoload is used ! Please see also the examples on the next pages. cab Produkttechnik GmbH & Co KG...
Page 240
By the way: JPEG is a typical compression algorythm or photographic pictures which makes no sense to support this format in label printers. Example: S l1;0,0,68,71,100 I:IMAGE1;20,5,0;HUMAN Prints the picture „HUMAN“ which had previously downloaded to the printer. cab Produkttechnik GmbH & Co KG...
Page 241
(enlarged) by the factor 2 in x- direction and factor 2 in y direction. Please keep in mind that enlarging pictures can have a negative influence on the printout quality. 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. cab Produkttechnik GmbH & Co KG...
M - Memory Card Access cab printers are prepared for multiple possibilities if the built in or the optional memory is used. The M commands (Memorycard -commands) are used for a couple of operations, described on the next pages. Following memory types are supported: 1.
Page 244
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 simple methods which is often used to connect cab printers to SAP or to IBM mainframe computers.
Memory card access with FTP connection: The of the most powerful possibility to run a cab printer is to connect it in a network. As the printing systems are equipped with an ethernet interface it is an easy way to access them by using FTP.
Page 246
(Time critical applications may require this built in card slot) Specialnote about the internal flash file system (IFFS): It is not possible to use TMP files ( for serial numbering) or write to the IFFS memory during printing cab Produkttechnik GmbH & Co KG...
Page 248
Deletes all graphic files on memory card with the name „logo“. e.g. this might be logo.bmp, logo.pcx etc. IMPORTANT: Some labelling programs use also the extension .LBL or .FMT. These file types are totally different and do not contain J-Script commands ! cab Produkttechnik GmbH & Co KG...
Page 249
The Misc folder can also contain one or more firmware files, which are displayed in the „SERVICE“ menu of the printer to update the firmware from memory card or XML files which can contain a backup of the printer´s settings. cab Produkttechnik GmbH & Co KG...
Loads the label with the name TESTLBL from the default memory card and prints 2 labels Example: Ml LBL;/IFFS/TESTLBL Loads the label with the name TESTLBL from the internal flash file system and prints 4 labels cab Produkttechnik GmbH & Co KG...
Page 251
= /pccard/ -renames files on the PCMCIA card = /usbmem/ -renames files in the USB memory Existing file name of the file on memory card New file name of the file on memory card cab Produkttechnik GmbH & Co KG...
Page 252
Saves the label „LOOP“ on the printer´s memory card. This label will show the word „Art-No:“ in the display and waits for data input. After data is keyed in it will print 3 labels and repeats the question for the „SerialNo“ in the display. cab Produkttechnik GmbH & Co KG...
Page 253
This would cause a infinite loop on the printer, as the printer tries to recall the label where the first command tells to save the label on card and so on - and the display would show „Memory overflow“. cab Produkttechnik GmbH & Co KG...
Page 254
Wordpad. Note: When uploading other types of files, such as IMG, the data is sent as raw binary data. cab Produkttechnik GmbH & Co KG...
= Discard the label positions, causes new synchronisation of the material = additional Offset between upper and lower printhead (Only available on double sided printers) x value is in millimeters = Mirrored label printing continued on the next page cab Produkttechnik GmbH & Co KG...
= Unique label - suppresses the Pause / Reprint possibility to avoid that a label will be printed twice. Important: The "O" command must be located directly after the label size command "S.." cab Produkttechnik GmbH & Co KG...
Page 257
G 65,50,0;C:25,10,.7 G 25,25,0;C:20,20,2 G 20,20,35;C:10,10,1 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 The O R command rotates the complete printout of a label. The first example does not use the „O“ command. cab Produkttechnik GmbH & Co KG...
= displacement in millimeters or inches (optional parameter) positive and negative values can be used, depending in which direction the displacement should work. The „P“ command needs to be placed after the definition of the page size ! („S“- command) 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“. cab Produkttechnik GmbH & Co KG...
= height of the label plus height of the gap. (Distance from the starting point of the first label to the starting point of the next label) = label width measured from the right margin to the left margin. continued on the next page..cab Produkttechnik GmbH & Co KG...
Page 261
Maximum width would be 2 x105.6 mm on the XD+ with 300 dpi printhead. Setting the correct label size is one of the important points to get a precise position of your label contents. cab Produkttechnik GmbH & Co KG...
Page 262
S - Set Label Size S[ptype;]xo,yo,ho,dy,wd[,dx,col][;name] CR cab Produkttechnik GmbH & Co KG...
Page 263
158,4mm. If you want to place f.e. a text on a continous material in the middle at the upper side, you have to place it at 158,4. cab Produkttechnik GmbH & Co KG...
BItmap fonts: font no. Name Type Description _DEF1 Bitmap Default-size 12x12 dots _DEF2 Bitmap Default-size 16x16 dots _DEF3 Bitmap Default-size 16x32 dots OCR_A_I Bitmap OCR-A Size I OCR_B Bitmap OCR-B continued on the next page..cab Produkttechnik GmbH & Co KG...
Page 265
1000 GEHEI21M VectorAR Heiti Medium (Mandarin - (chinese) font) 1010 GARUDA VectorGaruda (Thai font) Garuda is available free of charge from the cab website, AR Heiti medium is not free of charge. size sets the the character size The size of scaleable (vector) fonts can be set in millimeters or inches, or by point size “pt x”.
Page 266
Please have a look to the setup menu of your printer. The text area allows also the usage of special functions and options, described later later in this manual. cab Produkttechnik GmbH & Co KG...
Page 267
In this example we want to explain, that the same effect can be shown when a text is bold from the original structure or when the option „b“ is used to print a bold font. cab Produkttechnik GmbH & Co KG...
Page 268
The internal Monotype font can be used to define tables. The characters of that font have always the same width. This font can be used for tables where all characters or numbers need to be placed in the same column. cab Produkttechnik GmbH & Co KG...
Page 269
T - Text Field Definition Internal bitmap fonts On this page you can see a printout of the printer´s internal bit mapped fonts. The size of the characters has been enlarged for a better readability cab Produkttechnik GmbH & Co KG...
Page 270
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:... option for more details.
Page 271
T - Text Field Definition This example shows some special effects of the cab printers „Swiss“ font. Example: S 0,0,68,71,100 D 0,5 T 10, 7,0,-5,x3,y3,o;Font -5 outline T 10,14,0,-5,x2,y2,u;Font -5 underlined T 10,21,0,-5,x2,y2,g;Font -5 gray T 10,28,0,-5,x2,y2,s;Font -5 slanted T 10,33,0,-5,x3,y1;Font -3 stretch T 10,42,0,-5,x2,y2,s,u,o,n;Font -3:combined FX...
Page 272
T - Text Field Definition Sample for printing inverted text with different frame sizes. Please have a closer view how the Justification commmand (... [J:c80] ... ) influences the printout. Example: H100,-5 S l1;0,0,68,70,100 T:F1;10,40,0,596,15,n,q85,b,fu17,fd17,fl3,fr1;Framesize T:F2;10,15,0,596,5,n,q85,b,fu6,fd4,fl3,fr3;[J:c80]Framesize cab Produkttechnik GmbH & Co KG...
Page 273
Writing upside down is as well possible as rotating text. Example: S 0,0,68,71,100 T 10, 7,0,-5,x1,y1,v;upside down T 20,14,0,5,5,v;upside down T 30,14,0,596,5,v;upside down T 50,59,180,596,5,v;upside down T 60,59,180,596,3,v;upside down rotated T 70,14,00,596,6,v;gateman T 80,14,00,596,6,v;nametag cab Produkttechnik GmbH & Co KG...
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. 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.
Page 276
Print H0ur in 24-hour form (01-24) -always 2 digits [ISOTIME] Prints the Time in standard format [MIN] Print MINutes (00-59) [SEC] Print SEConds (00-59) [TIME] Print actual TIME in the format of the preset country [XM] am / pm indicator cab Produkttechnik GmbH & Co KG...
T 12,25,0,3,9;It is [H12] o´clock 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). cab Produkttechnik GmbH & Co KG...
= adds the amount of additional hours as numerical value = adds the amount of additional minutes as numerical value = adds the amount of additional seconds as numerical value Example: S l1;0,0,68,71,100 T 12,25,0,3,9;The hour is [H24] cab Produkttechnik GmbH & Co KG...
= adds the amount of additional hours as numerical value = adds the amount of additional minutes as numerical value = adds the amount of additional seconds as numerical value Example: S l1;0,0,68,71,100 T 12,25,0,3,9;It is [H012] o´clock cab Produkttechnik GmbH & Co KG...
= adds the amount of additional hours as numerical value = adds the amount of additional minutes as numerical value = adds the amount of additional seconds as numerical value Example: S l1;0,0,68,71,100 T 12,25,0,3,9;The actual hour is [H024] cab Produkttechnik GmbH & Co KG...
= adds the amount of additional hours as numerical value = adds the amount of additional minutes as numerical value = adds the amount of additional seconds as numerical value Example: S l1;0,0,68,71,100 T 12,25,0,3,9;[ISOTIME] cab Produkttechnik GmbH & Co KG...
= adds the amount of additional hours as numerical value = adds the amount of additional minutes as numerical value = adds the amount of additional seconds as numerical value Example: S l1;0,0,68,71,100 T 12,25,0,3,4;Actual time is [H024] hour and [MIN] Minutes cab Produkttechnik GmbH & Co KG...
= adds the amount of additional seconds as numerical value Example: S l1;0,0,68,71,100 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. 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] cab Produkttechnik GmbH & Co KG...
= adds the amount of additional hours as numerical value = adds the amount of additional minutes as numerical value = adds the amount of additional seconds as numerical value Example: S l1;0,0,68,71,100 T 12,25,0,3,8;The time is [H12]:[MIN] [XM] cab Produkttechnik GmbH & Co KG...
IMPORTANT NOTE: In that case when variables are used, it is not allowed to use the „+“ sign !! Example: ;This example simply recalls the date from the printer S l1;0,0,68,71,100 T 12,25,0,3,5;Todays date is: [DATE] cab Produkttechnik GmbH & Co KG...
Page 288
Date Functions [DATE... ] Print actual DATE Example: S l1;0,0,68,71,100 T 3,25,0,3,6;In 10 Years we have: [DATE:03,02,10] This example adds 3 days, 2 months and 10 years cab Produkttechnik GmbH & Co KG...
= adds the amount of additional days as numerical value = adds the amount of additional months as numerical value = adds the amount of additional years as numerical value Example: S l1;0,0,68,71,100 T 12,25,0,3,5;Day only: [DAY] T 12,45,0,3,5;Added days: [DAY:03,02,10] cab Produkttechnik GmbH & Co KG...
= adds the amount of additional months as numerical value = adds the amount of additional years as numerical value 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 cab Produkttechnik GmbH & Co KG...
Page 291
= adds the amount of additional years as numerical value Example: s 090205091500 S l1;0,0,68,71,100 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 2009. The result appears in 3 digits. cab Produkttechnik GmbH & Co KG...
= adds the amount of additional months as numerical value = adds the amount of additional years as numerical value Example: S l1;0,0,68,71,100 T 12,30,0,3,7;[ISODATE] T 12,55,0,3,7;[ISODATE:5,2,11] For a detailed description, please refer to ISO standard 8601-2000. cab Produkttechnik GmbH & Co KG...
= adds the amount of additional months as numerical value = adds the amount of additional years as numerical value Example: S l1;0,0,68,71,100 T 12,30,0,3,7;[ISOORDINAL] T 12,55,0,3,7;[ISOORDINAL:3,2,1] For detailed description, please refer to ISO standard 8601-2000. cab Produkttechnik GmbH & Co KG...
This is the same sample as on the previous page with the difference that we wrote „WDAY“ in capital letters. = sunday thursday = monday friday = tuesday saturday = wednesday So we have Thursday today and in two days we have saturday cab Produkttechnik GmbH & Co KG...
= adds the amount of additional months as numerical value = adds the amount of additional years as numerical value Example: S l1;0,0,68,71,100 T 12,25,0,3,5;The name of today is [wday] T 12,35,0,3,5;In 2 days we have [wday:02,00,00] cab Produkttechnik GmbH & Co KG...
= adds the amount of additional months as numerical value = adds the amount of additional years as numerical value Example: S l1;0,0,68,71,100 T 12,25,0,3,5;The name of today is [wday2] T 12,35,0,3,5;In 2 days we have [wday2:02,00,00] cab Produkttechnik GmbH & Co KG...
= adds the amount of additional months as numerical value = adds the amount of additional years as numerical value Example: S l1;0,0,68,71,100 T 12,25,0,3,5;The name of today is [wday3] T 12,35,0,3,5;In 2 days we have [wday3:02,00,00] cab Produkttechnik GmbH & Co KG...
T 8,55,0,3,4;and in 3 days we have day no: [ISOWDAY:3,0,0] Following are the results: = monday 4 = thursday 7 = sunday = tuesday 5 = friday = wednesday 6 = saturday For further information, please refer to ISO standard 8601-2000. cab Produkttechnik GmbH & Co KG...
= adds the amount of additional days as numerical value = adds the amount of additional months as numerical value = adds the amount of additional years as numerical value Example: S l1;0,0,68,71,100 T 12,25,0,3,5;This week is week no: [WEEK] cab Produkttechnik GmbH & Co KG...
= adds the amount of additional days as numerical value = adds the amount of additional months as numerical value = adds the amount of additional years as numerical value Example: S l1;0,0,68,71,100 T 12,25,0,3,5;This week is week number: [WEEK02] cab Produkttechnik GmbH & Co KG...
Syntax: [OWEEK:+WW] [OWEEK...] - print week with offset (1-53) = adds the amount of additional weeks as numerical value 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] cab Produkttechnik GmbH & Co KG...
= adds the amount of additional days as numerical value = adds the amount of additional months as numerical value = adds the amount of additional years as numerical value Example: S l1;0,0,68,71,100 T 10,28,0,3,4;Three characters of the month: [month] T 10,40,0,5,10;[mon] cab Produkttechnik GmbH & Co KG...
= adds the amount of additional days as numerical value = adds the amount of additional months as numerical value = adds the amount of additional years as numerical value Example: S l1;0,0,68,71,100 T 10,30,0,3,10;[month] cab Produkttechnik GmbH & Co KG...
= adds the amount of additional days as numerical value = adds the amount of additional months as numerical value = adds the amount of additional years as numerical value Example: S l1;0,0,68,71,100 T 10,30,0,3,8;[month] is month [MONTH] cab Produkttechnik GmbH & Co KG...
= adds the amount of additional days as numerical value = adds the amount of additional months as numerical value = adds the amount of additional years as numerical value Example: S l1;0,0,68,71,100 T 10,30,0,3,8;[month] is Month [MONTH02] cab Produkttechnik GmbH & Co KG...
Page 306
S l1;0,0,68,71,100 T:MON;5,10,0,3,4;[MONTH02][I] T:CHAIN; 5,15,0,3,4;123456789OND[I] T 0,30,0,5,5;The code for the month: [month] is [CHAIN,MON,1] Please note, that the printed month name ( [month] )in this example depends on the language settings of the printer. cab Produkttechnik GmbH & Co KG...
= adds the amount of additional days as numerical value = adds the amount of additional months as numerical value = adds the amount of additional years as numerical value Example: S l1;0,0,68,71,100 T 10,30,0,3,8;[month]-[YY] cab Produkttechnik GmbH & Co KG...
= adds the amount of additional days as numerical value = adds the amount of additional months as numerical value = adds the amount of additional years as numerical value Example: S l1;0,0,68,71,100 T 10,30,0,3,8;[month]-[YYYY] cab Produkttechnik GmbH & Co KG...
Print Jalali-Day Year [JWDAY{:+DD{,+MM{,+YY}}}] Print Jalali-DAY of the Week (1=saturday) The printers need to be set up for an arabic characters (Farsi) language to get the expected result. Suriyakati Date [SYEAR{:+DD{,+MM{,+YY}}}] Print Suriyakati-YEAR, 4 digits cab Produkttechnik GmbH & Co KG...
= adds the amount of additional days as numerical value = adds the amount of additional months as numerical value = adds the amount of additional years as numerical value Example: S l1;0,0,68,71,100 T 10,30,0,3,20;[JYEAR][S:arabic] cab Produkttechnik GmbH & Co KG...
= adds the amount of additional days as numerical value = adds the amount of additional months as numerical value = adds the amount of additional years as numerical value Example: S l1;0,0,68,71,100 T 10,30,0,5,30;[JDAY][S:arabic] cab Produkttechnik GmbH & Co KG...
= adds the amount of additional days as numerical value = adds the amount of additional months as numerical value = adds the amount of additional years as numerical value Example: S l1;0,0,68,71,100 T 10,30,0,3,40;[JDAY02][S:arabic] T 50,60,0,3,40;[JDAY02] cab Produkttechnik GmbH & Co KG...
= adds the amount of additional days as numerical value = adds the amount of additional months as numerical value = adds the amount of additional years as numerical value Example: S l1;0,0,68,71,100 T 10,30,0,3,20;Month:[JMONTH][S:arabic] cab Produkttechnik GmbH & Co KG...
= adds the amount of additional days as numerical value = adds the amount of additional months as numerical value = adds the amount of additional years as numerical value Example: S l1;0,0,68,71,100 T 10,30,0,3,10;[JMONTH02] T 10,50,0,5,10;[JMONTH02][S:arabic] cab Produkttechnik GmbH & Co KG...
= adds the amount of additional days as numerical value = adds the amount of additional months as numerical value = adds the amount of additional years as numerical value Example: S l1;0,0,68,71,100 T 10,30,0,3,10;[JDOFY] T 10,50,0,3,10;[JDOFY][S:arabic] cab Produkttechnik GmbH & Co KG...
= adds the amount of additional days as numerical value = adds the amount of additional months as numerical value = adds the amount of additional years as numerical value Example: S l1;0,0,68,71,100 T 10,30,0,3,10;[jmonth][S:arabic] T 10,50,0,3,10;[jmonth] cab Produkttechnik GmbH & Co KG...
= adds the amount of additional days as numerical value = adds the amount of additional months as numerical value = adds the amount of additional years as numerical value Example: S l1;0,0,68,71,100 T 10,30,0,3,10;[JWDAY][S:arabic] T 30,30,0,3,10;[JWDAY] cab Produkttechnik GmbH & Co KG...
= adds the amount of additional days as numerical value = adds the amount of additional months as numerical value = adds the amount of additional years as numerical value Example: S l1;0,0,68,71,100 T 10,30,0,3,8;Suriyakati year: [SYEAR] T 10,45,0,3,8;Gregorian year: [YYYY] cab Produkttechnik GmbH & Co KG...
Calculates and prints the Modulo Check digit [MOD36:x] Calculates and prints the Modulo Check digit [MOD43:x] Calculates and prints the Modulo Check digit [P:name,mn{o}] Print result in Price format [R:x] Rounding method [==:text1,text2] String comparision (1=TRUE, 0=FALSE) cab Produkttechnik GmbH & Co KG...
This simple example adds var1 ( 44,80) and var3 (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. cab Produkttechnik GmbH & Co KG...
2 digits behind the comma are preset as default value, multiple values are allowed. The values might be existing informations of other fields and numbers. 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:minus;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] 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 var3 might be a fixed value which is the price per unit. 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 var3 might be a fixed value which could be the price per unit. cab Produkttechnik GmbH & Co KG...
Page 324
Field operators might also be marked „invisible“ - see option [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. cab Produkttechnik GmbH & Co KG...
[%: op1,op2] Modulo Example: S l1;0,0,68,71,100 T:COUNT;5,10,,3,4;[SER:000000][I] T:MODCALC;5,10,,3,4;[%:COUNT,15][I] 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 restart the counter from the beginning. cab Produkttechnik GmbH & Co KG...
Syntax: [|:op1,op2] [|:...] - Logical OR op1,op2 = operator1 (op1) is compared with operator 2 (op2) Example: S l1;0,0,68,71,100 T:var1;25,10,0,3,5;1 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 1, because the first variable (var1) is not 0. cab Produkttechnik GmbH & Co KG...
Mathematical Functions [|:op1,op2] Logical Or 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. 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] [&:...] - Logical AND op1,op2 = operator1 (op1) is compared with operator 2 (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] cab Produkttechnik GmbH & Co KG...
The result is true (1), when operand1 (op1) is less 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] In our example: Operand1 (var1 =63) is not less than operand2 (var2 =41) - the result is false (0) cab Produkttechnik GmbH & Co KG...
Syntax: [=: op1,op2] [=:...] op1,op2 = Operand1 (op1) compared with operand 2 (op2) Example: S l1;0,0,68,71,100 T:var1;25,10,0,3,5;12 T:var2;20,20,0,3,5;= T:var3;25,20,0,3,5;6 G 20,25,0;L:20,0.3 T:res;25,35.0,.0,3,5.0;[=:var1,var3] Compares 12 and 6 and has the result „false“ (0) cab Produkttechnik GmbH & Co KG...
Example: S l1;0,0,68,70,100 T:VAR1;5,20,0,5,pt20;IDENTICAL T:VAR2;5,30,0,5,pt20;IDENTICAL G 10,33,270;L:15,2,s,a T:VAR3;8,60,0,5,pt20;[==:VAR1,VAR2] T:VAR4;55,20,0,5,10;Text3 T:VAR5;55,30,0,5,pt20;Text4 G 68,33,270;L:15,2,s,a T:VAR6;65,60,0,5,10;[==:VAR4,VAR5] Compares identical text strings with the result true (1) and compares 2 other text strings and has the result „false“ (0) cab Produkttechnik GmbH & Co KG...
[>: ...] - comparision greater than op1,op2 = compares operater1 (op1) with operator2 (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] cab Produkttechnik GmbH & Co KG...
10 digit. Usually only the input data is copied to a second field. As the printer cannot know, that the - normally invisible check digit shall be shown on the label. Therefor [MOD10:input] is used. cab Produkttechnik GmbH & Co KG...
This example uses the input variable for a Code 39 barcode. Usually only the input data is copied to a second field, as the printer can not know, that the - normally invisible check digit shall be shown on the label. Therefor [MOD36:input] is used. cab Produkttechnik GmbH & Co KG...
This example uses the input variable for a Code 39 barcode. Usually only the input data is copied to a second field, as the printer can not know, that the - normally invisible check digit shall be shown on the label. Therefor [MOD43:input] is used. cab Produkttechnik GmbH & Co KG...
Prints result in price format Syntax: [P:name,td{o}] [P:...] - 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] T:Price;10,50,0,3,8;$ [P:1000000,.,-] cab Produkttechnik GmbH & Co KG...
Mathematical Functions [R:x] Rounding method cab printers „know“ several rounding methods. To select a specified rounding method use the [R:x] option. Syntax: [R:x] [R:x] - rounding method = n = no rounding ( default ) rounding up rounding down round mathematically...
[SPLIT:field,index] Splits table values [U:x] Insert Unicode character [UPPER:x] Converts the input data in upper case characters [WINF] Writes value into the „INF“ buffer [WLOG] Write to file [WTMP] Write to (temporary) serial file cab Produkttechnik GmbH & Co KG...
[?: ... ] LCD prompt cab printers offer the feature that a standard PC keyboard with USB connector can be connected the printers.All actual printers have this possibility as standard feature. Labels, graphics, databases and fonts can be saved on the printer´s optional memory card, in the internal memory (IFFS), the external CF card or on an USB memory stick.
Page 340
Repeats the input prompt if a record could not be found in a database repeats the prompt when the printer asks for the input of the amount of labels. ( A[?,R] ) defines a simple loop for the amount of labels. cab Produkttechnik GmbH & Co KG...
Page 341
Example: S l1;0,0,68,70,100 T 10,10,0,5,5;[?:article number,7733214] Requests in the display for article number and the preset value 7733214. .Data can now be exchanged through an attached keyboard or scanner or through the navigator pad. cab Produkttechnik GmbH & Co KG...
Page 342
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 cab Produkttechnik GmbH & Co KG...
Page 343
Example for a simple loop: Example: J simple loop S l1;0,0,68,71,100 T 10,15,0,3,10;[SER:1] (This request prompts only once) T 10,30,0,3,10;[?:INPUT?] (This request repeats prompting) T 10,45,0,3,10;[?:Second INPUT?,,,J] A [?,R] Repeats the prompt until the cancel button is pressed cab Produkttechnik GmbH & Co KG...
[ABC:x] Insert value Inserts a value from ABC (a-series basic compiler). This enables the printer to use abc programs as function. Syntax: [ABC:x] [ABC:...] - Insert ABC value parameter which is transmitted by abc cab Produkttechnik GmbH & Co KG...
[BIN:...] - Insert Binary data input data, whereby multiple data can be converted,separated by a comma. Example: S e;0,0,68,70,100 T:aa;10,10,0,3,4;<[BIN:1][BIN16B:1000][BIN16L:1000][BIN32B:$12345678][BIN32L:$12345678]> T 10,16,0,3,4;[HEX:aa] The data is visible in this sample after copying the binary value into a hex value. cab Produkttechnik GmbH & Co KG...
Big Endian format. For further details about binary data Little Endian and Big Endian please refer to Wikipedia at http://en/wikipedia.org/wiki/Endian Syntax: [BIN16B:x{,y ...} ] [BIN16B:...] - Insert binary data, 16 bit Big Endian x{,y ...} = Binary data cab Produkttechnik GmbH & Co KG...
Little Endian format. For further details about binary data Little Endian and Big Endian please refer to Wikipedia at http://en/wikipedia.org/wiki/Endian Syntax: [BIN16L:x{,y ...} ] [BIN16L:...] - Insert binary data, 16 bit Little Endian x{,y ...} = Binary data cab Produkttechnik GmbH & Co KG...
Big Endian format. For further details about binary data Little Endian and Big Endian please refer to Wikipedia at http://en/wikipedia.org/wiki/Endian Syntax: [BIN32B:x{,y ...}] [BIN32B:...] - Insert binary data, 32 bit Big Endian x{,y ...} = Binary data cab Produkttechnik GmbH & Co KG...
Little Endian format. For further details about binary data Little Endian and Big Endian please refer to Wikipedia at http://en/wikipedia.org/wiki/Endian Syntax: [BIN32L:x{,y ...}] [BIN32L:...] - Insert binary data, 32 bit Little Endian x{,y ...} = Binary data cab Produkttechnik GmbH & Co KG...
T 10,20,0,3,5;[HEX:t2] T:t3;10,30,0,3,5;[BITFIELD:24:100000][I] T 10,30,0,3,5;[HEX:t3] T:t4;10,40,0,3,5;[BITFIELD:5,7,3,1:25,100,5,1][I] T 10,40,0,3,5;[HEX:t4] The example above creates 4 bitfields, marked as invisible (non printable) . The second programming line converts the value into a HEX value for the printout. cab Produkttechnik GmbH & Co KG...
Syntax: [C:fill{,base}] Leading zero replacement fill = fill characters base = optional parameter to set the counting system Please see the example on the next page cab Produkttechnik GmbH & Co KG...
Page 352
Prints 4 labels with 2 counters- one counter with leading zero and the other counter without leading zeroes. The counter starts with the number 2. Please see option " [Ser ... ] " for more details about serial numbering. cab Produkttechnik GmbH & Co KG...
Set number of Digits 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] cab Produkttechnik GmbH & Co KG...
Only one database can be used at the same time in a label. This function makes only sense if small databases are used. More database possibilites are available with the cab database connector, later described in this manual. cab Produkttechnik GmbH & Co KG...
Converts binary data into a hexadecimal string. If "normal“ data is included, only the least significant byte of the unicode is converted. Syntax: [HEX:x...] [HEX:x...] - Hexadecimal conversion = data Example: S l1;0,0,68,70,100 T:Original;0,0,0,5,5;A[I] T:HEX;10,20,0,5,10;[Original] is [HEX:Original] HEX T:Original1;0,0,0,5,5;cab[I] T:HEX1;10,40,0,5,4;[Original1] = [HEX:Original1] as HEX value 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 cab Produkttechnik GmbH & Co KG...
Page 357
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. cab Produkttechnik GmbH & Co KG...
The JOBID command prints the Identification of the print job. For further information please see also "j Job-ID" and "ESC j". Syntax: [JOBID] [JOBID] - print Job ID Example: S l1;0,0,68,70,55 T 10,20,0,5,7;JOBID: T 10,30,0,5,6;[JOBID] cab Produkttechnik GmbH & Co KG...
The Field „NOADJUST“ is transmitted without modification and the Field „ADJUST“ adjusts the textline to the right side of the defined area. (Shown with added rectangle.) [J:r70] = area of justification -marked by the rectangle. In this ara we adjust the text on the right side. cab Produkttechnik GmbH & Co KG...
Page 360
[J: ... ] Justification Another example where the text is rotated. It is helpful to experiment with this command to understand clearly how it works. Example: S l1;0,0,68,71,104 G:AREA;0,10,0;R:50,50,.4,.4 T:NOADJUST;10,60,90,5,5;START T:ADJUST;20,60,90,5,5;center[J:c50] T:RightADJ;30,60,90,5,5;right[J:r50] T:LeftADJ;40,60,90,5,5;left[J:l50] cab Produkttechnik GmbH & Co KG...
This special command delivers the length of the specified text (x) Syntax: [LEN:x] [LEN:...] - text length detection Textstring or variable name Example: S l1;0,0,68,70,100 T:VAR1; 10,10,0,5,5;TEXTLINE B:VAR2; 10,15,0,CODE128,12,.5;Barcode T 10,40,0,596,5;Length of VAR1:[LEN:VAR1] T 10,50,0,5,5;Length of VAR2: (Barcode) [LEN:VAR2] T 10,60,0,5,5;Length of Textstring: [LEN:Hallo] cab Produkttechnik GmbH & Co KG...
The „LOWER“ function converts text contents into lower case characters Syntax: [LOWER:Name] [LOWER:...] Name = Variable name Example: S l1;0,0,68,71,100 T:Input;10,20,0,3,8;cab GERMANY T:LOWERCASE;10,40,0,3,8;[LOWER:Input] Prints the field „Input“ as it is keyed in, and prints the same data in field „LOWERCASE“ as lowercase characters. cab Produkttechnik GmbH & Co KG...
Left The LTrim command removes space characters and Tab characters at the beginning of a text line. Syntax: [LTRIM:x] [LTRIM:...] - Trim data = data Example: S l1;0,0,68,70,100 T:CutMe;10,20,0,5,5,n; Remove empty space T:CutOff;10,30,0,5,5,n;[TRIM:CutMe] cab Produkttechnik GmbH & Co KG...
FIELD1 and FIELD2 are linked with additional standard text in FIELD3 Note: Field names are case sensitive !! A fieldname must be defined unique. Using the same name twice or more often is not allowed and causes a "Protocoll error" in the printer´s display.. 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. cab Produkttechnik GmbH & Co KG...
Reads the value from a serial file of the optional memory card Syntax: [RTMP{,x}] [RTMP:...] - Read value from serial file = defines how many times the value will repeated See also the command [WTMP] Write value as serial temp file. cab Produkttechnik GmbH & Co KG...
The RTrim command removes space characters or Tab characters at the end of a text line. Syntax: [RTRIM:x] [RTRIM:x] - Trim data right = data Example: S l1;0,0,68,70,100 T:CutMe;10,20,0,5,5,n; Remove empty space RIGHT T:CutOff;10,30,0,5,5,n;[RTRIM:CutMe] cab Produkttechnik GmbH & Co KG...
Reads the value from the „user memory". Maximum length is 32 bytes. Syntax: [RUSER{,x}]] RUSER = Read USER file, e.g. serial number = defines how many time the value will repeated See also the command "[WUSER]". - Write value to user memory. cab Produkttechnik GmbH & Co KG...
[S:...] - Script style for numeric values name = Arabic = Latin = Thai Example: S l1;0,0,68,71,100 T:var1;15,10,0,3,5;44,80 T:var2;10,20,0,3,5;+ T:var3;15,20,0,3,5;26,70 G 10,23,0;L:20,0.3 T:res;15,28,0,-3,x2,y2;[+:var1,var3][S:ARABIC] T:var4;45,10,0,3,5;44,80 T:var5;40,20,0,3,5;+ T:var6;45,20,0,3,5;26,70 G 40,23,0;L:20,0.3 T:res1;45,28,0,-3,x2,y2;[+:var1,var3][S:THAI] Prints the result of this calculation in arabic script style. cab Produkttechnik GmbH & Co KG...
"16" will cause a hexadecimal base 16 counting. The printers will use automatically "1“ if incr and freq are not set. Please see also the samples on the next pages. cab Produkttechnik GmbH & Co KG...
Page 371
[SER:...] - Serial numbering 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] T:FIELD2;10,20,0,3,10;[+:1,CNT][C: ][D:4,0] The same example as for the „C:Fill..“ command has been used (leading zero replacement) Please see there to get more information about these functions. cab Produkttechnik GmbH & Co KG...
Page 372
The start value is defined for the keyboard input and will be requested in the printer´s display. In the example below the start value of 99 was keyed in. Example: S l1;0,0,68,71,100 T:start;0,0,0,5,5;[?:Counter-Start value?][I] T:offset;0,0,0,5,5;[SER:000][I] T 10,50,0,5,40;[+:start,offset][C:0][D:1,0] cab Produkttechnik GmbH & Co KG...
Page 373
S l1;.0,.0,50.0,53.5,70.0 T:YEAR;60.3,4.8,180.0,5,4.0;[YYYY] T:NR;0,0,0,3,2;0000000[I] T:OS;0,0,0,3,2;[SER:0000000][I] T:SER;48.3,4.7,180.0,5,4.0;[+:NR,OS][C:0][D:7,0] B:BAR2;66.7,43.9,180.0,2of5interleaved+MOD10,35.0,.34,3.0;[YEAR][SER] B:BAR3;19.9,6.0,270.0,2of5interleaved+MOD10,18.0,.34,3.0;[BAR2] Ms LBL A 1[NOPRINT] Ml LBL;NUMBER R OS;[SER:0000025] The Ml command recalls the label,the R command replaces the variable "OS“ and the printer prints 3 labels. cab Produkttechnik GmbH & Co KG...
Page 374
Here the counter starts at one, counts up until the value „3“ is reached and restarts again counting from „1“. Totally 10 labels will be printed. Example: S l1;0,0,68,71,100 T:COUNTER;0,0,0,5,5;[SER:0][I] T:MAXLAB;0,0,0,5,5;[%:COUNTER,3][I] T:RESULT; 30,30,0,5,12;[+:MAXLAB,1][D:2,0] A 10 cab Produkttechnik GmbH & Co KG...
Enables the printer to access a SQL database. This command is used together with the cab database- connector. It requires that a file has been select first with the command "E SQL..". See also the cab database connector section later in this manual.
[SQLLOG:xx] [SQLLOG:...] - SQL logging into database any SQL query For further information please see the command [SQL:xx] and have a view to the cab databaseConnector section later in this manual. Please note: The maximum length is 128 characters. cab Produkttechnik GmbH & Co KG...
The Trim command can be used to remove space characters at the beginning and at the end of a text line. Syntax: [TRIM:x] [TRIM:...] - trim data = data Example: S l1;0,0,68,70,100 T:CutMe;10,20,0,5,5,n; Remove empty space T:CutOff;10,30,0,5,5,n;[TRIM:CutMe] cab Produkttechnik GmbH & Co KG...
The availability of unicode characters depends on the selected font. To recall Thai characters or chinese characters requires that these fonts are installed. Thai can be downloaded free of charge from the cab website at http://www.cab.de . The Chinese font is optional and can be ordered.
Page 379
[U:x] Insert Unicode characters The following example shows a little application which converts US Dollars into Euro ( just to show how to recall the Euro sign simply using the unicode feature of cab printers.) Example: S l1;0,0,68,71,100 T:Amount;20,30,0,3,20;[?:Amount in US$:][I] T:factor;0,0,0,3,3;[?:1 Euro= ? USD][I]...
= data - content of a previously defined field (field name) Example: S l1;0,0,68,71,100 T:Input;10,20,0,3,8;cab Germany T:UPPERCASE;10,40,0,3,8;[UPPER:Input] Prints the field „INPUT“ as it is keyed in, and prints the same data in field „UPPERCASE“ as uppercase characters. cab Produkttechnik GmbH & Co KG...
1000, 1004, 1008 , 1012 ..etc. This command is useful if it needs to be controlled that the last label has been totally processed before the next label will be sent. Please note: The maximum length is 128 characters. cab Produkttechnik GmbH & Co KG...
Please note: The maximum length is 128 characters. Never switch your printer off while data is written to the memory card. Loss of information or damage of the memory card would be the result. This command can not be used together with the internal flash file system (IFFS). cab Produkttechnik GmbH & Co KG...
Loss of information or damage of the memory card would be the result. This command can not be used together with the internal flash file system (IFFS). See also the command [RTMP] Read value from serial (TMP) file. cab Produkttechnik GmbH & Co KG...
T:TESTFLD;10,20,0,3,8;Serial number is: [SERNO] This sample prints three labels where the counter counts from 1 to 3. The first label is shown below. See also the command [RUSER] - Read value from user memory. cab Produkttechnik GmbH & Co KG...
RFID Functions The following pages describe special commands which require the additional cab RFID module. RFID modules which have been used with extra port for the RFID control on A- series or A+ series printers do not support these commands.
The sample above writes new content to the RFID tag ( [WTAG:0] ) and locks the content in the next line to avoid that it can be changed. This function requires that the printer is equipped with the optional cab RFID reader cab Produkttechnik GmbH & Co KG...
"E command". Example: S l1;0,0,68,70,100 T 10,10,0,3,5;[RTAG:0,8] Reads and prints the first 8 bytes of a RFID tag. This function requires that the printer is equipped with the optional cab RFID reader cab Produkttechnik GmbH & Co KG...
Reads the TAG whereby "start" and "len" are bytes. First adress in a TAG is " 0 ". Read data is handled as binary data without any conversion. This function requires that the printer is equipped with the optional cab RFID reader cab Produkttechnik GmbH & Co KG...
Example: S l1;0,0,68,70,100 T 20,20,0,5,5;[TAGID] This example reads the Tag ID of a ISO 15693 tag and prints the ID This function requires that the printer is equipped with the optional cab RFID reader. cab Produkttechnik GmbH & Co KG...
Writes data in the codepage which had been previously defined with the "E command". Example: S l1;0,0,68,70,100 T 20,20,0,5,5;CABRFID[SER:1][WTAG:0][I] The example writes new content into a tag This function requires that the printer is equipped with the optional cab RFID reader cab Produkttechnik GmbH & Co KG...
Database Connector This software allows in connection with a printer of the cab A-series, A+ series etc via TCP/IP, to print a label which contains data from a SQL compatible data base. The data is recalled from the printer through its attached keyboard.
These files can also be downloaded from www.microsoft.com/data. cab Database Connector and SQLClient With the cab Database Connector and the built in SQL client , printers can retrieve data online via Ethernet TCP/IP directly from a database. When the printer works as a stand alone print station, you do not need to store and maintain the data- base files on the compact flash cards anymore.
! Sample connectionstrings MSAccess: Provider=Microsoft.Jet.OLEDB.4.0;Data-Source=<DatabasePath+MDB-Filename> ODBC: in most cases simply type in the ODBC-Datasourcename MSSQLServer: Provider=SQLOLEDB.1;Integrated Security=SSPI; Persist SecurityInfo=False;Initial Catalog=cab; Data Source=hostname ORACLE: Provider=MSDAORA.1;User ID=User; Data Source=Prod;Persist Security Info=False Dbase: DSN=ExampleDatasource;DBQ=<DatabasePath>; DefaultDir=<DatabasePath>;FIL=dBase IV cab Produkttechnik GmbH & Co KG...
Page 394
Details about the wizard are described in the built in help file. You need good knowledge about your data base do a proper setup ! cab Database connector can be started multiple times in a network or multiple times on one PC. cab Produkttechnik GmbH & Co KG...
Page 395
E SQL;<IP of cabDatabase connector>:Portnumber Defines the IP adress of the computer where cab database Connector is installed. The portnumber can be set in the database connector program itself and must be identical to the port address which is set with the „...
Page 396
DataBase Connector Example: E SQL;192.168.0.80:1001 The command sets the connection to the computer with the IP address: 192.168.0.80 where the port number was set to „1001“ in cab database connector program Required Query-Function: Syntax: [SQL:Select Field from Table where Searchvalue=’{Fieldname}’]...
Page 397
The printer must be connected to your network with the special network card !! • cab database connector has been started and set up correctly. • The database must be available- we used the table name TA, the database search field name is ARTICLE which is compared with the search value „{ARTNR} „...
Originally designed for A-series printers (where the name comes from..) -meanwhile also implemented in all actual cab printing sytems and it will be used in future printers - but the name will not change... The a-series basic compiler is free of charge.
There’s only one font (16 dots high), variable width with support of latin, greek, cyrillic, hebrew and arabic scripts. The origin is in the upper left corner of the first character’s bounding box. For right-to-left writing countries, the origin is in the upper right corner. cab Produkttechnik GmbH & Co KG...
The modifiers CLEAR and FILL have the following results (shown for the RECT command): RECT: frame in foreground color CLEAR RECT: frame in background color FILL RECT: filled area in foreground color CLEAR FILL RECT: filled area in background color cab Produkttechnik GmbH & Co KG...
- PEEK Variables: command type: description (S=string, I=integer, F=float „os“ S Delivers „cab A-Series“ - only for compatibility with Yabasic „version“ F Version of Yabasic „resolution“ F Resolution of printer in dpi „width“ F Maximum print width in mm „transparent“...
Page 402
S Returns the contents of the WINF buffer (similar to the ESC i command) „peelpos“ Returns a 1 if the label is in peel-off position. „manufacturer“ S Returns the manufacturer of the machine (e.g. „cab“). „machine“ S Returns the type and name of the printer (e.g. „A4+/300“). „firmware“...
Masks the LEDs to be lit. Independent of „lcd“-value. Same bit coding as „led“. A 0 masks the respective LED. „backlight“ Controls the backlight of the LCD if „lcd“ is 1. 1 is on, 0 is off, 2 is controlled by JScript (Default). cab Produkttechnik GmbH & Co KG...
Page 405
S Writes a value into the non-volatile user space (A+/Mach only). Max. 31 UTF-8 characters allowed. „syserror“ S Puts the first character of the string into the error message puffer. Allowed characters are the same as in the ESC s response. cab Produkttechnik GmbH & Co KG...
(i.e. /images, /labels, /fonts and /misc) on the card ° not yet implemented ¹ note: on A3 setting the baudrate on RS-422 sets the RS-232 baudrate too and vice versa! cab Produkttechnik GmbH & Co KG...
Unicode or ASCII file is automatically detected) „rb“, „wb“, „ab“ read, write and append without transforming (file reading and writing uses only low-byte of e.g. string) „wu“, „au“ write and append using Unicode cab Produkttechnik GmbH & Co KG...
Communication with Web Browsers: cab printers have a web server which is usually used for administration, but can also be used to access data like images or HTML pages from the card. So it is only logical to seek a way to transmit data from the browser to the printer.
Page 409
Small program to print a 100mm long ruler with 1mm markings: Example: ; Test label for ruler S l1;0,0,68,71,104 G 0,10,0;L:100,.1 <ABC> FOR X=0 TO 100 IF MOD(X,10) = 0 THEN PRINT "G ",X,",10,270;L:4,.1" ELSE PRINT "G ",X,",10,270;L:2,.1" END IF NEXT X </ABC> cab Produkttechnik GmbH & Co KG...
Page 410
A$="Rotated text with Euro sign: "+CHR$(DEC("20AC"))+" " N=LEN(A$) D=360/N FOR I=1 TO N W=((I-1)*D)/180*PI X=50-25*COS(W) Y=30-25*SIN(W) R=90-(I-1)*D IF R<0 THEN R = R + 360 ENDIF PRINT "T ",X,",",Y,",",R,",3,6,b;",MID$(A$,I,1) NEXT I PRINT "T 0,30,0,3,5;[J:c100]",date$ PRINT "T 0,38,0,3,5;[J:c100]",time$ </ABC> cab Produkttechnik GmbH & Co KG...
Page 411
Small program to show usage of local and static variables. Uses ASCII dump mode to show what happens: Example: <ABC> for a=1 to 4:stars():next a sub stars() static a$ local b$ a$=a$+"*" b$=b$+"*" print "; ",a$," ",b$ end sub </ABC> cab Produkttechnik GmbH & Co KG...
Page 413
10 if (number>=1 and number<=maxnum) then print „; „,number,“=“,names$(number) else print „; Sorry, can’t convert „,number endif next number error „Program finished“ label names data 9,“one“,“two“,“three“,“four“,“five“,“six“ data „seven“,“eight“,“nine“ </ABC> cab Produkttechnik GmbH & Co KG...
Page 414
REM read measured distance dy=PEEK(„mlength“) IF dy>0 BREAK PRINT „f“ WAIT 0.25 REM wait until standing again REPEAT REPEAT UNTIL (PEEK(„direction“)=0) LOOP PRINT „J“ PRINT „S l1;0,0,“,dy-2,“,“,dy,“,100" PRINT „T 0,10,0,3,5;Measured label distance: „,dy,“mm“ PRINT „A 1“ </ABC> cab Produkttechnik GmbH & Co KG...
Page 415
This program demonstrates the differences for file handling (a compactflash drive and a hex editor are useful to see the difference): Example: <ABC> a$=“Hello „+CHR$(DEC(„20AC“)) OPEN 1,“test.dat“,“w“ PRINT #1 a$ CLOSE 1 OPEN 1,“testu.dat“,“wu“ PRINT #1 a$ CLOSE 1 OPEN 1,“testb.dat“,“wb“ PRINT #1 a$ CLOSE 1 </ABC> cab Produkttechnik GmbH & Co KG...
Page 416
This demonstrates the file path and name handling of abc (it is necessary to have test.dat on the card, e.g. from the last demo program): Example: <ABC> PRINT „a“ PRINT „; test.dat: „,exists(„test.dat“) PRINT „; test.dat: „,exists(„TEST.DAT“) PRINT „; test.dat: „,exists(„/card/misc/test.dat“) PRINT „; test.dat: „,exists(„/CARD/TEST.dat“) PRINT „; test2.dat: „,exists(„test2.dat“) </ABC> cab Produkttechnik GmbH & Co KG...
Page 417
PRINT "T 0,8,0,5,5;Image width: ",w PRINT "T 50,8,0,5,5;Image height: ",h PRINT "T 20,64,0,5,5;Free memory: ",PEEK("freememory") PRINT "I 10,13,0;screw" PRINT "A1" </ABC> This sample shows the image size of the previously downloaded image in pixels cab Produkttechnik GmbH & Co KG...
Page 418
JScript interpreter: Here we convert data which drives another printer model into data which will be understood by a cab printer. The incoming data is shown on the next page. The program runs in a loop, always ready to receive new data.
Page 419
This is the original data that had been sent by a labelling software: The data below produced the same printout on another label printer. M3000 <STX>d <STX>e <STX>f260 <STX>O0220 <STX>V0 <STX>L 194300301480070Rot 19430030058017248 194300301970073Bernd Q0001 <STX>L 194300301480070gelb 19430030058017248 194300301970073Bertha Q0001 cab Produkttechnik GmbH & Co KG...
Page 420
PRINT #2 a$ CLOSE 2 CLOSE 1 rem FLUSH #0 PRINT „f“ </ABC> Here is text which would normally trigger protocol error. It is deleted by FLUSH #0, so the PRINT „f“ can work without problems. cab Produkttechnik GmbH & Co KG...
Page 421
Program to show how to „press“ a key using a program: Example: ; Label does an endless loop which is terminated by pressing „total Cancel“ <ABC> IF x=0 THEN POKE „key“,dec(„F090“) ENDIF LOOP </ABC> cab Produkttechnik GmbH & Co KG...
Variable day offset Hexadecimal counter (BASE 16,0-F) Invisible field on condition Memory card "reload" Automatic start with Pause Using Replace sequence and split the content Leading zero suppression after calculation Replacing graphics dynamically cab Produkttechnik GmbH & Co KG...
Variable day offset Example: ; variable day offset S l1;0,0,68,70,104 T:INPUT;0,0,0,5,pt1;[?:Input Dayoffset:] T 10,25,0,5,18;[DATE:INPUT,0,0] cab Produkttechnik GmbH & Co KG...
T 10,10,0,5,pt10;Labeltype 1 [I:TYPE1] T 10,20,0,5,pt10;Labeltype 2 [I:TYPE2] A different result appears on the label, depending on the input gthe printer prints only one line with the word "Labeltype 1" or "Labeltype 2" or both lines. cab Produkttechnik GmbH & Co KG...
This sample has to besaved on the printer´s memory card or IFFs etc. It will show "Article No.:" on the display, prints one label and shows "Article No.:" again after the label is printed. So we generated that this labelruns in a loop. cab Produkttechnik GmbH & Co KG...
Automatic start with pause Example: ; Automatic start with pause S l1;0,0,68,70,104 T 10,10,0,5,pt10;Pause before Print cab Produkttechnik GmbH & Co KG...
Example: ; Using Replace sequence and split the content ; Stored on CF Card (SAMPLE.LBL) S l1;0,0,68,70,104 T:CONTENT;0,0,0,5,pt1; T 10,10,0,5,pt10;[SPLIT:CONTENT,1] T 10,20,0,5,pt10;[SPLIT:CONTENT,2] T 10,30,0,5,pt10;[SPLIT:CONTENT,3] T 10,40,0,5,pt10;[SPLIT:CONTENT,4] ; Replacesequence M l LBL;SAMPLE R CONTENT;FIELD1-Content[U:GS]FIELD2-Content[U:GS]FIELD3- Content[U:GS]FIELD4-Content cab Produkttechnik GmbH & Co KG...
Leading zero suppression after calculation Example: ; Leading zero suppression after calculation S l1;0,0,68,70,104 T:COUNT;10,10,0,5,8;[SER:0001][C:] T:COUNT2;10,20,0,5,8;[*:COUNT,1][D:0,0] cab Produkttechnik GmbH & Co KG...
; Images LOGO1.BMP, LOGO2.BMP,LOGO3.BMP also on mem.card S l1;0,0,68,70,104 T 10,10,0,5,pt10;Dynamic Loading and placing of Graphics ; Replacesequence (from Host) M l LBL;SAMPLE M l BMP;LOGO1 I 10,20,0;LOGO1 M l BMP;LOGO2 I 10,20,0;LOGO2 M l BMP;LOGO3 I 10,20,0;LOGO3 cab Produkttechnik GmbH & Co KG...
The following pages show the available characters of the truetype fonts in the printer. Each character can be recalled by using the the unicode command [U..] Please note:The built in Bitmap fonts do not support Unicode. cab Produkttechnik GmbH & Co KG...
[SER:...] - Serial numbering 370, 371, 372, 373, 374 [TIME ] Print actual TIME 284 [U:x] Insert Unicode characters 378, 379 [UPPER:... ] Converts to upper case characters 380, 381 [wday... ] Print complete weekday name 295 cab Produkttechnik GmbH & Co KG...
Page 474
MSI (MSI Plessey) 152 B - Barcode PDF- 417 154 B - Barcode Maxicode 146 B - Barcode Add-On2 108 B - Barcode Codabar 114 B - Barcode Code 39 160 B - Barcode Code 93 122 cab Produkttechnik GmbH & Co KG...
Page 475
Bundespost DBP Barcode 128 C - Cutter Parameters 215, 216, 217 c - Direct cut 65 cab DataBase Connector commands 391 Calculate the Modulo 43 Checkdigit 334, 335 Calculates the Modulo 10 Checkdigit 333 cab Produkttechnik GmbH & Co KG...
Page 476
Define Files ( Extension ) 219, 220, 222, 223 Define Text Field 264 Denmark - country settings (l) 75 Digits - set number of 353 Direct cut (c) 65 directory path 247 Division 323 cab Produkttechnik GmbH & Co KG...
Page 477
Finland - country settings (l) 75 FNT 72 font effects 271 font list 86 Font Number 224, 225 Font types 264 fonts (scalable) query 81 form feed (f) 73, 74 Formfeed (ESCf) 44, 45 cab Produkttechnik GmbH & Co KG...