PRODUCT MARKING AND BARCODE IDENTIFICATION Programming Manual Thermal / Thermal Transfer Printers A-Series Apollo-Series Hermes-Series This function is available for: A-series Apollo Hermes valid for A-Series, Apollo-Series and Hermes -Series [TABLE OF CONTENTS] [COMMAND LIST] cab Produkttechnik GmbH & Co KG [ESC] [i] [L] [S] [INDEX] Edition 4.
PRODUCT MARKING AND BARCODE IDENTIFICATION cab Programming Manual valid for following printer types: A-Series © Apollo-Series © Hermes-Series © copyright © cab Produkttechnik GmbH & Co KG all rights reserved No parts of this manual may be copied, rewritten or used for anything else than for original cab printers.
PRODUCT MARKING AND BARCODE IDENTIFICATION This function is available for: A-series Apollo Hermes [TABLE OF CONTENTS] [COMMAND LIST] cab Produkttechnik GmbH & Co KG [ESC] [i] [L] [S] [INDEX] 3
PRODUCT MARKING AND BARCODE IDENTIFICATION Table of Contents Programming Manual copyright © cab Produkttechnik GmbH & Co KG ....................................................................... 2 Table of Contents ........................................................................................................................ 4 Introduction .................................................................................................................................
PRODUCT MARKING AND BARCODE IDENTIFICATION CHAPTER 3 - Immediate commands ............................................................................ 43 Immediate commands .............................................................................................................. - Starts the abc Basic Compiler...................................................................................... - Ends the abc Basic Compiler ...............................................................
PRODUCT MARKING AND BARCODE IDENTIFICATION C - Cutter Parameters ............................................................................................................. D - Global Object Offset ......................................................................................................... E - Define Files ( Extension ) .................................................................................................. F - Font Number ........................................................
PRODUCT MARKING AND BARCODE IDENTIFICATION [YYYY... ] Print 4-digit Year (1970-2069) ............................................................................ 188 Jalali Date functions ................................................................................................................ 189 Jalali Date functions ................................................................................................................ 189 Field Calculations and Comparisons .............................
PRODUCT MARKING AND BARCODE IDENTIFICATION POKE Variables: ..................................................................................................................... Streams: .................................................................................................................................. Modes: .................................................................................................................................... Notes: ............................................
PRODUCT MARKING AND BARCODE IDENTIFICATION Introduction IMPORTANT : We highly recommend to read the introduction first !! • The described commands and sequences are tested and approved with original cab printers. cab Produkttechnik cannot guarantee that all functions are available on OEM products.
PRODUCT MARKING AND BARCODE IDENTIFICATION Usage of this manual This manual is designed as online documentation. This page describes some details, how to navigate very easy to the requested commands and explains the meaning of some used icons. • Not all commands are available for all printer types. This can easily recognized on the sidebar of each page. A printer logo shows that a function is available, while a red filled circle shows that a functions not available for that printer family.
PRODUCT MARKING AND BARCODE IDENTIFICATION Hyperlinks in the text are in blue colours and underlined. This sign shows some important information. The information text is written in italic letters.
PRODUCT MARKING AND BARCODE IDENTIFICATION Print Positions: The Home position or "Zero point" of a label is shown on the picture below.The "Headline"appears first, as it is usual on all laser printers etc. Most users prefer to get the printed label "foot first" out of the printer. This can easily be done when the "O R" command is added to the shown examples. We did not add this command in the samples to keep a better overview. You may add this whenever it is required.
PRODUCT MARKING AND BARCODE IDENTIFICATION CHAPTER 1 - Overview 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.
PRODUCT MARKING AND BARCODE IDENTIFICATION 3. Label Format Commands Instructions with uppercase letters are used to describe the label itself. This has a fix structure, beginning with the startcommand, the description of the labelsize and description of each object in the label. At the end of the label the printer expects the amount of labels.
PRODUCT MARKING AND BARCODE IDENTIFICATION Programming cab printers - a simple lesson Target: Learn how easy it is to teach your printer to do what you want. Understand the language structure of J-script by testing the following sample. Get the feeling what might go wrong if the syntax is not correct. Modify this sample with other items of this manual Create your first label: 1. Connect your printer to the PC, select "Country United Kingdom" on the printer´s control panel.
PRODUCT MARKING AND BARCODE IDENTIFICATION ... and if it did not work as expected ? - Following problems may occur: 1. The printer receives no data: a: The wrong interface or wrong transmission speed is selected on your printer. - Check the interface settings in the setup menu of the printer b: Your interface is blocked by another application. c: The cable might be defect- check the connecting cable 2.
PRODUCT MARKING AND BARCODE IDENTIFICATION Command Overview The following pages are showing lists of all available printer commands Details are explained later in this manual.
PRODUCT MARKING AND BARCODE IDENTIFICATION ESC Commands ESCESC Replaces ESC in binary data ESC!ESC! Hard reset ESC* Activate all RS 485 printers ESC. Start and Stop value for binary data ESC: Start description of binary data ESC? Request for free memory.
PRODUCT MARKING AND BARCODE IDENTIFICATION Immediate Commands all Immediate commands are processed when a line end identifier is sent (CR, LF or CR/LF) start of "abc" (a-Series basic compiler) end of "abc" (a-Series basic compiler) ; comment Comment line a set printer in aSCII dump mode c Direct cut d t;name.... download data e t;name.... erase data f form feed g n;....
PRODUCT MARKING AND BARCODE IDENTIFICATION Label Format Commands All label format commands are processed when a line end identifier is sent (CR, LF or CR/LF) A [NO] n Amount of labels (end job/print) B [:name;] x, y, r, type,size,text Barcode field definition C cnt[,disp1[,disp2]] Set Cutter parameters Ce Set Cutter to end-of-job D x,y Global Object Offset (Distance to margins) E DBF;name Defines a DBF (database) file E LOG;name Defines a LOG file E TMP;name Defines TMP (temporary) seria
PRODUCT MARKING AND BARCODE IDENTIFICATION Special Content Fields Time and Date Functions [H12] Print Hour in 12-hour form (1-12) [H24] Print Hour in 24-hour form (0-23) [H012] Print H0ur in 12-hour form (01-12) -always 2 digits [H024] Print H0ur in 24-hour form (01-24) -always 2 digits [MIN] Print MINutes (00-59) [SEC] Print SEConds (00-59) [TIME] Print actual TIME in the format of the preset country (e.g.
PRODUCT MARKING AND BARCODE IDENTIFICATION Special Content Fields Jalali Date Functions [JYEAR{:+DD{,+MM{,+YY}}}] Print Jalali-YEAR, 4 digits [JDAY{:+DD{,+MM{,+YY}}}] Print Jalali-DAY [JDAY02{:+DD{,+MM{,+YY}}}] Print Jalali-DAY, 02 digits [JMONTH{:+DD{,+MM{,+YY}}}] Print Jalali-Month [JMONTH02{:+DD{,+MM{,+YY}}}] Print Jalali-Month,02 digits [jmonth{:+DD{,+MM{,+YY}}}] Print Jalali-Month, complete name [JDOFY{:+DD{,+MM{,+YY}}}] Print Jalali-Day OF Year [JWDAY{:+DD{,+MM{,+YY}}}] Print Jalal
PRODUCT MARKING AND BARCODE IDENTIFICATION Special Content Fields Field Calculations and Comparisons [+:op1,op2. . ,] Addition [-:op1,op2] Subtraction [*:op1,op2. . ,] Multiplication [/ :op1,op2] Division [%: op1,op2] Modulo [|:op1,op2] Logical Or (Result 1, if minimum one operator is not equal to 0) [&:op1,op2] Logical And (Result 0, if min.
PRODUCT MARKING AND BARCODE IDENTIFICATION Special Content Fields Special functions (miscellaneous) * * * [?:x,y,z,{D},{Lx},{Mx},{R},{J}] Prompt line on the printer´s display [C:fill{,base}] Leading zero replacement [D:m,n] Set number of Digits to print [DBF:keyfield,keyvalue,entryfield] DataBase Field [I] Invisible fields [J:ml] Justification [LOWER:x] Converts the input data in lower case characters [name] Access a field with a name [name,m{,n}] Insert substring from another fiel
PRODUCT MARKING AND BARCODE IDENTIFICATION Special Content Fields Database Connector commands * [SQL:Select field from table where Searchvalue ] Query function *) available for the A - series only This function is available for: A-series Apollo no Hermes no [TABLE OF CONTENTS] [COMMAND LIST] cab Produkttechnik GmbH & Co KG [ESC] [i] [L] [S] [INDEX] 25
PRODUCT MARKING AND BARCODE IDENTIFICATION All measurements of the examples in this manual are in millimeters ! They will not work properly when "country" ist set to USA in the printer´s setup menu. Select "Country = United Kingdom" in the setup menu of the printer, or add "m m CR" for metric measurement setting in the first line of your label sample.
PRODUCT MARKING AND BARCODE IDENTIFICATION CHAPTER 2 - ESC Commands ESC commands are responsible for status queries, control functions, memory management etc. and are usually executed immediately, i.e. even if a printing job runs. They are not absolutely required to print labels, but they offer additional features and possibilities. ESC commands cannot be handled by the most text editors. All other commands can be transmitted to the printer by using simple text editors.
PRODUCT MARKING AND BARCODE IDENTIFICATION ESCESC Replaces ESC in binary data ESC ESC is used to replace single ESC (ASCII 27 or Hex 1D) in binary data to avoid unexpected reactions of the printers if graphics or fonts are downloaded. Graphics or fonts may contain data which is identical to a ESC printer command. Replacing these ESC characters in double ESCs will tell the printer that this is part of a graphics or part of a font.
PRODUCT MARKING AND BARCODE IDENTIFICATION ESC!ESC! Hard Reset forces the printer to perform a hard reset. This has the same effect as turning the printer off and on again.
PRODUCT MARKING AND BARCODE IDENTIFICATION ESC* Activate all RS-485 printers activates all printers in a RS-485 network Syntax: ESC* Note: All printers have to be setup with the correct RS-485 network ID. This can be done with the printer´s control panel (see operator´s manual). This command can only be used in a RS-485 network ! Each network ID must be unique, otherwise data crash will be the result. A maximum of 26 printers is allowed in a RS-485 network. Valid RS-485 network adresses are A...
PRODUCT MARKING AND BARCODE IDENTIFICATION ESC. Start and stop value for binary data Start and Stop value for binary data. Syntax: ESC. To transmit binary data -such as graphics or fonts etc. - it is highly recommended to use this method of data transmission. All ESC characters in a binary file have to be replaced by a double ESC (ESCESC) to avoid unexpected reactions by the printer.
PRODUCT MARKING AND BARCODE IDENTIFICATION ESC: Start description of binary data Start description of binary data Syntax: ESC: cab printers offer a limited possibility to download data without converting them previously. (see also ESC.) In this case ESC: is required as start sequence, followed by the binary data and finished with ESCend-of-data. Note: The binary data cannot contain any ESC character (ASCII 27 or HEX 1B) ! This would be automatically misinterpreted by the system.
PRODUCT MARKING AND BARCODE IDENTIFICATION ESC? Request for free memory query for free printer memory input buffer - printer returns a response of 0...9 through its interface. Syntax: ESC? value 0 = 1 = 2 = 3 = 4 = 5 = 6 = 7 = 8 = 9 = percentage of used memory 0-9% 10-19% 20-29% 30-39% 40-49% 50-59% 60-69% 70-79% 80-89% 90-99% Note: The response for free memory on Apollo and Hermes printers is only possible through the serial interface.
PRODUCT MARKING AND BARCODE IDENTIFICATION ESC A - ESC Z Activate individual RS-485 printer selects the specified printers in a RS 485 network. Syntax: ESCA-ESCZ Valid addresses are from A - Z (26 characters) The preselection of the RS-485 addresses is done through the printer´s setup menu.
PRODUCT MARKING AND BARCODE IDENTIFICATION ESCa - abc-status Request for abc-status (A-Series, firmware 2.
PRODUCT MARKING AND BARCODE IDENTIFICATION ESCc - Cancel Printjob The current printjob will be cancelled when this command is received by the printer. Equivalent to pressing the "CANCEL" button on the printer. Syntax: ESCc Additional labels are processed if they are in the buffer.
PRODUCT MARKING AND BARCODE IDENTIFICATION ESCend-of-data End description of binary data End description of binary data Syntax: ESCend-of-data 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.
PRODUCT MARKING AND BARCODE IDENTIFICATION ESCf formfeed formfeed - This command is equal to pressing "form feed" on the navigator pad. Syntax: ESCf One label will be feed immediately when this command is received.
PRODUCT MARKING AND BARCODE IDENTIFICATION ESCp0 End printer´s pause mode ends the printer´s pause mode. The PAUSE LED on the printer´s front panel extinguishes and the printjob in the buffer proceeds. Syntax: ESCp0 Note: This command cancels also existing errors when they are shown in the display of A-series printers. - Same function like pressing the PSE button on the navigatior pad.
PRODUCT MARKING AND BARCODE IDENTIFICATION ESC p1 Set printer into pause mode causes the printer immediately to set the pause mode.
PRODUCT MARKING AND BARCODE IDENTIFICATION ESC s Printer status query ESC s Printer status query,which responds through the interface Syntax: Example: ESCs XYNNNNNNZ where: X = Online (Y=Yes, N=No) Y = Type of error: NNNNNN = amount of labels to print Z = Interpreter active (Y=Yes = print job is in process, N=No= printer in Standby mode) - --------------------------------------------------------------------------------- No error a ---- Applicator error- -------------------------- applicator in upper
PRODUCT MARKING AND BARCODE IDENTIFICATION ESC t total cancel ESC t = total cancel - terminates the actual printjob and clear the complete input buffer. Resets also errors in the display. Same effect like pressing "Cancel" button on the control panel multiple times. Syntax: ESC t Please see also ESCc which cancels only the actual printjob.
PRODUCT MARKING AND BARCODE IDENTIFICATION CHAPTER 3 - Immediate commands Immediate commands Instructions with 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.
PRODUCT MARKING AND BARCODE IDENTIFICATION - Starts the abc Basic Compiler This command starts the internal Basic compiler of the A-series printers . The Basic compiler offers the functions of a the programming language "YABASIC" and requires a good programming knowledge. The usage of the basic compiler is to convert incoming data into a format which can be processed by the printer (J-script).
PRODUCT MARKING AND BARCODE IDENTIFICATION - Ends the abc Basic Compiler Sets the end mark for the abc compiler (internal BASIC language) Syntax: CR See also: - Start the abc Basic Compiler.
PRODUCT MARKING AND BARCODE IDENTIFICATION ; - Comment line The semikolon " ; " is used to identify a comment line. Comments may be placed anywhere in your program code, in a separate line. Comment lines are ignored by the printer. Comment lines are very helpful to keep a better overview on the programming data.
PRODUCT MARKING AND BARCODE IDENTIFICATION a - ASCII Dump Mode The a command starts the ASCII dump mode. The ASCII dump mode shows all received data and is a very important instrument to detect wrong data in the program code. The printer´s LCD panel shows "ASCII dump mode" in the selected language. All received data is printed "tranparent" and the printer doesn´t interpret it.
PRODUCT MARKING AND BARCODE IDENTIFICATION Direct cut c - Direct cut The c ommand forces the printer to cut immediately whe nit is received. If required, the printer will do formfeed before the cut is processed. This command is not available for the Hermes - Series. Syntax: c CR The printer shows "Protocol error" on it´s display when no cutter is attached.
PRODUCT MARKING AND BARCODE IDENTIFICATION d - download data The d command is used to download data files to the printer. It is used to download graphics, fonts, databases and serial files.Two methods are available to download such data to the printer: 1st Method: The procedure which we highly recommend, unless this requires that the data has to be prepared for downloading.
PRODUCT MARKING AND BARCODE IDENTIFICATION d - download data We recommend to use monochrome graphics only! The resolution should not be higher than the printer´s printhead resolution. name = Filename to be downloaded with a maximum length of 8-digits. This filename will be recalled on later programming. [SAVE] = This optional parameter is used for downloading to the printer´s memory card. (The memory card commands (M ...
PRODUCT MARKING AND BARCODE IDENTIFICATION d - download data Example: d TTF;ARIAL ESC: data ESCend-of-data We highly recommend to use the 1st Method for data download !! Example: d DBF;CDPlayer [SAVE]CR ESC.binarydata ESC. Downloads the database file CDPlayer.DBF to the printer. Database files have to be downloaded with [SAVE] option, as they are only used together with the memory card. This function is useful for "small" databases. Big databases need a long search time for single records.
PRODUCT MARKING AND BARCODE IDENTIFICATION e - erase data The e command is used to erase data from the printer´s memory, such as fonts and graphics. Dataon the memorycard will not be affected by this sequence. Separate commands are available for erasing files from the memory card. ("M" command) Syntax: Example: e type;name CR e = erase data command type = The file types being removed, with following valid file extensions: BMP,FNT,GIF, IMG,MAC,PCX, PNG,TIF,TTF.
PRODUCT MARKING AND BARCODE IDENTIFICATION f - formfeed This command feeds the media forward until the top-of-form of the next label reaches the printhead. It does the same as pressing the FormFeed button on the printer´s control panel. This process is controlled by the label photocell if die cut label material is used. The printer feeds the material in continuous form mode in the lentgh which had been selected for the last printed label.
PRODUCT MARKING AND BARCODE IDENTIFICATION g - generate font cache Scaling fonts in the printer´s memory needs lot of calculation and requires additional processing time. This is sometimes visible, when the data changes from label to label, combined with high speed printing . The printers use an internal cache to handle characters which have been printed before, but this takes effect earliest if a couple of labels had been printed.
PRODUCT MARKING AND BARCODE IDENTIFICATION g - generate font cache Syntax for generating a font cache for barcode fields: Syntax: g B;type[:length,]r,size[;description] CR g = command for generating font cache B = caching barcode type = barcode type. Valid names are described in the chapter "barcode definition". length optional parameter- barcodes without a fixed length, such as code 39 or code 128 require this additional information.The length must include readable checkdigits.
PRODUCT MARKING AND BARCODE IDENTIFICATION g - generate font cache Example: g T;Swiss,0,pt12;0aA This example calculates all numbers, lower case characters and upper case characters for the font type "Swiss". Example: g B;Code93:14,20,0.
PRODUCT MARKING AND BARCODE IDENTIFICATION l - Change Language ( country ) Date format, currency, measurement etc. are changed with this command to the country specific values. Time and date will be printed as it is usual in the specified country. (See also "Special Content Fields) The display on the printers LCD will not be changed. (This can be done using the printer´s setup through the control panel) Syntax: l name CR l = Change language/country command.
PRODUCT MARKING AND BARCODE IDENTIFICATION m - set measuring unit This command sets the measuring unit for the following label data. Once it is sent, all following settings in a label are measured in the selected unit. The printer´s default value depends on the selected display language. For all selectable countries the measurement is millimeters, with the exception when country USA was set through the control panel.
PRODUCT MARKING AND BARCODE IDENTIFICATION p - pause Printer The printer is set in the pause mode or removes it from pause - depending on the parameter. Syntax: p n CR n = 0 Pause off n = 1 Pause on Example: p 1 Sets the printer into pause mode, if a print job runs, it will stop after the label is printed. The Pause LED lights on the front panel.
PRODUCT MARKING AND BARCODE IDENTIFICATION q - query Printer The query printer command is used to get multiple information back from the printer and is e.g.. used to find out if a font or a picture exists, so that has not to be downloaded a second time. Th q command responds through the printer´s interface, which means that this can be used with the serial interfaces only on Hermes and Apollo - series printers. A-Series printers can use all available interfaces.
PRODUCT MARKING AND BARCODE IDENTIFICATION q - query Printer Syntax: q l;name CR Query for label. Requests if the label ( LBL ) file called "name"is available. Syntax: q m 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 Syntax: q p CR Query for peripheral equipment. Reports the type of peripheral devices that are connected.
PRODUCT MARKING AND BARCODE IDENTIFICATION r - reset to default values This command resets the printer to its default values as they have been set at startup. It has the same function as switching the printer off and on again.
PRODUCT MARKING AND BARCODE IDENTIFICATION s - set Date/Time used to set date and time temporarily to be recalled on a label. The printer´s internal clock chip and enables the user to recall time or date from the printer´s internal clock. (A-Series only - since firmware version 2.78 the time is also chnaged on the printer´s internal real time clock) This is useful when the printer is driven in stand alone mode, where no external data source is available.
PRODUCT MARKING AND BARCODE IDENTIFICATION t - 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 statusinformation may look different on different printer types. Information about optional equipment, such as interfaces, cutter etc. will only be shown if they are attached.
PRODUCT MARKING AND BARCODE IDENTIFICATION t - Run Printer Self-test The label below shows a list of the printer´s internal fonts. If addionally downloaded, True type fonts will also be shown on the printout in their actual shape. (see the font list below) Example: t1 prints a label with a list of all existing fonts (A-series only !!) A detailed description about the internal fonts is shown later in the manual where the usage of textfields is described.
PRODUCT MARKING AND BARCODE IDENTIFICATION t - Run Printer Self-test Example: t0 prints the status information (here A3-300) The status printout is different when printed by different printer types This function is available for: A-series Apollo Hermes [TABLE OF CONTENTS] [COMMAND LIST] 66 [ESC] [i] [L] [S] [INDEX] cab Produkttechnik GmbH & Co KG
PRODUCT MARKING AND BARCODE IDENTIFICATION v - Firmware version 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 A3-300 printer will respond following string: 2.
PRODUCT MARKING AND BARCODE IDENTIFICATION x - Synchronous Peripheral Signal Settings The signal bits of the peripheral connector for external connections can be set with this command. (The peripheral interface is standard on the Apollo -series printers and is available on A-series printers if optional equipment, such as cutter etc. is attached ) This command controls the status of the output pins.
PRODUCT MARKING AND BARCODE IDENTIFICATION z - print slashed / unslashed zero The default setting for the zero character is unslashed. With this command the printer can forced to change the style of the zero character. It can be printed as 0 (unslashed) or Ø (slashed). This command can only be used with internal bitmap - fonts. It is not available for internal vectorfonts (Swiss, Monotype) or for truetype fonts: The selected method is valid for the complete label.
PRODUCT MARKING AND BARCODE IDENTIFICATION CHAPTER 4 - Label Format Commands Label Format Commands Instructions with uppercase letters are used to describe the label itself. This has a fix structure, beginning with the start command, the description of the labelsize and description of each object in the label. 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.
PRODUCT MARKING AND BARCODE IDENTIFICATION A - Amount of Labels The A command is used to define the end of the label definition and it sets the amount of labels to be printed. The printer repeats internally the defined label where the amount is defind by this command. The label will stay in the printer´s interal buffer, after it has been sent to the printer. sending the A command multiple times afterwards will print the amount of labels which is specified by the A command.
PRODUCT MARKING AND BARCODE IDENTIFICATION A - Amount of Labels Example: J S l1;0,0,68,71,100 T 25,25,0,3,8;Suppress Printout A [NOPRINT] Transmits the label for further usage into the label buffer. The Printout is suppressed with the [NOPRINT] option. It is also possible to shorten the [NOPRINT] option into [NO] - which has the same function.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Definition The B command defines a barcode field in the label format. The most common barcode types are supported by the cab printers. The available barcodes depend on the printer type. All described barcodes are available at the Aseries printers, while the amount of barcode types at Hermes and Apollo is limited. This has historical reasons, as the A-series is the most actual printer family.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Definition y The y - coordinate is the vertical start position of a barcode, the distance between the top margin of a label and the upper left corner of the barcode. The maximum coordinate depends on the printer type. Please refer to the operator´s manual. r Rotation - Rotates a barcode in 4 directions. Valid values are 0, 90, 180 and 270. Measurement in degrees. type Barcode type - This defines the barcode symbology.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Definition [+options] Depending on the barcode type, several options are available. Which option is valid for which barcode is described for each barcode type on the next pages.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Definition size defines the height and width of the bars in a barcode. Height and narrow element is defined for ratio oriented barcodes. For EAN, JAN or UPC it is also possible to define the standard code size which is expressed through "SCx". The height calculation includes the human readable characters if enabled. height Defines the barcode height in the pre selected measurement - millimeters or inches.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Definition A-series 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. Check the barcode witdh, height and x / y positions to make sure that the barcode is placed correct. This improvement is not available for Apollo and Hermes printers.
PRODUCT MARKING AND BARCODE IDENTIFICATION Barcode overview list Size options on ratio barcodes are different to the size options of non ratio barcodes. Capital letter for the barcode name produce barcodes with human readable text line, as far as this is defined in the barcode specs. Capital or lower case letters have no influence on barcodes which are not specified to have a human readable textline.
PRODUCT MARKING AND BARCODE IDENTIFICATION Each barcode has its 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 ! Available check digits: MOD 10 (numerical data only). MOD 10 (for MSI is calculated different (Weighting 2/1 instead of 3/1).
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Barcode type: 2 of 5 Interleaved 2 of 5 Interleaved Length: Valid characters: variable, always even. numeric, digits: 0-9, check digits: ratio oriented: optional yes Encodes numbers in pairs The 2 of 5 interleaved (interleaved 2/5) is a numerical barcode which encodes the numbers pairwise. Automatically a leading zero is added, if the number is odd. Interleaved 2of 5 can be printed very small as it contains only numeric values.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Example: 2 of 5 Interleaved J S l1;0,0,68,71,100 B 5,5,0,2 OF 5 INTERLEAVED,10,.3,3;1234567890 B 5,20,0,2of5interleaved+BARS,10,.3,3;1234567890 B:Bar3;5,35,0,2OF5 INTERLEAVED+MOD10,10,.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Barcode type: Add-On2 Add-on2 (EAN/UPC Addendum 2) Length: Valid characters: fixed 2-digits numeric only check digits: ratio oriented: no yes Add-On2 is an addendum code which is used together with EAN or UPC barcodes. Mainly used for magazines to diplay the magazine publication release (normally a 2 digit number of the week or month) The size must fit to the printed size of the EAN or UPC code. We recommend to use SC sizes with this barcode.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Example: Add-On2 J S B B A l1;0,0,68,71,100 10,5,0,EAN13 ,SC2;402345607891 45,5,0,ADDON2,SC2;09 1 This function is available for: A-series Apollo Hermes [TABLE OF CONTENTS] [COMMAND LIST] cab Produkttechnik GmbH & Co KG [ESC] [i] [L] [S] [INDEX] 83
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Barcode type: Add-On5 Add-on5 (EAN/UPC Addendum 5) Length: Valid characters: fixed - 5 digits numeric only check digits: ratio oriented: no yes Add-On5 is an addendum code which is used together with EAN or UPC barcodes. Mainly used for books (ISBN number) and magazines to diplay the magazine publication release or the price. The size must fit to the printed size of the EAN or UPC code. We recommend to use SC sizes with this barcode.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Example: Add-On5 J S B B A l1;0,0,68,71,100 10,5,0,EAN13, SC2;402345607891 45,5,0,ADDON5,SC2;00399 1 This function is available for: A-series Apollo Hermes [TABLE OF CONTENTS] [COMMAND LIST] cab Produkttechnik GmbH & Co KG [ESC] [i] [L] [S] [INDEX] 85
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Barcode type: Codabar Codabar Length: Valid characters: check digits: ratio oriented: variable numeric, special characters: - $: /. + and special start stop codes (A,B,C,D) yes (Mod 16) yes Each character of this barcode is built with 7elements (bars and spaces), where the spaces do not contain information.Codabar ist mostly used in medical environments for photo laboratories and libraries.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Example: Codabar J S B B B A l1;0,0,68,71,100 5, 5,0,CODABAR, 12,.3,3;A12345678A 5,20,0,CODABAR, 12,.3,3;A23456789C 5,35,0,CODABAR+MOD16,12,.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Barcode type: Code 39 Code 39 (Code 3 of 9) Length: Valid characters: check digits: ratio oriented: variable alphanumeric, uppercase A-Z, digits: 0-9, special characters: $ / + % .- and space no yes Start/ Stop characters are added automatically. Invalid characters are automatically transformed into spaces. Start/stop characters will be printed as " * " when the option +XHRI (Extended Human Readable Interpretation) is used.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode This barcode shows the functionality of the WSarea Example: Example: Code 39 J S B B B B A l1;0,0,68,71,100 5, 5,0,CODE39,10,0.3,3;CAB A3 5,20,0,code39,10, .3,3;CAB A3 5,35,0,CODE39+XHRI,10,0.3,3;CAB A3 5,50,0,CODE39,10,.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Barcode type: Code 93 Code 93 Length: Valid characters: variable alphanumeric, encodes all128 ASCII characters including control characters check digits: ratio oriented: yes no Code 93 is a alphanumeric barcode which can contain all 128 ASCII characters including the control characters. The checksum is automatically calculated by the cab printers.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Example: Code 93 J l1;0,0,68,71,100 5, 5,0,CODE93+XHRI,16,.28,3;ABC123 5,24,0,code93, 16,.28,3;ABC123 5,44,0,CODE93+BARS, 16,.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Barcode type: Code 128 Code 128 Length: Valid characters: variable all 128 ASCII characters check digits: ratio oriented: yes (MOD 103) no Code 128 has a modulo 103 check digit which is the standard check digit of this barcode. 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 written in the code 128 specification.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Code 128 [+options] = +WSarea, White Space area prints quiet zone markers around the bar code, to make sure that the barcode can be read after printing. This option is for design purposes only and should be removed after the label is programmed. +MODxx, offers the possibility to add a modulo check digit to the barcode. +BARS Prints boundary lines above and below the barcode. Can be used for a better readability.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Barcode type: Data Matrix Datamatrix Length: Valid characters: 2D - Barcode alpha numeric all 128 ASCII characters The Data Matrix symbol is a 2 Dimensional symbology used to encode large amounts of text and data securely and inexpensively. Up to about 2335 ASCII characters can be encoded in a Data Matrix symbol.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Example: Data Matrix J S B B B B A l1;0,0,68,71,100 25, 5,0,DATAMATRIX,1;30Q324343430794
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Barcode type: DBP - German Post Identcode DBP - German Post Identcode Code (DBP - Ident- und Leitcode der Deutschen Bundespost) Length: Valid characters: 11 or 13 digits numeric, check digits: ratio oriented: yes yes 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.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Example: DBP - German Post Identcode J S l1;0,0,68,71,100 B 5,10,0,DBP,10,.3;2134807501640 B 60,10,0,DBP,10,.3;56.310.243.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Barcode type: EAN-8 / JAN-8 EAN-8 / JAN-8 (European / Japanese Article Numbering) Length: Valid characters: fixed - 8 digits numeric, digits: 0-9, check digits: ratio oriented: yes no 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. JAN 8 is the japanese version of EAN 8.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Example: EAN-8 / JAN-8 J S B B B A l1;0,0,68,71,100 10, 5,0,EAN8, SC1;4023456 10,26,0,EAN8,16,.35;4023456 10,44,0,JAN8,16,.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Barcode type: EAN-13 / JAN-13 EAN-13 / JAN-13 (European / Japanese Article Numbering) Length: Valid characters: fixed - 13 digits numeric, digits: 0-9, check digits: ratio oriented: yes no 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.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Example: EAN-13 / JAN-13 J S B B B A l1;0,0,68,71,100 10, 5,0,EAN13, SC1;402345607891 10,30,0,EAN13,16,.35;270072610950 10,48,0,JAN13,16,.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Barcode type: EAN 128 / UCC 128 EAN 128 / UCC128 Length: Valid characters: variable ASCII characters check digits: ratio oriented: yes (Mod 103) yes EAN = European Article Numbering UCC = Uniform Code Council EAN 128 / UCC 128 is based on Code 128 and contains shipping information. It has very specialized contents which are described in the barcode specs of the responsible organisation.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Example: EAN 128 / UCC 128 J S B B B A l1;0,0,68,71,100 5, 5,0,EAN128,12,.3;(00)345678901234567890 5,20,0,UCC128,12,.3;(00)345678901234567890 5,35,0,EAN128, 12,.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Barcode type: FIM FIM (Facing Identification Mark) Length: Valid characters: fixed A,B,C or D check digits: ratio oriented: yes (Mod 16) yes FIM Code is a barcode which is used by some postal organisations and contains only 4 patterns: A, B, C or D. FIM (Facing Identification Mark) is designed for automatic mail sorters.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Example: FIM J S B B B A l1;0,0,68,71,100 5, 5,0,FIM,16,.3,3;A 5,24,0,FIM,16,.3,3;B 5,44,0,FIM, 16,.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Barcode type: HIBC (Health Industry Barcode) HIBC Length: Valid characters: check digits: ratio oriented: variable alphanumeric, uppercase A-Z, digits: 0-9, special characters: $ / + % .- and space yes (Mod 43) yes HIBC (Health Industry Barcode) is a modified Code 39 with amodulo 43 checkdigit and added start and stop characters. Leading "+"characters need to be added manually to the data string.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Example: HIBC (Health Industry Barcode) J S B B B A l1;0,0,68,71,100 5, 5,0,HIBC,12,.3,3;+123AB78 5,18,0,hibc,12,.3,3;+123AB78 5,33,0,HIBC, 12,.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Barcode type: Maxicode MaxiCode Length: Valid characters: 2D alphanumeric Uses different Modes Used for transportation industry Maxicode is a fixed-size matrix barcode which prints hexagonal dots arround a circled finder pattern. This barcode is used by UPS for package tracking. Following modes are available: Mode 2- developed for the transport industry, Mode 2 encodes zip codes as numeric data. Usage in USA.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Example: Maxicode J S l1;0,0,68,71,100 B 25,5,0,Maxicode+MODE2;76131,260,999,Paket for cab Produkttechnik GmbH B 60, 5,0,Maxicode+ws2+mode4;MaxiCode (19 charcters) B 25,35,0,Maxicode+MODE4;Paket for cab Produkttechnik GmbH B 60,35,0,Maxicode+MODE6;Paket for cab Produkttechnik GmbH A 1 This function is available for: A-series Apollo Hermes [TABLE OF CONTENTS] [COMMAND LIST] cab Produkttechnik GmbH & Co KG [ESC] [i] [L] [S] [INDEX] 109
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Barcode type: Micro PDF 417 Micro PDF 417 Length: Valid characters: 2D - Code ASCII characters ( more than 1000 bytes ) Micro PDF 417 is a multi-row symbology based on PDF 417 and designed for applications requiring a greater area efficiency but lower data capacity than PDF417.Micro PDF 417 has a fixed level of error correction. MicroPDF417 provides for three encoding modes: Text Byte and Numeric compaction.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Barcode type: Example: Micro PDF 417 Micro PDF-417 J S 0,0,68,71,100 B 10,10,0,Micro+COLS2,3,.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Barcode type: MSI (MSI Plessey) MSI (MSI Plessey) Length: Valid characters: variable numeric, check digits: ratio oriented: yes (Mod 10) yes The MSI Plessey code is a numeric barcode with variable length and a modulo 10 check digit which is automatically added by the printer. Additional modulo check digits can be added to this code.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Example: MSI (MSI Plessey) J S B B B A l1;0,0,68,71,100 5, 5,0,MSI,12, .3,2;1234567890 5,20,0,MSI+MOD10,12,.3,2;1234567890 5,35,0,MSI+MOD11,12,.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Barcode type: PDF417 PDF-417 Length: Valid characters: 2D - Barcode alphanumeric PDF417 is a high-capacity two dimensional bar code. A PDF417 symbol can hold approximately 2000 characters of information. The key characteristic of PDF417 is its large information capacity. This also explains its name. "PDF" stands for Portable Data File. PDF417 is designed with enough capacity to contain an entire data file of information.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Example: PDF417 J S l1;0,0,68,71,100 B 2, 5,0,PDF417+EL0,.1,.38,1;cab Produkttechnik GmbH[U:13][U:10]Wilhelm Schickard Strasse[U:13][U:10]D-76131 Karlsruhe B 2,35,0,PDF417+EL3,.1,.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Barcode type: Plessey Plessey Length: Valid characters: variable A-F and 0-9 check digits: ratio oriented: no no Plessey Barcode is a seldom used barcode which encoding possibilities are limited, as only numbers an 6 characters are encoded Syntax: B[:name;]x,y,r,PLESSEY,[+options],height,ne,ratio;text CR [+options] = +WSarea, White Space area prints quiet zone markers around the bar code, to make sure that the barcode can be read after pr
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Example: Plessey J S B B A l1;0,0,68,71,100 5,20,0,PLESSEY+BARS,12,.3,2;1234567890 5,35,0,plessey, 12,.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Barcode type: Postnet Postnet Length: Valid characters: variable - normally 9 characters numeric, check digits: ratio oriented: no no Postnet is a barcode which is exclusively used in USA by the US Post Service. It contains data to route letters to the correct location.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Example: Postnet J S B B A l1;0,0,68,71,100 10, 5,0,postnet,20,.35;442120798 10,20,0,POSTNET, 20,.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Barcode type: QR-Code QR-Code Length: Valid characters: 2DCode alpha numeric Omni-directional ultra-fast reading error correction capability QR (Quick Response) Code, is a matrix symbology consisting of an array of nominally square cells, allows omni-directional, high-speed reading of large amounts of data. Widely implemented in Japan, used in the automotive industry.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Example: J S B B B B G G H A QR-Code l1;0,0,68,71,104 52,32,0,QRCODE+ELL+MODEL2+WS2,1;Hello world! 52,28,90,QRCODE+ELL+MODEL2+WS2,1;Hello world! 48,28,180,QRCODE+ELL+MODEL2+WS2,1;Hello world! 48,32,270,QRCODE+ELL+MODEL2+WS2,1;Hello world! 0,0,0;L:104,3 0,65,0;L:104,3 150,-5,T 5 This function is available for: A-series Apollo no Hermes no [TABLE OF CONTENTS] [COMMAND LIST] cab Produkttechnik GmbH & Co KG [ESC] [i] [L] [S] [INDEX] 121
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Barcode type: UPC-A UPC-A Length: Valid characters: fixed - 12 digits numeric only digits: 0-9, check digits: ratio oriented: yes (Mod 10) no 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.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Example: UPC-A m J O S B B A m R l1;0,0,68,71,100 10,5,0,UPC-A,20,.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Barcode type: UPC-E UPC-E Length: Valid characters: fixed - 8 digits numeric, digits: 0-9, check digits: ratio oriented: yes (Mod 10) no 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.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Example: UPC-E J S B B A l1;0,0,68,71,100 10, 5,0,UPC-E,20,.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode Barcode type: UPC-E0 UPC-E0 Length: Valid characters: fixed - 8 characters * numeric check digits: ratio oriented: yes (Mod 16) yes UPC-E0 is a numerical barcode with 8 characters. The 8th character is the check digit. The check digit is calculated automatically by the printer. Invalid characters are converted into zeroes. * A zero suppression converts the barcode into a more compact version.
PRODUCT MARKING AND BARCODE IDENTIFICATION B - Barcode UPC-E0 Example: J S B B A l1;0,0,68,71,100 10, 5,0,UPCE0,20,.
PRODUCT MARKING AND BARCODE IDENTIFICATION C - Cutter Parameters The C command is used to set the parameters for the cutter. The cutting command uses the label counter to cut after a specified amount of printed lables or can be set to cut at the job end.
PRODUCT MARKING AND BARCODE IDENTIFICATION D - Global Object Offset The D command is used to move the complete label content to the specified location. All objects positions are influenced by this command. The starting point for the label contents is shifted by this values. The usage of this command is normally if new label stock is used which is not identical to the label stock which was used up to now. this might be that theside margin of the liner iswider or smaller than before.
PRODUCT MARKING AND BARCODE IDENTIFICATION E - Define Files ( Extension ) Databases, serial files, SQL files, RFID types and log files are defined with this command for the use together with the printer´s memory card.
PRODUCT MARKING AND BARCODE IDENTIFICATION E - Define Files ( Extension ) Example: E LOG;PROTOCOL Defines the log file PROTOCOL.LOG for use on printer´s optional memory card. Used together with the [RLOG] und [WLOG] text options. Filenames have to be in the 8.3 format (8 characters name and 3 characters extension) Example: E SQL;192.168.0.56:1001 Defines the IP - adress of an external database server. (A-series only with specific network card).
PRODUCT MARKING AND BARCODE IDENTIFICATION F - Font Number The F command assigns an alternate number to a font name. The reason for this command is to simplify the font handling, keeping a better overview on the used fonts in a label and enables the programmer to exchange a font in a label very easy. The resident fonts in the cab printers have fixed names, but they can be redifined with this command. Once the font number is defined it is valid for the complete label.
PRODUCT MARKING AND BARCODE IDENTIFICATION 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. Maximum length 10 characters, no special characters allowed, fieldname must be unique.
PRODUCT MARKING AND BARCODE IDENTIFICATION G - Graphic Field Definition [,options]= ,fill = filling of the graphic object with a specified pattern or with dot density. (see graphic option "fill") ,shade = 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.
PRODUCT MARKING AND BARCODE IDENTIFICATION G - Graphic Definition - Circle Graphic Type: C - Circle, Ellipse Syntax: G[:name;]x,y,r;C:radius1[,radius2[,width]][,options] CR G = [:name;] = Graphic field definition command. Optional field name. Maximum length 10 characters, no special characters allowed, field name must be unique. The field name can be used for further operations, such as Replace field name (See the "R" command for details) or just as a comment.
PRODUCT MARKING AND BARCODE IDENTIFICATION G - Graphic Definition - Circle Example: J S G G G A l1;0,0,68,71,100 65,50,0;C:25,10,.
PRODUCT MARKING AND BARCODE IDENTIFICATION G - Graphic Definition - Line Graphic Type: Syntax: L - Line G[:name;]x,y,r,L:length,width[,start[,end]][,options] CR G = [:name;] = Graphic field definition command. Optional field name. Maximum length 10 characters, no special characters allowed, field name must be unique. The field name can be used for further operations, such as Replace field name (See the "R" command for details) or just as a comment.
PRODUCT MARKING AND BARCODE IDENTIFICATION G - Graphic Definition - Line Graphic Type: Example: L - Line J S G G G G A l1;0,0,68,71,100 5,5,0;L:24.5,2.5,a,a 5,15,0;L:24.5,2.5,s,a 5,25,0;L:24.5,2.5,r,r 5,35,0;L:24.5,2.
PRODUCT MARKING AND BARCODE IDENTIFICATION G - Graphic Definition - Rectangle Graphic Type: Syntax: R - Rectangle G[:name;]x,y,r,R:width,height[,hlt [,vlt]][,options] CR G = Graphic field definition command. [:name;] = Optional field name. Maximum length 10 characters, no special characters allowed, field name must be unique. The field name can be used for further operations, such as Replace field name (See the "R" command for details) or just as a comment.
PRODUCT MARKING AND BARCODE IDENTIFICATION G - Graphic Definition - Rectangle Example: J S G G G A l1;0,0,68,71,100 35,45,0;R:30,15,.3,.3 0,25,0;R:80,10,1,1 25,15,35;R:10,10,.5,.
PRODUCT MARKING AND BARCODE IDENTIFICATION G - Graphic Definition - Option: Fill Graphic Option: Fill Fills a graphic object with redifined patterns Syntax: G[:name;]x,y,r,ge:settings[F:options] CR F: = options = Fill parameter.
PRODUCT MARKING AND BARCODE IDENTIFICATION G - Graphic Definition - Option Shade Graphic Option: Shade Produces a shading effect (gradient filling) of a graphic object. Syntax: G[:name;]x,y,r,ge:settings[S:%1[,%2[,direction]] CR S = Shade option %1 = Darkness value at the beginning, as a percent of black. %2 = Darknessvalue at the end, as a percent of black.
PRODUCT MARKING AND BARCODE IDENTIFICATION G - Graphic Definition - Option: Outline Graphic Option: Outline Prints an outline around the filled graphic object with the thickness of 1 dot. Syntax: G[:name;]x,y,r,type:type options [shade options][O]CR The outline option outlines filled objects. The outline option prints black objects, if outline [O] is used for objects which are not filled.
PRODUCT MARKING AND BARCODE IDENTIFICATION H - Heat, Speed, Method of Printing, Ribbon Thiss command sets printing heat, speed and the method of printing for the current label. Print quality is influenced by the used material and by the print heat and print speed. H speed[,h][,t][,r][,b] CR H = Heat / speed set parameter speed h t r b Example: = = = = = print speed in millimeters or inches These values depend on the printer type, please see the operator´s manual for details.
PRODUCT MARKING AND BARCODE IDENTIFICATION I - Image Field Definition The I command is used for image printing. ( Image stands for pictures, pictograms, logos etc.). It defines the position and the size of a image on the label.The image has to be downloaded first, before it can be placed on the label. (See "d" - download command for more details ) Syntax: I[:name;]x,y,r[,mx,my];name CR I = Image field definition [:name;] = describes the field name and is optional.
PRODUCT MARKING AND BARCODE IDENTIFICATION I - Image Field Definition Example: J S l1;0,0,68,71,100 I:IMAGE1;20,5,0,0,0;HUMAN T 12,25,0,3,6;Todays date is: [DATE:+03,+02,+10] A1 Prints the picture HUMAN which had previously downloaded to the printer.
PRODUCT MARKING AND BARCODE IDENTIFICATION J - Job Start The J command "tells " the printer, that the following data contains label specific data. It starts a new print job. Syntax: J [comment] CR J= Job start command. comment = Optional text which may describe the label. This optional text will be displayed on the printers LC Display when it is recalled from the optional memory card. Maximum length is 16 characters.
PRODUCT MARKING AND BARCODE IDENTIFICATION M - Memory Card Access The M commands defines the possibilities of memory card access. (The memory card is an optional equipment). This command is used to save and recall data on memory card, it is used to format the memory card and erase data on memory card. Syntax: M variations...
PRODUCT MARKING AND BARCODE IDENTIFICATION M - Memory Card Access Syntax: Mf;name CR Formats the memory card (creates a DOS file system ) A-series printers create automatically a folder structure to separate the data to the specified locations.
PRODUCT MARKING AND BARCODE IDENTIFICATION M - Memory Card Access A label will immediatly start printing when the printer is switched on, if the label has been saved with the reserved name "DEFAULT.LBL" ! Syntax: M u IMG;logo Uploads file contents from memory card as binary data.
PRODUCT MARKING AND BARCODE IDENTIFICATION O - Set Print Options The O command is used to set a wide range of options which influences the complete label Syntax: O[M,][R,][N,][T,][S,][U,][p]CR O = Print Options command. M= Mirrored label printing R= Rotate the label contents 180 degrees N= Negative (inverted) printout of the complete label S= Single label buffer. The following label will be processed when the actual one has finished printing.
PRODUCT MARKING AND BARCODE IDENTIFICATION O - Set Print Options Example: J S G G G A l1;0,0,68,71,100 65,50,0;C:25,10,.7 25,25,0;C:20,20,2 20,20,35;C:10,10,1 1 J O S G G G A R l1;0,0,68,71,100 65,50,0;C:25,10,.7 25,25,0;C:20,20,2 20,20,35;C:10,10,1 1 The O R command rotates the complete printout of a label. The first example does not use the "O" command.
PRODUCT MARKING AND BARCODE IDENTIFICATION P - Set Peel-Off Mode This command needs an optional peel off sensor, which varies from printer type to printer type. This command pauses the printer after each label. The next label prints, when the actual label is removed. Syntax: P[disp] CR P = Peel-Off Mode command. disp = displacement in millimeters or inches (optional parameter) positive and negative values can be used, depending in which direction the displacement should work.
PRODUCT MARKING AND BARCODE IDENTIFICATION R - Replace Field Contents The usage of the "R" command is to replace data contents of previously downloaded label. Normally this is a label which is recalled from memory card into the printer´s internal memory. The R command offers a easy way to print multiple labels with a minimum on data transmission. The R command identifies the data by its field name and inserts a new value. Syntax: R name;data CR R = Replace command.
PRODUCT MARKING AND BARCODE IDENTIFICATION S - Set Label Size This command defines the width and length of a label and has some additional options. Syntax: S[ptype;]xo,yo,ho,dy,wd[,dx,col][;name]CR S = Set label size ptype; = photocell type. Sets the type of label sensing. Optional parameter. It is recommended to set it in the label definition. e = endless (continuous) label material without die cuts.
PRODUCT MARKING AND BARCODE IDENTIFICATION T - Text Field Definition The most used command to program a label is the "T" command which is used for text field definitions.This command influences the size, shape, rotation etc. of any shown textlines on a label. Syntax: T[:name;]x,y,r,font,size[,effects];text CR T = Text field definition command.
PRODUCT MARKING AND BARCODE IDENTIFICATION T - Text Field Definition 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”. The size of bitmap fonts is predefined an can be enlarged by the usage of magnification factors in horizontal and vertical direction. mx,my where mx is the horizontal magnification (1-10 times) and my stands for the vertical expansion (1-10 times) effects = Defining effects is optional.
PRODUCT MARKING AND BARCODE IDENTIFICATION T - Text Field Definition Built in bitmap fonts On this page you can see a printout of the printer´s internal bit mapped fonts.
PRODUCT MARKING AND BARCODE IDENTIFICATION T - Text Field Definition Internal Fonts This examples show a printout of the scalable fonts of the cab printers. Special characters can be recalled using the [U:... option to recall and print Unicode characters. Please see the [U:... otion for more details.
PRODUCT MARKING AND BARCODE IDENTIFICATION T - Text Field Definition This example shows some special effects of the cab printers "Swiss" font.
PRODUCT MARKING AND BARCODE IDENTIFICATION X - Synchronous Peripheral Signal Settings The X command can be used to control external devices. Syntax: X y[;ao] CR X= Synchronous Peripheral Signal Setting Command y= Printing coordinate when a signal should be set. Distance from print start to start of the signal in millimeters or inches. (See the m command for the measurement settings.
PRODUCT MARKING AND BARCODE IDENTIFICATION CHAPTER 5 - Special Content fields Special Content fields Special content fields are defined in squared brackets [ ]. This brackets can be used in regular text field, as long as they do not include a special content field command. 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.
PRODUCT MARKING AND BARCODE IDENTIFICATION Time functions [H12] Print Hour in 12-hour form (1-12) This option is used to recall the time from the printer´s internal clock. The result will be the actual hour on the label in the 12 hour format. Usually this option is used together with the options [MIN] and [SEC] . The single digits (1 to 9) are printed without leading zeroes.
PRODUCT MARKING AND BARCODE IDENTIFICATION [H24] Print Hour in 24-hour form (0-23) This option is used to recall the time from the printer´s internal clock. The result will be the actual hour on the label in the 24 hour format. Usually this option is used together with the options [MIN] and [SEC] .The single digits (1..9) are printed without leading zeroes.
PRODUCT MARKING AND BARCODE IDENTIFICATION [H012] Print H0ur in 12-hour form (01-12) -always 2 digits This option is used to recall the time from the printer´s internal clock. The result will be the actual hour on the label in the 12 hour format. Usually this option is used together with the options [MIN] and [SEC] .The "single"digits (1 to 9) will always print with leading zeroes (01 to 09).
Print H0ur in 24-hour form (01-24) -always 2 digits PRODUCT MARKING AND BARCODE IDENTIFICATION [H024] Print H0ur in 24-hour form (01-24) -always 2 digits This option is used to recall the time from the printer´s internal clock. The result will be the actual hour on the label in the 24 hour format. Usually this option is used together with the options [MIN] and [SEC] .The "single"digits (1 to 9) will always print with leading zeroes (01 to 09).
PRODUCT MARKING AND BARCODE IDENTIFICATION [MIN] Print MINutes (00-59) This option is used to recall the actual minutes from the printer´s internal clock. Usually this option is used together with the options [H...] and [SEC] .
PRODUCT MARKING AND BARCODE IDENTIFICATION [SEC] Print SEConds (00-59) This option is used to recall the actual seconds from the printer´s internal clock. Usually this option is used together with the options [H...] and [MIN]. Syntax: [SEC] Example: J S l1;0,0,68,71,100 T 12,25,0,3,6;Actual time is [H024]:[MIN]:[SEC] A1 In this example the result is identical to the TIME option. The difference is that the seconds can be printed separately.
Print actual TIME in the format of the preset country (i.e. HH:MM:SS) PRODUCT MARKING AND BARCODE IDENTIFICATION [TIME ] Print actual TIME The time option prints the actual time in the format of the preset country. Format: HH:MM:SS Syntax: [TIME] Example: J S l1;0,0,68,71,100 T 12,25,0,3,8;The time is [TIME] A1 This example prints one label with the timestamp. The printer has been set to "country= United kingdom".
PRODUCT MARKING AND BARCODE IDENTIFICATION [XM] am/pm indicator This option was implemented for the usage in countries, where the time is displayed as "am" (morning) and "pm" (afternoon), when 12 hour time format is selected.
PRODUCT MARKING AND BARCODE IDENTIFICATION Date functions [DATE... ] Print actual DATE Recalls the date from the printer and prints it in the defined size and in the format of the selected country.
PRODUCT MARKING AND BARCODE IDENTIFICATION [DAY...
PRODUCT MARKING AND BARCODE IDENTIFICATION [DAY02... ] Print numeric 2-digit DAY of the month (01-31) Recalls the date from the printer and prints it in the defined size and in the format of the selected country.
PRODUCT MARKING AND BARCODE IDENTIFICATION [DOFY... ] Print numeric Day OF Year(001-366) Prints the Day of Year. Possible values: 001-366. Syntax: [DOFY{:+DD{,+MM{,+YY}}}] The addition of days month or years is only available on A-series printers !! Example: s 040205091500 J 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 A1 The preset date in this example is February 5 2004. The result appears in 3 digits.
PRODUCT MARKING AND BARCODE IDENTIFICATION [ODATE... ] Print DATE with Offset Print date with offset (in the format of the preset country). This function was developed for Apollo and Hermes printers and will be replaced in future on A-series printers with the [DATE... ] command.
PRODUCT MARKING AND BARCODE IDENTIFICATION [wday... ] Print complete weekday name Print the complete weekday name. The name of the day depends on the selected language of the printer or on the previously sent "l = language" command.
PRODUCT MARKING AND BARCODE IDENTIFICATION [WDAY... ] Print numeric WeekDAY(1-7) This function prints the numeric week day. Syntax: [WDAY{:+DD{,+MM{,+YY}}}] The addition of days month or years is only available on A-series printers !! Example: J 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] A1 This is the same sample as on the previous page with the difference that we wrote "WDAY" in capital letters.
PRODUCT MARKING AND BARCODE IDENTIFICATION [wday2... ] Print weekday name, 2 - digits shortened Print 2 characters of the weekday name. The name of the day depends on the selected language of the printer or on the previously sent "l = language" command.
PRODUCT MARKING AND BARCODE IDENTIFICATION [wday3... ] Print weekday name, 3 - digits shortened Print 3 characters of the weekday name. The name of the day depends on the preset language of the printer or on the previously sent "l = language" command.
PRODUCT MARKING AND BARCODE IDENTIFICATION [WEEK...
PRODUCT MARKING AND BARCODE IDENTIFICATION [WEEK02... ] Print numeric WEEK with 2 -digits (01-53) Print the week number with 2 digits.
PRODUCT MARKING AND BARCODE IDENTIFICATION [OWEEK... ] Print WEEK with Offset(1-53) Print week with offset (1-53) Syntax: [OWEEK:+WW] The offset is in weeks.
PRODUCT MARKING AND BARCODE IDENTIFICATION [mon... ] Print 3-character month name Print 2 characters of the month name. The name of the month depends on the selected language of the printer or on the previously sent "l = language" command.
PRODUCT MARKING AND BARCODE IDENTIFICATION [month... ] Print complete month name Prints the complete month name. The name of the month depends on the selected language of the printer or on the previously sent "l = language" command.
PRODUCT MARKING AND BARCODE IDENTIFICATION [MONTH... ] Print 2-digit MONTH (1-12) Print digits of month.
PRODUCT MARKING AND BARCODE IDENTIFICATION [MONTH02... ] Print 02-digit MONTH (01-12) Print 2 digits month.
PRODUCT MARKING AND BARCODE IDENTIFICATION [YY... ] Print 2-digit Year (00-99) Print 2 digits year.
PRODUCT MARKING AND BARCODE IDENTIFICATION [YYYY... ] Print 4-digit Year (1970-2069) Print 4 digits year.
PRODUCT MARKING AND BARCODE IDENTIFICATION Jalali Date functions Jalali Date functions The Jalali Calender is used in Arab countries. The date calculation is similar to the other date commands, with the difference that the Jalali calendar is used for the date calculation which delivers other results. The handling of these functions is identical.
PRODUCT MARKING AND BARCODE IDENTIFICATION Field Calculations and Comparisons [+:op1,op2. . ,] Addition Addition options can be used to add several values of text - or barcode fields to print the result on the label. Syntax: [+:op1,op2. . ,] 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.
PRODUCT MARKING AND BARCODE IDENTIFICATION [-:op1,op2] Subtraction Subtraction options can be used to add several values of text - or barcode fields to print the result on the label. Syntax: [-:op1,op2] 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.
PRODUCT MARKING AND BARCODE IDENTIFICATION [*:op1,op2, . .] Multiplication Multiplication of several operands of text or barcode fields and prints the result in the defined field on the label. Syntax: [*:op1,op2,..] 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 print only the result.
PRODUCT MARKING AND BARCODE IDENTIFICATION [/ :op1,op2] Division Divides operand1 (op1) by operand2 (op2) and prints the result in the defined field on the label. Syntax: [/ :op1,op2] 2 digits behind the comma are preset as default value. The values might be existing informations of other fields and numbers. Field operators might also be marked "invisible" - see option [I] to print only the result.
PRODUCT MARKING AND BARCODE IDENTIFICATION [%: op1,op2] Modulo The remainder of the two operands is the modulo. Syntax: [%: op1,op2] 2 digits behind the comma are preset as default value. The values might be existing informations of other fields and numbers. Field operators might also be marked "invisible" - see option [I] to print only the result. Example: J 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.
PRODUCT MARKING AND BARCODE IDENTIFICATION [%: op1,op2] Example: Modulo J 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 start from the beginning This function is available for: A-series Apollo Hermes [TABLE OF CONTENTS] [COMMAND LIST] cab Produkttechnik GmbH & Co KG [ESC] [i] [L] [S] [INDEX] 195
PRODUCT MARKING AND BARCODE IDENTIFICATION [|:op1,op2] Logical Or Logical Or (Result will be "1", if minimum one operator is not equal to 0, Result will be "0" on all other conditons. Syntax: [|:op1,op2] Example: J 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] A1 Result 1, because the first variable (var1) is not 0. Example: J 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,.
PRODUCT MARKING AND BARCODE IDENTIFICATION [&:op1,op2] Logical And Compares 2 values and prints the result which is defined in that field. Result is "1" if both values for the comparision are identical" - otherwise the result is 0. Syntax: [&:op1,op2] Example: J 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.
PRODUCT MARKING AND BARCODE IDENTIFICATION [<: op1,op2] Comparision < Less than Compares 2 values and has the result "1" if the expression is true, otherwise 0 Syntax: [<: op1,op2] The result is true (1), when operand1 (op1) is less than operand2 (op2) Example: J 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.
PRODUCT MARKING AND BARCODE IDENTIFICATION [=: op1,op2] Comparision = Equal Compares 2 values and has the result true (1), when the values are equal or false. (0) when these two values are not equal. Syntax: [=: op1,op2] Example: J S l1;0,0,68,71,100 T:var1;25,10,0,3,5;6 T:var2;20,20,0,3,5;= ? T:var2;25,20,0,3,5;6 G 20,25,0;L:20,0.3 T:res;25,35.0,.0,3,5.
PRODUCT MARKING AND BARCODE IDENTIFICATION [>: op1,op2] Comparision > Greater than This option compares 2 values and has the result = true (1) or false (0) Syntax: [>: op1,op2] The result is true (1), when operand1 (op1) is greater than operand2 (op2) Example: J 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.
PRODUCT MARKING AND BARCODE IDENTIFICATION [MOD10:x] Calculates the Modulo 10 Checkdigit Calculates and prints the Modulo 10 Checkdigit. Syntax: [MOD10:x] x = value which is used to calculate the checkdigit This function can be used to visualize checkdigits of barcodes, which are sometimes invisible. Some barcodes use a checkdigit for the scanner only which is not displayed in the human readable line. Some applications require this checkdigit for internal usage.
PRODUCT MARKING AND BARCODE IDENTIFICATION [MOD43:x] Calculates the Modulo 43 Checkdigit Calculates and prints the Modulo 43 Checkdigit. Syntax: [MOD43:x] x = value which is used to calculate the checkdigit This function can be used to visualize checkdigits of barcodes, which are sometimes invisible. Some barcodes use a checkdigit for the scanner only which is not displayed in the human readable line. Some applications require this checkdigit for internal usage.
PRODUCT MARKING AND BARCODE IDENTIFICATION [P: ... ] Print result in Price format Prints result in price format Syntax: [P:name,td{o}] P = name = t = d = o = Example: price format option field name thousands separator decimal point character optional addendum characters J S l1;0,0,68,71,100 T:Price1;10,20,0,3,8;[P:5432,.
PRODUCT MARKING AND BARCODE IDENTIFICATION [R:x] Rounding method cab printers "know" several rounding methods. To select a specified rounding method use the [R:x] option. Syntax: [R:x] x x x x = = = = n u d m = = = = no rounding ( default ) rounding up rounding down round mathematically The following example shows the functionality: Example: J S T T T A l1;0,0,68,71,100 10,10,0,3,6;[*:5.191,5] [R:u] 10,20,0,3,6;[*:5.1898,5] [R:d] 10,30,0,3,6;[*:5.
PRODUCT MARKING AND BARCODE IDENTIFICATION Special functions (Miscellaneous) [?: ... ] LCD prompt cab printers offer the feature that a standard PC keyboard can be connected the printers. It requires a specific adapter for the usage with Apollo and Hermes printers. A-series printers and A8 have this possibility as standard feature.
PRODUCT MARKING AND BARCODE IDENTIFICATION [?: ... ] Example: LCD prompt [?:article number] Requests in the display for article number. Example: [?:article number,7733214] Requests in the display for article number and the preset value 7733214 Example: [?:article,screw,3] Requests in the display for screw each five labels.
PRODUCT MARKING AND BARCODE IDENTIFICATION [?: ... ] LCD prompt Example: [?:article?,,1,M1111111,R,D] Prompts for article number without a preset value, limited to 7 digits and repeated prompt if database content was not found. Example: [?:article,2200333,,,L6,M!11111] Prompts for article with preset value 2200333 and masks the input for 6 digits without space character.
PRODUCT MARKING AND BARCODE IDENTIFICATION [C: ... ] Leading zero replacement Leading zeroes can be replaced with this function. The default counting system for serialized fields (base) is 10 and can be replaced with values from 2...36. This command with some date or time functions to suppress leading zeroes for single digit month or time.
PRODUCT MARKING AND BARCODE IDENTIFICATION [D:... ] Set number of Digits This option allows for special formatting on a calculated field. Syntax: [D:m,n] D m n Example: = = = Set number of Digits amount of digits digits after the comma (2 is default value) J S l1;0,0,68,71,100 T:input;10,30,0,3,14;[*:10.79,4.
PRODUCT MARKING AND BARCODE IDENTIFICATION [DBF:... ] Syntax: Database file access [DBF:key,keyvalue,entry] Command to access data from a DBase IV TM compatibe database on memory card. Example: key = Search value of the database keyvalue = is defined by the alphanumeric value in the actual record entryfield = transmits the value of the actual record [DBF:NUMBER,NUMBERTA,ARTICLE] Searches in the database for the keyvalue NUMBER, in the table NUMBERTA and transmits the value of ARTICLE.
PRODUCT MARKING AND BARCODE IDENTIFICATION [I] Invisible fields This function defines a field as invisible (it will not appear on the printout). The invisible function is very helpful when some items shall not shown on the label, but they might be required for other operations, such as calculations or for substring operations etc. Syntax: [I] Example: J S l1;0,0,68,71,100 T:WEIGHT;10,20,0,3,5;[?:Weight?][I] T:PRICEUNIT;10,20,0,3,5;[I] 2.
PRODUCT MARKING AND BARCODE IDENTIFICATION [J: ... ] Justification The J commamd can be used to set the orientation of a text string in a specified area. Syntax: J = [J:ml] Justification m = = = l - left c -centered r - right l = length of the specified area where the text string will be justified Positions are measured in millimeters or in inches, whatever is set by the "m" command. Example: J S l1;0,0,68,71,100 G:AREA;10,10,0;R:70,10,.2,.
[+options] PRODUCT MARKING AND BARCODE IDENTIFICATION [LOWER:... ] Converts to lower case characters The "LOWER" function converts text contents into lower case characters Syntax: Example: [LOWER:Name] J 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] A 1 Prints the filed "Input" as it is keyed in, and prints the same data in field "LOWERCASE" as lowercase characters.
PRODUCT MARKING AND BARCODE IDENTIFICATION [name] Access a field with a name Uses previously defined field contents of text or barcode fields for further operations. This might be to concetenate the values of different fields, to use the values for mathematical operations etc. requires that the predifined field names are unique. The name option can use a predifined field content multiple times within a label.
PRODUCT MARKING AND BARCODE IDENTIFICATION [name,m{,n}] insert substring Extracts data froman existing data string of an other previously defined field. Parts of field contents can be used for further operations in another field.
PRODUCT MARKING AND BARCODE IDENTIFICATION [RTMP... ] Read value from serial (TMP) file Reads the value from a serial file of the memory card Syntax: [RTMP] Syntax: [RTMP:x] RTMP x = = Read TMP (Serial) file defines how many time the value will repeated See also the command [WTMP] Read value from serial (TMP) file.
PRODUCT MARKING AND BARCODE IDENTIFICATION [S:... ] Script style for numeric values Influences the script style for numeric values. LATIN or ARABIC are valid values. Selecting ARABIC is only possible with font type -3 or special arabic truetype fonts. This command has no influence on barcodes. Syntax: [S:name] name = Example: Arabic Latin J S l1;0,0,68,71,100 T:var1;25,10,0,3,5;44,80 T:var2;20,20,0,3,5;+ T:var2;25,20,0,3,5;26,70 G 20,25,0;L:20,0.
PRODUCT MARKING AND BARCODE IDENTIFICATION [SER:...] - Serial numbering Causes the printer to print serial numbers. Syntax: [SER:start{,incr,{freq}}] start = incr = freq = Initialisation value - sets the start number increment value - presets the number which is added to the start number frequency - defines the number of identical values on the labels before the serialnumber increments. cab printers will use automatically "1" if incr and freq are not set.
PRODUCT MARKING AND BARCODE IDENTIFICATION [Split:... ] Split data The Split command is mainly used together with the cab dataBase Connector. Data strings can be transmitted as one string, which reduces the transmissiontime for database access.
PRODUCT MARKING AND BARCODE IDENTIFICATION [U:x] Insert Unicode characters This option inserts UNICODE characters in the data string of your text or barcode fields. Syntax: [U:x] U x Example: Example: = = Select unicode character Hexadecimal value, indicated by a dollar sign ($) or ASCII control code name, such as: NUL, SOH, STX, ETX, EOT, ENQ, ACK, BEL, BS, HT, LF, VT, FF, CR, SO, SI, DLE, DC1, DC2, DC3, DC4, NAK, SYN, ETB, CAN, EM, SU, ESC, FS, GS, RS and US.
PRODUCT MARKING AND BARCODE IDENTIFICATION [UPPER:... ] Convert to upper case characters The "upper" function converts text contents into upper case characters Syntax: Example: [UPPER:Name] J 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] A 1 Prints the filed "INPUT" as it is keyed in, and prints the same data in field "UPPERCASE" as uppercase characters.
PRODUCT MARKING AND BARCODE IDENTIFICATION [WLOG] Write LOG file Writes data to a log file on the memory card. The log file can be is used to keep track of printed labels and can be used to create a report of thes data. Syntax: Example: [WLOG] E LOG;EXAMPLE T:VAL; 5,6,0,3,3;[SER:0001] T:PRINT;5,6,0,3,3;Label [VAL] printed at [DATE] um [TIME].[WLOG][I] This example keeps track of the labels, based on the counter value VAL which will be written to the LOG file "EXAMPLE".
PRODUCT MARKING AND BARCODE IDENTIFICATION [WTMP] Write value to serial (TMP)file Writes a value to a previously defined temporary file on the printer´s memory card. Syntax: [WTMP] E TMP;EXAMPLE T:XVAL;10,10,,0,3,3;[RTMP,3][I] T:SERNO;10,10,0,3,3;[+:XVAL,1][C:0][I][WTMP] T:TESTFELD;10,10,0,3,3;Serial number is: [SERNO] The value of the file EXAMPLE will be saved in the value XVAL. See also the command [RTMP] Read value from serial (TMP) file.
PRODUCT MARKING AND BARCODE IDENTIFICATION CHAPTER 6 - cab DataBase Connector cab DataBase Connector commands Note: OPTIONAL HARDWARE REQUIRED !! cab Database Connector This software allows in connection with a printer of the cab A-series (not A2-Gemini) and the Ethernet network card via TCP/IP, to print a label which contains data from an SQL compatible data base. The data is recalled from the printer through it´s attached keyboard.
PRODUCT MARKING AND BARCODE IDENTIFICATION cab Database Connector and A - series-SQLClient With the cab Database Connector and the builtin A-series3-SQL client the A-series printer can retrieve data online via Ethernet TCP/IP directly from a Database. When the A-series printer works as a stand alone print station, you do not need to store and maintain the data tables on the compact flash cards anymore. You can access all types of databases with an ODBC driver or a Microsoft ADO-Interface.
PRODUCT MARKING AND BARCODE IDENTIFICATION The connection can be keyed in manually if it is known for the database connection or the built in wizard may be called up which appears in on screen as shown below. Details about the wizard are described in the built in help file. You need good knowledge about your data base do a proper setup ! This function is available for: A-series cab Database connector can be started multiple times in a network or multiple times on one PC.
PRODUCT MARKING AND BARCODE IDENTIFICATION The picture below shows a test of the connection settings, where a Microsoft Access database is connected. Click on [Test Database Connection] to test the datasource. If DatabaseConnector reports any errors in a popup, then install Jet40Sp3_Comp.exe and mdac_typ.exe. (This is usually only required together with windows 98) You can download this files at http://www.microsoft.com/data.
PRODUCT MARKING AND BARCODE IDENTIFICATION Example: E SQL;192.168.0.80:1001 The command sets the connection to the computer with the IP adress: 192.168.0.
PRODUCT MARKING AND BARCODE IDENTIFICATION Following is required to process the example successfully • • • • • • Your A-series printer is equipped with a USB keyboard An optional memory card must be installed The printer must be connected to your network with the special network card !! cab database connector has been started and set up correctly.
PRODUCT MARKING AND BARCODE IDENTIFICATION CHAPTER 7 - a-Series basic compiler abc - a-Series basic compiler This powerful feature is available for A-series printers only !! A-series printers contain an internal basic compiler since firmwareversion 2.80 We highly recommend to update the firmware first before abc is used. The following description is based on firmware release 2.
PRODUCT MARKING AND BARCODE IDENTIFICATION Window-Handling: abc uses a hidden window which can be (partially) mapped to the front panel LCD. The printer handles the window as a bitmap with 8 bit indexed colours. So each dot can have a value of 0 (black) to 255 (white). During mapping to the LCD, each colour is mapped according to its brightness which is predefined as grayscales, i.e. 128 to 255 gives white pixels, 0 to 127 black pixels.
PRODUCT MARKING AND BARCODE IDENTIFICATION PEEK Variables: „os“ „version“ „resolution“ „width“ „transparent“ „mlength“ „direction“ „slength“ Delivers „cab A-Series“ - only for compatibility with Yabasic Version of Yabasic Resolution of printer in dpi Maximum print width in mm Value: 0 or 1.
PRODUCT MARKING AND BARCODE IDENTIFICATION Streams: Filename Direction/Bit „/dev/rs232:baud,handshake“ I/O,8 „/dev/ieee1284“ I/O,8 „/dev/rs422:baud,handshake“ I/O,8¹ „/dev/rs485:baud,address“ I/O,8 r „/dev/usb“ I/O,8° „/dev/rawip“ I/O,8 „/dev/lpr“ I,8° „/dev/panel“ I,16 Description baud: 1200-230400, handshake: -,RTS/CTS,XON/XOFF bidirectional parallel interface rs-422 interface, baud: 1200-230400, handshake: -,XON/XOFF s-485 interface, baud: 1200-230400, address: A-Z USB-Client raw-IP interface
PRODUCT MARKING AND BARCODE IDENTIFICATION Communication with Web Browsers: A-Series 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. This is normally done by CGI scripts using forms.
PRODUCT MARKING AND BARCODE IDENTIFICATION abc - examples: Small program to print a 100mm long ruler with 1mm markings: ; Test label for ruler J S l1;0,0,68,71,104 G 0,10,0;L:100,.1 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,.
PRODUCT MARKING AND BARCODE IDENTIFICATION Small program to show ON GOSUB. Uses ASCII dump mode to show what happens: a for number=0 to 6 on number+1 gosub sorry,one,two,three,four,five,sorry next number end label sorry:print „; Sorry, can’t convert „,number:return label one:print „; 1=one“:return label two:print „; 2=two“:return label three:print „; 3=three“:return label four:print „; 4=four“:return label five:print „; 5=five“:return Small program to show READ,DATA and RESTORE.
PRODUCT MARKING AND BARCODE IDENTIFICATION This program demonstrates the differences for file handling (a compactflash drive and a hex editor are useful to see the difference): 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.
PRODUCT MARKING AND BARCODE IDENTIFICATION Simple program to show the capture of interface data, parsing it, extracting the data and sending it forward to the JScript interpreter: J S l1;0,0,68,71,104 T:t1;20,10,0,3,8; T:t2;20,20,0,3,8; T:t3;40,40,0,3,8; label start line input a$ if left$(a$,15)=“194300301480070" then print „R t2;“,mid$(a$,16) endif if left$(a$,15)=“194300300580172" then print „R t3;“,mid$(a$,16) endif if left$(a$,15)=“194300301970073" then print „R t1;“,mid$(a$,16) endif if a$=
PRODUCT MARKING AND BARCODE IDENTIFICATION Program to read keyboard codes: OPEN 1,“/dev/keyboard“,“r“ OPEN WINDOW 120,32 POKE „lcd“,1 DO DO x=PEEK(#1) IF x<>-1 BREAK LOOP CLEAR WINDOW TEXT 0,0,“Last character:“ TEXT 0,16,“$“+hex$(x)+“ = „+chr$(x) LOOP CLOSE WINDOW Program to show readback of JScript-Commands and the FLUSH command: OPEN 1,“/dev/jscript“,“r“ OPEN 2,“/dev/rs232",“w“ PRINT „qm“ LINE INPUT #1 a$ PRINT #2 a$ CLOSE 2 CLOSE 1 rem FLUSH #0 PRINT „f“ Here is text whi
PRODUCT MARKING AND BARCODE IDENTIFICATION APPENDIX ASCII Table Control characters Decimal Hex ASCII 0 0 NUL 1 1 SOH 2 2 STX 3 3 ETX 4 4 EOT 5 5 ENQ 6 6 ACK 7 7 BEL 8 8 BS 9 9 HT 10 A LF 11 B VT 12 C FF 13 D CR 14 E SO 15 F SI 16 10 DLE 17 11 DC1 18 12 DC2 19 13 DC3 20 14 DC4 21 15 NAK This function is available for: 22 16 SYN A-series 23 17 ETB 24 18 CAN 25 19 EM 26 1A SUB 27 1B ESC 28 1C FS 29 1D GS 30 1E
PRODUCT MARKING AND BARCODE IDENTIFICATION Index The index offers multiple possibilities to find a specific command.
Barcode marking and identification systems Index Symbole $DBF 72 ; - Comment line 46 - Ends the abc Basic Compiler 45 - Starts the abc Basic Compiler 44 [%: op1,op2] Modulo 194 [&:op1,op2] Logical And 197 [*:op1,op2, . .] Multiplication 192 [+:op1,op2. . ,] Addition 190 [-:op1,op2] Subtraction 191 [/ :op1,op2] Division 193 [<: op1,op2] Comparision < Less than 198 [=: op1,op2] Comparision = Equal 199 [>: op1,op2] Comparision > Greater than 200 [?: ...
Barcode marking and identification systems [wday... ] Print complete weekday name 176 [WDAY... ] Print numeric WeekDAY(1-7) 177 [wday2... ] Print weekday name, 2 - digits sho 178 [wday3... ] Print weekday name, 3 - digits sho 179 [WEEK... ] Print numeric WEEK (1-53) 180 [WEEK02... ] Print numeric WEEK with 2 -digits 181 [WLOG] Write LOG file 222 [WTMP] Write value to serial (TMP)file 223 [XM] am/pm indicator 170 [YY... ] Print 2-digit Year (00-99) 187 [YYYY...
Barcode marking and identification systems B - Barcode PDF- 417 114 B - Barcode UPC-A 122 B - Barcode UPC-E 124 B - Barcode Code 128 92 B - Barcode Maxicode 108 B - Barcode Code 128 92 B - Barcode Code 39 88 B - Barcode Code 93 90 B - Barcode Data Matrix 94 B - Barcode Definition 73 B - Barcode FIM 104 B - Barcode Micro PDF 417 110 B - Barcode Plessey 116 B - Barcode Postnet 118 B - Barcode QR-Code 120 B - Barcode UPC-A 122 B - Barcode UPC-E 124 B - Barcode UPC-E0 126 Barcode 2 of 5 Interleaved 80 Bar
Barcode marking and identification systems Bulgaria - country settings (l) 57 Bundespost DBP Barcode 96 C C - Cutter Parameters 128 c - Direct cut 48 cab DataBase Connector commands 224 cab Database Connector license 224 cab DataBaseConnector 51 Calculate the Modulo 43 Checkdigit 202 Calculates the Modulo 10 Checkdigit 201 calculations 23, 190 Cancel Printjob (ESCc) 36 cancel total (ESCc) 42 Checkdigit 202 Checkdigit (modulo 10) 201 Circle (definition) 135 clock set 63 Codabar (Barcode) 86 Code 128 9
Barcode marking and identification systems Date/Time setting (s) 63 DAY of the month (01-31) 173 DAY of the month (1-31) 172 Day OF Year(001-366) 174 Dbase 224 DBF 49 DBF download 51 DBP - German Post Identcode 96 Define Files ( Extension ) 130 Define Text Field 156 Denmark - country settings (l) 57 Digits - set number of 209 Direct cut (c) 48 directory path 148 Division 193 DOS file system (memory card) 149 Download binary data (ESC:) 32 download data (d) 49 Dump Mode - ASCII (a) 47 E E - Define Fil
Barcode marking and identification systems Extension (define files) 130 F F - Font Number 132 f - formfeed 53 Field Calculations and Comparisons 23 Field Calculations and Comparisons - Overview 23 file system (memory card) 149 Fill (option) 141 FIM (Barcode) 104 Finland - country settings (l) 57 FNT 52 font cache 54 font effects 160 font list 65 Font Number 132 Font types 156 fonts (scalable) query 61 form feed (f) 53 Formfeed (ESCf) 38 France - country settings (l) 57 free memory query 60 Free memo
Barcode marking and identification systems Health Industry Barcode (HIBC) 106 Heat setting 144 height (barcode height) 76 Hour in 12-hour form (1-12) 163 Hour in 24-hour form (0-23) 164 Hungary - country settings (l) 57 I I - Image Field Definition 145 Ident- und Leitcode der Deutschen Bundespost 96 Ident- und Leitcode der Deutschen Bundespost, Barc 96 Image Field Definition 145 image query 60 IMG 49 Immediate Commands 13 Immediate commands 43 Immediate Commands - Overview 19 inches 57, 58 increment
Barcode marking and identification systems Language ( country ) settings 57 LATIN scripts style 217 LCD prompt 205 Leading zero replacement 208 Less than 198 Line (definition) 137 line end identifier 9 list fonts 65 Lituvia - country settings (l) 57 LOG file - write 222 Logical And 197 Logical Or 196 lower case characters conversion 213 M M - Memory Card Access 148 m - set measuring unit 58 MAC 49 Maxicode (Barcode) 108 measurements in inches 57 measuring unit 58 media query 60 memory (free) query 60
Barcode marking and identification systems O O - Set Print Options 151 ODBC 224 Offset (Global objects) 129 Option Shade 142 Option: Fill 141 Option: Outline 143 options 75 Options settings 151 Or - logical 196 Oracle 224 Orientation 12 Outline (option) 143 Overview 13 Overview - Database Connector commands 25 Overview - Date and Time Functions 21 Overview - Field Calculations and Comparisons 23 Overview - Jalali Date Functions 22 Overview - Label Format Commands 20 Overview - Special Content Fields 2
Barcode marking and identification systems Print H0ur in 12-hour form (01-12) -always 2 digit 165 Print H0ur in 24-hour form (01-24) -always 2 digit 166 print heat 144 Print Hour in 12-hour form (1-12) 163 Print Hour in 24-hour form (0-23) 164 Print Jalali-DAY 189 Print Jalali-DAY, 02 digits 189 Print Jalali-DAY of the Week (1=saturday) 189 Print Jalali-Day OF Year 189 Print Jalali-Month 189 Print Jalali-Month, complete name 189 Print Jalali-Month,02 digits 189 Print Jalali-YEAR, 4 digits 189 Print MI
Barcode marking and identification systems ratio (barcodes) 76 Read value from serial (TMP) file 216 real time clock 63 Rectangle (definition) 139 Release date 67 Replace Field Contents 154 Replacement of ESC in Binary data (ESCESC) 28 replacement of leading zeroes 208 request Firmware version 67 Request for free memory (ESC?) 33 Reset (Hard Reset (ESC!ESC!)) 29 reset to default values (r) 62 Ribbon 144 ribbon diameter query 61 Ribbon setting 144 Rounding method 204 RS-485 printer activation (ESC A -
Barcode marking and identification systems Split data 219 SQLClient 224 SQLServer 224 Standard Codesize (barcodes) 76 Standard Codesize for Barcodes 76 Start and stop value for binary data (ESC.) 31 Start description of binary data (ESC:) 32 Start of the abc Basic Compiler () 44 Start of print job 147 status information 66 Status of abc (ESCa) 35 status printout 66 Status query (ESCs) 41 Stop and Start value for binary data (ESC.
Barcode marking and identification systems UPC-E0 126 UPC-E0 (Barcode) 126 Uploads file contents from memory card 150 upper case characters conversion 221 UPS (Maxicode) 108 USA - country settings (l) 57 V v - Firmware version 67 Vector font formats 49 version - firmware - request 67 W WEEK (1-53) 180 WEEK with 2 -digits (01-53) 181 WEEK with Offset(1-53) 182 weekday name 176 weekday name, 2 - digits shortened 178 weekday name, 3 - digits shortened 179 WeekDAY(1-7) 177 white space area 75 Write LOG
Barcode marking and identification systems This function is available for: A-series Apollo Hermes cab Produkttechnik GmbH & Co KG 255