Home

Labelstar Office User Manual

image

Contents

1. DataMatrix y MaxiCode gt PDF417 y QR Code Copyright O Carl Valentin GmbH 139 Labelstar Office 4 30 Build 1010 Aztec Code Aztec Code m Required program variant BASIC PROFESSIONAL For more information see Program Variants Aztec Code is a 2D matrix bar code which is built on a square grid with a bulls eye pattern at its centre for locating the code In the concentric square rings around the bulls eye pattern data is encoded Aztec Code is used mainly in transportation e g for online tickets of Deutsche Bahn Very small starting from 12 characters and large data volumes up to 3067 alphanumeric characters can be coded Aztec Code consists of three fix and two variable components The fix components are the central Finder Pattern Orientation Pattern and Reference Grid Mode Message and Data Layers are the variable components of the code The Aztec Code is one of the few bar codes which do not need a quiet zone Thanks to the Reed Solomon error correction the reconstruction of data contents is still possible even if the code 2596 with large codes and 4096 with small codes was destroyed The so called Core Symbol of the Aztec Code contains the central Finder Pattern Orientation Pattern and Mode Message Length 3067 alphanumeric characters 3832 numeric characters Valid ASCII characters CRE See also Aztec Runes Copyright O Carl Valentin GmbH 140 Labelstar Office 4 30 Build 1010 A
2. Methods GetContent Gets the content of the field NK GetPropertyValue Gets the value of the specified property SetContet Sets the content of the field EN SetPropertyValue Sets the value of the specified property See also Field Class Object Reference Copyright O Carl Valentin GmbH 219 Labelstar Office 4 30 Build 1010 GetContent Method GetContent Method Gets the content of the field Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objField GetContent Return Type String Remarks If the method succeeds it returns the content of the field otherwise an empty string Call Application LastError for information about possible errors Example VBScript Change Field Content Sample Code Option Explicit Object variables Dim objApp Dim objLabel Dim objField Change field content Set objApp CreateObject LSOffice Application Application must be initialized before OpenLabel is called objApp Initialize If objApp HasError Then WScript Echo objApp LastError Message WScript Quit End If Open label Set objLabel objApp OpenLabel llLabel1 lbex If objLabel is Nothing Then WScript Echo objApp LastError Message WScript Quit Copyright O Carl Valentin GmbH 220 Labelstar Office 4 30 Build 1010 GetContent Method End If Get field by name Set objField objLabel GetFieldByName Texti If objField Is
3. Deutsche Post Identcode Deutsche Post Leitcode y EAN 13 gt EAN 13 2 Digits gt EAN 13 5 Digits gt EAN 8 gt GTIN 8 gt GTIN 12 y GTIN 13 gt ITF 14 y Pharmacode gt PZN SCC 14 gt UPC A gt UPC E Copyright O Carl Valentin GmbH 117 Labelstar Office 4 30 Build 1010 Codabar Codabar The Codabar is mainly used in libraries in photo sector and in medical ranges blood banks The Codabar is a universal numeric bar code that contains 6 special characters additionally to the numbers 0 to 9 The number of representable signs is not given of the code Additionally four different start stop signs A D are defined i e each code must begin and end with A B C or D However the start stop signs cannot be used in the bar code itself Each sign of the code consists of elf units four bars and three spaces A fourth 12 3 4 5 6 gap is always narrow Valid Digits 0 9 characters Special characters Optional Modulo 16 Copyright O Carl Valentin GmbH 118 Labelstar Office 4 30 Build 1010 Code 128 Code 128 Code 128 is a universal alphanumeric bar code mainly used in shipping transport on documents of identification and in warehousing distribution Code 128 can encode the complete ASCII character set This code uses an internal check digit that won t be displayed in the text line under the code By the use of four different widths for bars and gaps the informa
4. 19345 1 234567 890128 EAN 8 GTIN 8 1234 5670 01 00614141559256 EAN 13 with 5 digit add on Numeric bar code Alphanumeric bar code GS1 DataMatrix 2D bar code E I 01 00614141999996 ITF 14 SCC 14 Numeric bar code based on Code 2 5 Interleaved 0061 41 41999996 MaxiCode TTR 2D bar code Alphanumeric bar code IPDF417 2D bar code BI RE oad C 89 Pharmacode Numeric bar code 123456 PZN Numeric bar code based on Code 39 PZN 12345684 Copyright O Carl Valentin GmbH 115 Labelstar Office 4 30 Build 1010 Bar Codes 2D bar code UPC A GTIN 12 Numeric bar code 1 23456 78901 2 UPC E Numeric bar code O 123456 5 Copyright O Carl Valentin GmbH 116 Labelstar Office 4 30 Build 1010 1D Bar Codes 1D Bar Codes Linear one dimensional bar codes consist of a single row of parallel bars and spaces of varying widths that represent data The bars and spaces are arranged in a predetermined pattern defined by the symbology Supported Bar Codes Codabar Code 128 Code 128 Subset A Code 128 Subset B gt Code 2 of 5 Industrial Code 2 of 5 Interleaved gt Code 39 Code 39 Full ASCII gt Code 93 gt Code 93 Full ASCII
5. For more information see Program Variants Returns the current user name Syntax UserName Return value User name Copyright O Carl Valentin GmbH 85 Labelstar Office 4 30 Build 1010 User Domain Name User Domain Name L Required program variant BASIC PROFESSIONAL For more information see Program Variants Returns the network domain name associated with the current user Syntax UserDomainName Return value Network domain name Copyright O Carl Valentin GmbH 86 Labelstar Office 4 30 Build 1010 Format Value Format Value C Required program variant BASIC PROFESSIONAL For more information see Program Variants Formats a value Syntax Format value format Language language Type type Parameters value Value which is to be formatted format Indicates how the value is to be formatted For more information see Formatting Types language optional as default the language set under windows is used Language which is used to format the ouput For more information see Country Codes type optional Indicates the type of value which is to be formatted If no explicite type is indicated it is first checked for number then date time and then for text Number value is interpreted as number Date Time value is interpreted as date time Text value is interpreted as text Return value Formatted text Examples Show number with leading zeros Format 15 00000 gt 00015 Fo
6. The dialog box Select File is opened 3 Choose a new location Copyright O Carl Valentin GmbH 177 Labelstar Office 4 30 Build 1010 With this program you can open and print labels PRINTERS LABELS VIEW Vario 111 107 12 Ready Compa 104 8 Ready Compa ll 106 12 em Mot available Copyright O Carl Valentin GmbH Print Only Labelstar Office Print Only Nutrition Facts Per 1 cookie 28g Amount Daily Value Calories 139 Fat7 9 1156 Satured Fat 3g Trans Fat 0 g Colesterol 45 mg Sodium 75 mg Carbohydrate 17 g Fibre 0 g Sugar 9 g Protein 2 y Vitamin A 2 Vitamin C 0 Calcium 2 Iron 496 NUMBER OF COPIES Chocolate Cookie INGREDIENTS organic pastry flour organic whole grain white wheat organic evaporated cane juice organic butter cream sak ogani dark chocolate chips organic cacao mass organic evaporated cane juice organic cacao butter may contain non GMO soy lecithin organic whole eggs organic sunflower od organic vanilla extract organic molasses baking powder baking soda sea sak Version 4 30 Build 1010 Print Only 178 Labelstar Office 4 30 Build 1010 Tools Tools The LABELSTAR OFFICE provides various tools to manage and change program data Installed Tools License Wizard 4 With this application you can license Labelstar Office For more information see Licensing Program Settings With this application the internal program settings can be change
7. 52 ROVE G E E 53 Convert String to LOWCI CASS issue 54 GONVER Sring to WD DCI CaS Orsini near oia jalcn mn E 55 UN CALC SINO dtt Rm T mm 56 drm PGS ACY CRNAC ee E E S ce 57 WF AA CA i MT Tm 58 Trim Leading and Trailing Characters nnne 59 Convert AoCAIT SWING HEX SIN 60 Conver THES STNO TO AS II SIE IEIGI cala E dotado is esiatasio asiste 61 Galculate Text Length PEER E 62 e nn sucqiecrequmad ard sayewe teat asnoeeaneeanceeesesuninateenecoeeoate 63 Copyright Carl Valentin GmbH 2 Labelstar Office 4 30 Build 1010 Contents GO A SOU TRU 65 USINE CN SA esta oa ul 66 A sateen 67 MATE WY AIA SS TTE 68 favere 0 omg 122 0c PR docs 69 MIU E E E ceca csi cia 70 MaMa NY ANE Seta CERE 11 Calculate Mathematical Formula 72 Mathematical ODefFalo rs cia ias 13 Susie re MEIC diesen en T a nee CD ou 74 Check DIMAS on ein 75 APPONERE CK II ERES 76 MISC ALAN ER 17 NUMOS ORCOS NEU T tm 78 IE Then El Seat T TTL 79 SMELE AIO e ros ino o ea ee aedeias 80 BIS XEM ARTT UU MU Um 81 Sie NUDE E A A 82 RE OISE LE LE 0 1e PT D ae seedeetaated a nea MEM NM M cones ME LU ELE 83 ARAN TINTE 84 SN nda 85 Ser DOMNI NOT usen ecd a pae ts 86 woe rm 87 ROMAIN em m ERE 89 Standard Numeric Format Strings 90 Custom Numeric Format Strings ss 92 Standard Date and Time Format Strings occoocccocncoccccccnconnconcncnononanonannnnnnnnos 93 Custom Date and Time Format Strings ooccoccccocncoccccocnconnnoncncnononanononnn
8. Check Modulo 10 digit Copyright O Carl Valentin GmbH 134 Labelstar Office 4 30 Build 1010 Pharmacode Pharmacode The Pharmacode is a simple numeric bar code placed on the marked from company Laetus It is used in pharmaceutical industry for the control of packaging means and or for the control of packaging machines The Pharmacode applied on the packaging and on the package insert provides that the correct package insert is sorted into the appropriate packaging With the Pharmacode only integers can be coded from 3 to 131070 123456 Length Variable Valid Digits 0 9 characters Check None digit Copyright O Carl Valentin GmbH 135 Labelstar Office 4 30 Build 1010 PZN PZN The PZN Pharmazentralnummer serves for marking of drugs and other pharmacy products according to trademarks dosage form intensity and package size The PZN is assigned by the Informationsstelle f r Arzneispezialit ten IFA The PZN8 replaces the old PZN7 from the 01 01 2013 You will be able to convert old PZN7 code to PZN8 by just adding a leading zero PZN 12345684 Valid Digits 0 9 characters Check Modulo 11 digit Copyright O Carl Valentin GmbH 136 Labelstar Office 4 30 Build 1010 UPC A GTIN 12 UPC A GTIN 12 The Universal Product Code UPC is a bar code symbology that is widely used in the United States Canada the United Kingdom Australia New Zealand and in other countries
9. Copyright O Carl Valentin GmbH 216 Labelstar Office 4 30 Build 1010 Printable Property Gets or sets a value that indicates whether the field is printed Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objField Printable Type Boolean Example VBScript Set Printable Property Sample Code Option Explicit Object variables Dim objApp Dim objLabel Dim objField Set printable property Set objApp CreateObject LSOffice Application objApp Initialize If objApp HasError Then WScript Echo objApp LastError Message WScript Quit End If Open label Set objLabel objApp OpenLabel Labeli lbex If objLabel is Nothing Then WScript Echo objApp LastError Message WScript Quit End If Get field by name Set objField objLabel GetFieldByName Barcodei Copyright O Carl Valentin GmbH Application must be initialized before OpenLabel is called Printable Property 217 Labelstar Office 4 30 Build 1010 Printable Property If objField Is Nothing Then WScript Echo objApp LastError Message WScript Quit End If Set property and print label Dim msg msg MsgBox Print barcode vbYesNo objField FieldName objField Printable msg vbYes objLabel Print 1 See also Field Class Object Reference Copyright O Carl Valentin GmbH 218 Labelstar Office 4 30 Build 1010 Field Methods Field Methods The Field type exposes the following members
10. LABELSTAR OFFICE User Manual Version 4 30 Build 1010 May 15 2015 Labelstar Office 4 30 Build 1010 Contents Contents Elec SIME t 7 ESP PO O OO ee ee eee 8 D SO VanaDlOS sico et da es Dee ee dm ee E ut 9 BIER T T m 10 UnA ed a 11 COPA e Hm 12 CURTIS and de ad de dt dns die es Det de de 13 DAS TTC oy SeN a peciecsl 14 Raso Date TIN P 16 calendar Wook 17 DAA T UU 19 DAVO NV COM AA T E E 21 Held VADO ici 23 Brei A Po tac diaa sou aceetcenantiencuansecceatenaideicetsusseeeteeces 24 Cera EOM TE aac teaba tare es de es dent de de 25 SET FIST NONO ERE T mmm 26 mmis 21 SAPD Ge enn e O o OOO ree ee ee ee 28 O ERROR te o E O O 29 SPIO LL Ue e III 30 ZP 31 viz A 32 NAS i EE AEri Ei 33 mage Di eae EEE E EE ee ee ee eee 34 SSDT ERE m E E E 35 si Eolo B Gane ee ne E EAE E A E EEE 36 A E E E 37 SREE S E E m ew 38 Get Leftmost Characters of a String 39 Get Rightmost Characters of a String ss 40 Get Middle Characters of a String Vs 41 Remove Chardclel Sissi diceret tuere aetopalsicnpa co 42 Replace DIM MERE EO Umm 43 Replace Palestina italia 44 Regular Expression Language coocccoccconcconoccnonononononncnononononononanonanonnnonnnnnnnnanenanenano 46 Pad OIG TON ER E 51 AG OPEN TRON RON e
11. Label Properties The Label type exposes the following members Properties SS ActivePrinter Gets or sets the name of the active printer UN CurrentRecord Gets or sets the one based index of the current record to be printed a FieldCount Gets the number of fields defined on the label a FieldNames Gets the list of field names defined on the label a IsDataAvailable Determines if there are database fields defined on the label a LabelPath Gets the path to the opened label MaxRecord Returns the maximum number of records in the database a Modified Gets a value that indicates that the label has been modified PageName Gets or sets the current page name See also Label Class Object Reference Copyright O Carl Valentin GmbH 230 Labelstar Office 4 30 Build 1010 ActivePrinter Property ActivePrinter Property Gets or sets the name of the active printer Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objLabel ActivePrinter Type String Example VBScript Change Printer Name Sample Code Option Explicit Object variables Dim objApp Dim objLabel Select printer Purpose Displays a message box to select one of the available printers Function SelectPrinter activePrinter SelectPrinter Read all printers Dim wshNetwork objPrinters Set wshNetwork WScript CreateObject WScript Network Set objPrinters wshNetwork EnumPrinterConnecti
12. Remarks The page name is displayed in the printer display during printing weed Jil dE b es db Lakell le gL mE FE 00100 ie ANNEE See also Label Class Object Reference Copyright O Carl Valentin GmbH PageName Property 242 Labelstar Office 4 30 Build 1010 Label Methods Label Methods The Label type exposes the following members Methods a LIII NN GeteldbyName Searches for the field with the specified name GetPreview Retrievesa preview image of the current label content GerPropertyWalue Gets the value of the specified propery 0020 O Pint ints thelabeh A bebe Sue Saveschangestothelabee 0 ias Saves changes to the abel in adfeent le SaePevew Saves a preview ofthe carente SelectRecord Setsthecurtentrecordto the first record matching the filter expression SetPropertValue Sets the value of the specified property See also Label Class Object Reference Copyright O Carl Valentin GmbH 243 Labelstar Office 4 30 Build 1010 GetFieldBylndex Method Gets the field with the given index Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objLabel GetField index Parameters index Type Integer Zero based index of the field Return Type LSOffice Field Remarks GetFieldBylndex Method This method returns a Field object on the indicated field if found otherwise null To get extended error information che
13. lt font colorz Red shadow color Black Example text lt e offset Shadow offset Default 1 1 Exam D le text e strength Shadow size Default 1 1 shadow font e style Shadov style Default Solid Solid Blurred strike Defines strikethrough text l l ots lt strike gt strikethrough text lt strike gt gt stroke Defines stroked text stroke color FFO000 gt Example text lt stroke gt gt Example text Attributes e width Border width Default 1 e color Border color Default Black strong Defines important text m strong important text strong important text Defines subscripted text _ H lt sub gt 2 lt sub gt O gt H20 Defines superscripted text footer lt sup gt 1 lt sup gt gt footer Defines underlined text lt u gt underlined text lt u gt gt underlined text Copyright Carl Valentin GmbH 164 Labelstar Office 4 30 Build 1010 Markup Tags Supported entity characters M single quote apostrophe aps 0 amp ampesedsign am non breaking space Bmp Copyright Carl Valentin GmbH 165 Labelstar Office 4 30 Build 1010 Food Allergen Labelling Food Allergen Labelling The new EU Regulation 1169 2011 on the provision of food information to consumers changes existing legislation on food labelling including e Mandatory nutrition information on processed foods e Mandatory origin labelling of un
14. 26 Juni 2014 See also Current Date Time gt Current Date Current Time Date Time Printer Copyright O Carl Valentin GmbH 15 Labelstar Office 4 30 Build 1010 Parse Date Time Parse Date Time C Required program variant BASIC PROFESSIONAL For more information see Program Variants Converts the specified string representation its date and time equivalent using the specified format and culture specific format information The format of the string representation must match the specified format exactly Otherwise an error occured Syntax ParseDateTime text format Language language Parameters text A string that contains a date and time to convert format A format specifier that defines the required format of text The format parameter is a string that contains either a single standard format specifier or one or more custom format specifiers that define the required format of text For details about valid formatting codes see Standard Date and Time Format Strings or Custom Date and Time Format Strings language optional as default the language set under Windows is used Language which indicates which culture specific format information is to used For more information see Country Codes Return value Date and time value Examples IDO1 091410 ParseDateTime 130910 yyMMdd gt 10 09 2013 00 00 00 ParseDateTime lt lt ID 1 gt gt MMyydd gt 10 09 2014 0
15. Date Time Printer Copyright O Carl Valentin GmbH 12 Labelstar Office 4 30 Build 1010 Current Time Current Time C Required program variant BASIC PROFESSIONAL For more information see Program Variants Returns a value which contains the current time in accordance with the system settings Syntax CurrentTime Return value Current time according to the system settings Examples CurrentTime 11 03 59 Format CurrentTime hhmmss gt 110359 See also Current Date Time Current Date Date Time System Date Time Printer Copyright O Carl Valentin GmbH 13 Labelstar Office 4 30 Build 1010 Date Time System Date Time System Defines a date and time variable and converts the value with the indicated format in the correpsonding character string presentation Syntax DateTime format Prompt prompt UpdateInterval updateInterval MonthOffset monthOffset DayOffset dayOffset MinOffset minOffset StartDate startDate Language language Parameters format Indicates how the date and time is to be formatted The format parameter should either contain an individual format identifier see Standard Date and Time Format Strings or a customized format example see Custom Date and Time Format String which defines the format of the returned string If format contains the value null or an empty string the general format identifier G is used prompt optional
16. oldValue The string to be replaced newValue The string to replace all occurrences of oldValue Return value The changed string Examples Replace abcDEFabcDEF abc gt DEFDEF Replace abcDEFabcDEF abc ABC gt ABCDEFABCDEF Replace abcDEFabcDEF ab AB EF ef gt ABcDefABcDef See also Replace Pattern Copyright O Carl Valentin GmbH 43 Labelstar Office 4 30 Build 1010 Replace Pattern Replace Pattern L Required program variant BASIC PROFESSIONAL For more information see Program Variants Replaces all strings that match a specified regular expression with a specified replacement string Specified options modify the matching operation Syntax ReplacePattern string pattern filename replacement IgnoreCase ignorecase RightToLeft rightToLeft Parameters string The string to search for a match pattern filename The regular expression pattern to match or the file name of a text file that contains the pattern definition The pattern parameter consists of regular expression language elements that symbolically describe the string to match For more information about regular expressions see Regular Expression Language Sample List of keywords you search separated by or the file name of a text file that contains the keywords you search replacement The replacement string ignorecase optional default false true or 1 Specifies case insensitiv
17. used for erection and rectification of the code in order to permit each reading angle e Open borderline alternating pattern This represents the opposite corner of the Closed limitation line These lines are on top and right sides and consist of white and black dots open lines These are used to the determination of lines and columns while scanning e Quiet zone Zone around the code containing no information or pattern This area must be at least so wide as one column line res one dot of the code For the creation of DataMatrix code the Reed Solomon error correction code ECC 200 is used With this error correction code a DataMatrix barcode is still readable even if up to 25 of the code is covered or destroyed Length 2335 alphanumeric characters 3116 numeric characters Valid ASCII characters Check Internal digit See also y GS1 DataMatrix Copyright Carl Valentin GmbH 143 Labelstar Office 4 30 Build 1010 MaxiCode MaxiCode m Required program variant BASIC PROFESSIONAL For more information see Program Variants Fr sms MaxiCode is a 2D bar code with a fixed size of 1 in x 1 in approx 25 4 mm x asa 254mm In this area of 1 square in approx 645 mm data can be coded The 5855955899852 code is build of 884 hexagonal modules that show finder pattern AAA SC titt ed MaxiCode is a machine readable symbol system created and used by He 24 managing the shipment of packages and contains the UPS
18. 0 9 characters a 10 See also EAN 13 GTIN 13 EAN 13 5 Digits Copyright Carl Valentin GmbH 131 Labelstar Office 4 30 Build 1010 1 234567 890128 Valid Digits 0 9 characters EAN 13 5 Digits EAN 13 5 Digits EAN 13 with five additional characters 12345 a 10 See also gt EAN 13 GTIN 13 gt EAN 13 2 Digits Copyright Carl Valentin GmbH 132 Labelstar Office 4 30 Build 1010 EAN 8 GTIN 8 EAN 8 GTIN 8 EAN 8 is a shortened version of the EAN 13 code It includes a 2 or 3 digit country code 4 or 5 data digits depending on the length of the country code and a check digit 1234 5670 length 8 Valid Digits 0 9 characters ia ie 10 See also gt EAN 13 GTIN 13 Global Trade Item Number GTIN Copyright O Carl Valentin GmbH 133 Labelstar Office 4 30 Build 1010 ITF 14 SCC 14 ITF 14 SCC 14 The ITF 14 which is based on Code 2 of 5 Interleaved is used to create the Shipping Container Code SSC This code is used to mark cartons and palettes that are including goods with an EAN 13 code A SCC 14 number contains the following information e 1 Package indicator 00614141999996 e 2 3 UPC numbering system EAN country prefix GS1 country prefix e 4 8 GS1 Company Prefix can be longer e 9 13 Item identification number e 14 Check digit Length 14 Valid Digits 0 9 characters
19. 0 D co resetTime optional for operating mode 6 and 7 only Time to which the start value is to be reset Format HH MM Copyright O Carl Valentin GmbH 108 Labelstar Office 4 30 Build 1010 Counter Printer resetValue optional for operating mode 6 and 7 only Value to which the start value is to be reset If no value is indicated the counter is reset to its original start value Return value Printer specific variable definition Examples PrnCounter 0001 Mode 1 gt CN 10 1 4 1 1 0001 PrnCounter 1234 Mode 7 ResetTime 06 00 ResetValue 001 gt CN 10 7 4 1 1 06 00 0001 1234 See also gt Extended Counter Printer Counter System Copyright O Carl Valentin GmbH 109 Labelstar Office 4 30 Build 1010 Extended Counter Printer Extended Counter Printer C Required program variant BASIC PROFESSIONAL For more information see Program Variants Defines a printer internal counter Syntax PrnCounterExt value Prompt prompt UpdateInterval updateInterval Increment increment MinValue minValue MaxValue maxValue TrimLeft trimLeft Mode mode Parameters value Current start value Note The number of digits specifies the output format maximum 999999999 prompt optional Standard leer If a prompt text is defind the start value is queried at print start updatelnterval optional Standard 1 Indicates how often the variable is to be updated during a print or
20. 13 45 30 Monday ELD Copyright O Carl Valentin GmbH 103 Labelstar Office 4 30 Build 1010 Printer specific Date and Time Format Strings 15 06 2009 13 45 30 Montag GLD 15 06 2009 13 45 30 Mandag OLD For x the country abbreviation of the desired language can be used C Canadian D Danish E English F French G German Italian N Dutch O Norwegian S Spanish U Finnish W Swedish Copyright Carl Valentin GmbH 104 Labelstar Office 4 30 Build 1010 Field Link Printer Field Link Printer C Required program variant BASIC PROFESSIONAL For more information see Program Variants Defines a printer internal field link Syntax PrnFieldLink value value Parameters value The designation of linking elements field name or text constant A text constant must be placed into quotation marks The quotation marks are not printed Note For the linking only printer internal fields can be used Return parameter Printer specific variable definition Examples PrnFieldLink 1D01 Textkonstante ID02 gt SC 0 Textkonstante 1 See also Field Link System Copyright O Carl Valentin GmbH 105 Labelstar Office 4 30 Build 1010 User Input Printer User Input Printer C Required program variant BASIC PROFESSIONAL For more information see Program Variants Defines a printer internal user input Syntax PrnUserInput prompt tex
21. 30 Build 1010 Variables Variables The purpose of variables is to insert certain changeable values on a label e g current date DateTime dd MM yyyy HH mm UpdateInterval 1 MonthOffset 10 Certain characters within a printout signify and separate individual segments and permit a dismantling and processing of the printout The following table describes the reserved characters Indicates the start of a variable Note If the character is to be used directly must be entered Indicates the start of parameter list Indicates the end of parameter list Text identification s Parameter separator 00000 Parameter value separator 000000000 See also System Variables y Printer Variables Copyright O Carl Valentin GmbH 8 Labelstar Office 4 30 Build 1010 System Variables System Variables With the help of these variables variable field contents for flexible label creation can be defined In contrast to Printer Variables system variables are managed and calculated by the application Supported System Variables Date Time Variables Field Variables Path Variables String Variables Counter System User Input System Math Variables SS Y NP Check Digit Calculation Misc Variables Copyright O Carl Valentin GmbH 9 Labelstar Office 4 30 Build 1010 Date Time Variables Date Time Variables With the help of these variables date and time values can be de
22. 6 16 9 18 8 10 digits by weight Checksum 8 5 1 6 5 3 5 5 7 6 7 9 9 8 1 of weighted digits Add 8 5 1 6 5 3 5 5 7 6 7 6 9 9 8 1 85 checksums Find the 85 Mod 10 8 85 10 8 Rest 5 remainder mod 10 Check 5 digit Copyright O Carl Valentin GmbH 155 Labelstar Office 4 30 Build 1010 Modulo 11 Modulo 11 Modulo 11 is e g used by PZN Calculating the the check digit of PZN Multiply the first digit by 2 the second digit by 3 the sixth digit by 7 Add the results and divide it by 11 and the remainder Modulo 11 is the check digit If the check digit is a 10 the PZN is not released as it is not considered valid Example Code PZN 6319429 Digit 1 2 3 4 5 6 7 position Raw text 6 3 1 9 4 2 9 Check 9 digit Digits 6 3 1 9 4 2 Multiply 2 3 4 5 6 7 by Results 12 9 4 45 24 14 Add 12 9 4 45 24 14 108 results Find the 108 Mod 11 9 108 11 9 Rest 9 remainder mod 11 Check 9 digit Copyright Carl Valentin GmbH 156 Labelstar Office 4 30 Build 1010 Global Trade Item Number GTIN Global Trade Item Number GTIN Global Trade Item Number GTIN is an identifier for trade items Such identifiers are used to look up product information in a database often by inputting the number through a bar code scanner pointed at an actual product which may belong to a retailer manufacturer collector researcher or other entity The uniqueness and universality of the identifier is useful in es
23. Copyright Carl Valentin GmbH 222 Labelstar Office 4 Option Expli Object var Dim objApp Dim objLabel Dim objField Purpose Function Sel 30 Build 1010 cit iables Select text alignment Displays a message box to select the text alignment option ectTextAlignment SelectTextAlignment 1 Dim text text text text text Show Dim tmp tmp I If tmp WSc Text alignment amp vbCrLf amp vbCrLf text amp 0 amp vbTab amp Left aligned amp vbCrLf text amp 1 amp vbTab amp Centered amp vbCrLf text amp 2 amp vbTab amp Right aligned all available printers and allow a user selection nputBox text Select text alignment Then ript Echo No user input aborted Exit Function End If tmp CInt tmp If tmp 0 Or tmp 2 Then WSc ript Echo Wrong value aborted Exit Function End If Set text alignment SelectTextAlignment tmp End Function Set objApp Change text alignment CreateObject LSOffice Application Application must be initialized before OpenLabel is called objApp Initialize If objApp HasError Then Copyright O Carl Valentin GmbH GetPropertyValue Method 223 Labelstar Office 4 30 Build 1010 GetPropertyValue Method WScript Echo objApp LastError Message WScript Quit End If Open label Set objLabel objApp OpenLabel Label4 lbex If objLabel is Nothing Then
24. Copyright O Carl Valentin GmbH 17 Labelstar Office 4 30 Build 1010 WeekOfYear ww gt 05 WeekOfYear www DayOffset 5 006 WeekOfYear Calendar week ww StartDate 01 03 2014 gt Calendar week 09 Copyright O Carl Valentin GmbH Calendar Week 18 Labelstar Office 4 30 Build 1010 Day of Year Day of Year C Required program variant BASIC PROFESSIONAL For more information see Program Variants Calculates the day of year Syntax DayOfYear format UpdateInterval updateInterval MonthOffsetzmonthOffset DayOffset dayOffset StartDate startDate Language language Parameters format Indicates how the day of year is to be formatted d n Day of year from 1 to 366 dd Day of year from 01 to 366 ddd Day of year from 001 to 366 dddd Day of year from 0001 to 0366 Any other The character is copied to the result string character unchanged updatelnterval optional standard 0 Indicates how often the variable is to be updated during a print order O At print start 1 After each label n After n labels 1 After each change of data record monthOffset optional standard 0 Month offset is added to the current data dayOffset optional standard 0 Day offset is added to the current date startDate optional as default the current date and time according to the system settings is used Defines the start date language optional as default the language se
25. Nothing Then WScript Echo objApp LastError Message WScript Quit End If Enter new field content Dim result result InputBox Field content objField FieldName objField GetContent Evaluate the user input If result lt gt Then Set field content and print label objField SetContent result objLabel Print 1 End If See also Field Class Object Reference Copyright O Carl Valentin GmbH 221 Labelstar Office 4 30 Build 1010 GetPropertyValue Method GetPropertyValue Method Gets the value of the specified property Namespace LSOffice Assembly LSOffice dll Version 4 10 1010 Usage objField GetPropertyValue propertyName Parameters propertyName Type String The name of the property The following table describes some possible property names Printable Type Boolean false or 0 field is not printed true or 1 field is printed See also Printable Property Type Boolean false or 0 field is not locked true or 1 field is locked See also Locked Property TextAlignment Text Barcode only Type Integer O Left 1 Center 2 Right 3 Justify HumanReadable Barcode only Type Boolean false or 0 Don t show plain text true or 1 Show plain text Return Type Object Remarks If the method succeeds it returns the value of the property otherwise null Call Application LastError for information about possible errors Example VBScript Change Text Alignment Sample Code
26. O Carl Valentin GmbH 238 Labelstar Office 4 30 Build 1010 LabelPath Property LabelPath Property Gets the path to the opened label Read only property Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objLabel LabelPath Type String See also gt Label Class Object Reference Copyright O Carl Valentin GmbH 239 Labelstar Office 4 30 Build 1010 MaxRecord Property MaxRecord Property Returns the maximum number of records in the database Read only property Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objLabel MaxRecord Type Integer Remarks Returns the maximum number of records in the database or O if no database fields are defined on the label To check if database fields are defined on the label use IsDataAvailable property See also Label Class Object Reference Copyright O Carl Valentin GmbH 240 Labelstar Office 4 30 Build 1010 Modified Property Modified Property Gets a value that indicates that the label has been modified Read only property Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objLabel Modified Type Boolean See also gt Label Class Object Reference Copyright O Carl Valentin GmbH 241 Labelstar Office 4 30 Build 1010 PageName Property Gets or sets the current page name Namespace LSOffice Assembly LSOffice dil Version 4 20 1040 Usage objLabel PageName Type String
27. Open label Dim objLabel Set objLabel objApp OpenLabel labelName If objLabel is Nothing Then WScript Echo objApp LastError Message Exit Sub End If Format field names Dim fieldNames fieldNames objLabel FieldNames Dim text i j j UBound fieldNames text Available fields amp vbCrLf vbCrLf Copyright O Carl Valentin GmbH FieldNames Property 236 Labelstar Office 4 30 Build 1010 FieldNames Property For i 0 To j Step 1 text text amp i vbTab text text amp fieldNames i vbCrLf Next MsgBox labelName amp vbCrLf amp vbCrLf amp text vbOKOnly Field names End Sub Display field names Set objApp CreateObject LSOffice Application Application must be initialized before OpenLabel is called objApp Initialize If objApp HasError Then WScript Echo objApp LastError Message WScript Quit End If Display field names DisplayFieldNames 1Label1 lbex DisplayFieldNames Label2 lbex DisplayFieldNames 1Label3 l1bex See also Label Class Object Reference Copyright O Carl Valentin GmbH 237 Labelstar Office 4 30 Build 1010 IsDataAvailable Property IsDataAvailable Property Determines if there are database fields defined on the label Read only property Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objLabel IsDataAvailable Type Boolean See also gt Label Class Object Reference Copyright
28. The bar code has its name because each number is coded in 5 bars two broad bars and three narrow bars The spaces between the bars not contain any 1 2 3 4 5 6 information Variable Valid Digits 0 9 characters Optional Modulo 10 Modulo 10 Luhn Algorithmus Siehe auch gt Code 2 of 5 Interleaved Copyright O Carl Valentin GmbH 122 Labelstar Office 4 30 Build 1010 Code 2 of 5 Interleaved Code 2 of 5 Interleaved Code 2 of 5 Interleaved is a special type of Code 2 of 5 Industrial that is also a numeric code able to display digits from 0 to 9 The advantage of Code 2 of 5 Interleaved is that the code uses self checking and it is very compact so it does not need much space like the simple Code 2 of 5 Industrial Code 2 of 5 Interleaved is only valid if there is a even number of digits To display an odd number of digits you have to add a zero to the beginning 123 becomes 0123 or you may use your own check digit 123456 Length Variable even number of digits Valid Digits 0 9 characters Optional Modulo 10 Modulo 10 Luhn Algorithmus See also gt Code 2 of 5 Industrial Copyright O Carl Valentin GmbH 123 Labelstar Office 4 30 Build 1010 Code 39 Code 39 Code 39 is an alphanumeric bar code mainly used in shipping transport electronics and chemical industries the health sector and and in warehousing distribution Each character is composed of nine elements five bars and four
29. act upon the call to action or click cancel and ignore the invitation Length 4296 alphanumeric characters 7089 numeric characters Valid ASCII characters Check Internal digit Copyright O Carl Valentin GmbH 147 Labelstar Office 4 30 Build 1010 What are the different types of QR Codes What are the different types of QR Codes QR Codes can trigger various actions on the smartphone where they are read Directing a user to a website isn t the only possible action and some of them are worth knowing such as saving a business card or connecting to wireless networks With Labelstar Office you can create the following types of QR Codes Plain text This is the simplest QR Code type A raw text is encoded and will be displayed on the screen after scanning You can write anything you like Business card With these business card QR Codes a contact card with the details you entered will be automatically stored into the contact list of the smartphone You can enter your names address phone number email and so on Add an event to a calendar After scanning these QR Codes you will be asked if you want to save the event in your smartphone s calendar By adding the event to your calendar you will be reminded of the correct date Website By scanning this type of QR Codes users will be directed to a webpage and will discover the content available This is the most common QR Code type Call a phone number Type in a phone
30. child table using relation named OrdersToltemsRelation Aggregate Functions There are supported following aggregate functions SUM COUNT MIN MAX AVG average STDEV statistical standard deviation and VAR statistical variance Example Filter Salary gt Select people with above average salary AVG Salary Filter Select orders which have more than 5 items COUNT Child IdOrder gt 5 Filter SUM Child Price Select orders which total price sum of items prices is greater or equal 500 500 Functions There are also supported following functions Detailed description can be found here Filter Expression Functions e CONVERT converts particular expression to a specified type e LEN gets the length of a string e ISNULL checks an expression and either returns the checked expression or a replacement value e IIF gets one of two values depending on the result of a logical expression e TRIM removes all leading and trailing blank characters like r An t e SUBSTRING gets a sub string of a specified length starting at a specified point in the string See also gt Filter Expression Functions y SelectRecord Method Copyright O Carl Valentin GmbH 257 Labelstar Office 4 30 Build 1010 Filter Expression Syntax Label Class Object Reference Copyright O Carl Valentin GmbH 258 Labelstar Office 4 30 Build 1010 Filter Expression Functions Filter Expression Functi
31. comment The comment ends at the first bA Matches closing parenthesis words starting with bis X mode comment The comment starts at an 2x bA w Zeilenende unescaped and continues to the end of the b Matches words line starting with A Copyright Carl Valentin GmbH 50 Labelstar Office 4 30 Build 1010 Pad String from Left Pad String from Left L Required program variant BASIC PROFESSIONAL For more information see Program Variants Increase the length of the string by adding spaces or a specified character to the beginning Strings with length greater than or equal to the required length will be unchanged Syntax PadLeft text totalWidth PaddingChar paddingChar Parameter text The string to be changed totalWidth The number of characters in the resulting string equal to the number of original characters plus any additional padding characters paddingChar optional standard spaces A padding character Return value The changed string Examples PadLeft abcDEF 19 gt abcDEF PadLeft 12345 10 PaddingChar 0 0000012345 See also gt Pad string from right Copyright Carl Valentin GmbH 51 Labelstar Office 4 30 Build 1010 Pad String from Right Pad String from Right L Required program variant BASIC PROFESSIONAL For more information see Program Variants Increase the length of the string by adding spaces or a specified character to the end Str
32. control number 7 nn a th United Parcel Service The code is suitable for fast identification tracking and ss 9 FO rt weight kind of dispatch and address IP ese The code is easily identifiable at the bull s eye pattern in the middle of the A A een eee ee e e symbol By the Reed Solomon error correction a reconstruction of the 2D bar RS 0 es se m code is still possible even if up to 25 of the code were destroyed ih MaxiCode defines 6 modes that determines that how data should be interpreted The mode 0 and 1 are no longer used Mode 4 and 5 are used to encode raw data with mode 5 offers a slight higher data error correction Mode 2 and 3 are used to encode structure message which comprises two parts Primary Message and Secondary Message The Primary Message encodes a postal code 3 digit country code and 3 digit class of service code The Second Message encodes other data Labelstar Office supports the following modes e Mode 2 Structured Carrier Message Numeric Postal Code up to 9 digits e Mode 3 Structured Carrier Message Alphanumeric Postal Code up to 6 characters e Mode 4 Raw Data Standard Error Correction Length 93 alphanumeric characters 138 numeric characters Valid ASCII characters Check Internal digit Copyright O Carl Valentin GmbH 144 Labelstar Office 4 30 Build 1010 Structured Carrier Message Structured Carrier Message Postal Zip Code Mo
33. encode 48 different characters By the use of various bar widths and gap widths it has a higher information density Each sign of the code consists of nine units three bars and three spaces Digits 0 9 characters Upper case letters A Z Special characters 96 Space cil gata 47 See also Code 93 Full ASCII Copyright O Carl Valentin GmbH 126 Labelstar Office 4 30 Build 1010 Code 93 Full ASCII Code 93 Full ASCII 2 Note This barcode is transmitted graphically Code 93 Full ASCII is an extended version of Code 93 that can encode the complete ASCII character set ABCabc Valid ASCII character set characters a pe 47 See also Code 93 Copyright O Carl Valentin GmbH 127 Labelstar Office 4 30 Build 1010 Deutsche Post Identcode Deutsche Post Identcode The Identcode is a variant of 2 of 5 Interleaved but with a different check digit This code is used by the Deutsche Post AG DHL and serves the automatic distribution of freight parcels in the post office centres Structure of the Identcode e 1 2 Mail center outgoing e 3 5 Customer code e 6 11 Delivery number 34 567 89 e 12 Check digit Valid Digits 0 9 characters Fe La 10 See also Y Deutsche Post Leitcode Copyright O Carl Valentin GmbH 128 Labelstar Office 4 30 Build 1010 Deutsche Post Leitcode Deutsche Post Leitcode The Leitcode is a variant of 2 of 5 Interleaved but with a diff
34. equal to the number of characters in text the entire string is returned Return value A string containing a specified number of characters from the right side of a string Examples Right abcDEF 0 Right abcDEF 2 gt EF Right abcDEF 4 gt cDEF Right abcDEF 10 gt abcDEF Right abcDEF 2 gt Error See also gt Get Leftmost Characters of a String Get Middle Characters of a String Copyright O Carl Valentin GmbH 40 Labelstar Office 4 30 Build 1010 Get Middle Characters of a String Get Middle Characters of a String C Required program variant BASIC PROFESSIONAL For more information see Program Variants Returns a string that contains a specified number of characters starting from a specified position in a string Syntax Mid text index Length length Parameters text String expression from which characters are returned index Starting position of the characters to return If index is greater than the number of characters in text the function returns a zero length string Note The starting position is one based length optional Number of characters to return If omitted or if there are fewer than length characters in text including the character at position index all characters from the start position to the end of the string are returned Return value A string that consists of the specified number of characters starting from the specifi
35. for tracking trade items in stores Its most common form the UPC A consists of 12 numerical digits which are uniquely assigned to each trade item Along with the related EAN 13 bar code the UPC A is the bar code mainly used for scanning of trade items at the point of sale 1 23456 78901 2 The symbol encodes 12 characters e 1 System identification e 2 6 UPC ID number manufacturer e 7 11 Individual article number issued by the manufacturer e 12 Check digit linge 2 Zeichensatz Ziffern 0 9 Pr fziffer Modulo 10 Siehe auch UPC E Global Trade Item Number GTIN Copyright O Carl Valentin GmbH 137 Labelstar Office 4 30 Build 1010 UPC E UPC E to use one of the other versions The code is smaller because it drops out zeros which would otherwise occur in the symbol For example the code 59300 00066 would be encoded as 593663 The last digit 3 in the example indicates the type of The UPC E is intended to be used on packaging which would be otherwise too small compression 0 123456 5 Digits 0 9 characters Fall os 10 See also y UPC A Copyright O Carl Valentin GmbH 138 Labelstar Office 4 30 Build 1010 2D Bar Codes 2D Bar Codes Most 2D bar codes consist of small black and white squares and encode information in the area A distinction is made between stacked bar codes matrix codes item codes and other special shapes Supported Bar Codes y Aztec Code Codablock F
36. gt 1 052033e 003 1052 0329112756 e2 en US gt 1 05e 003 1052 0329112756 E2 fr_FR gt 1 05E 003 F or f Fixed point Result Integral and decimal digits with 1234 567 F en US gt 1234 57 optional negative sign 1234 567 F de DE gt 1234 57 Precision specifier Number of decimal 1234 F1 en US gt 1234 0 digits 1234 F1 de DE gt 1234 0 1234 56 F4 en US gt 1234 5600 1234 56 F4 de DE gt 1234 5000 Gorg General Result The most compact of either fixed 123 456 G en US gt 123 456 point or scientific notation 123 456 G sv SE 123 456 Precision specifier Number of significant 123 4546 G4 en US gt 123 5 digits 123 4546 G4 sv SE 123 5 1 234567890e 25 G en US gt 1 23456789E 25 1 234567890e 25 G sv SE gt 1 23456789E 25 Norn Number Result Integral and decimal digits group 1234 567 N en US gt 1 234 57 separators and a decimal separator with 1234 567 N ru RU gt 1 234 57 optional negative sign 1234 N1 en US gt 1 234 0 Precision specifier Desired number of 1234 N1 ru RU gt 1 234 0 decimal places 1234 56 N3 en US gt 1 234 560 1234 56 N3 ru RU gt 1 234 560 Porp Percent Result Number multiplied by 100 and 1 P en US gt 100 00 96 displayed with a percent symbol 1 P fr FR 100 00 96 Precision specifier Desired number of 0 39678 P1 en US gt 39 7 96 decimal
37. help in controlling shrinkage optimizing product replenishment and improving the traceability of a product at the point of sale They are seeing increased use in manufacturers coupons This family of bar codes include Omnidirectional GS1 DataBar Symbols Small GS1 DataBar Symbols PoS compatible not PoS compatible Ili eae CL 01 00614141999996 01 00614141999996 017 0061414155955565 iit i I TL Copyright O Carl Valentin GmbH 150 Labelstar Office 4 30 Build 1010 GS1 DataMatrix GS1 DataMatrix m Required program variant BASIC PROFESSIONAL For more information see Program Variants The GS1 DataMatrix is a 2D bar code with a high information density on relatively small space A GTIN can be represented e g already on a space of 5 x 5 mm In the GS1 DataMatrix it is possible to code several data at the same time It is mainly used in trade and industry particularly for labelling goods and pallets It is usual to code additionally to the product code e g the weight and minimum durability date The GS1 DataMatrix is compatible to the existing GS1 standard and is protected for all GS1 applications Valid characters Check digit See also DataMatrix Copyright O Carl Valentin GmbH 151 Labelstar Office 4 30 Build 1010 GS1 128 GS1 128 m Required program variant BASIC PROFESSIONAL For more inform
38. if path denotes a root directory or is null Returns an empty string if path does not contain directory information Examples Dir C Labels Label 1lbex gt C Labels Dir AppPath C Programs Carl Valentin GmbH See also y Get file name gt Get file extension Copyright O Carl Valentin GmbH 31 Labelstar Office 4 30 Build 1010 Ext SExt C Required program variant BASIC PROFESSIONAL For more information see Program Variants Returns the extension of the specified path string Syntax Ext path Parameters path The path string from which to get the extension Return value The extension of the specified path including the period or an empty string if path does not have extension information Examples Ext C label lbex gt Ibex Ext AppPath gt exe Ext C label gt See also gt Get file name gt Get folder name Copyright Carl Valentin GmbH 32 Labelstar Office 4 30 Build 1010 FileName FileName C Required program variant BASIC PROFESSIONAL For more information see Program Variants Returns the file name of the specified path string Syntax FileName path Extzextension Parameters path The path string extension optional default true true or 1 Returns file name with extension false or 0 Returns file name without extension Return value The file name of the specified path string with or without exten
39. in the GS1 DataBar Coupon Formerly known as Reduced Space Symbology RSS 14 this family of bar codes include All GS1 DataBar bar codes encode a GTIN 12 or GTIN 13 in a 14 digit data structure In order to make the GTIN 12 or GTIN 13 a 14 digit data structure a leading zero or zeros is filled to the left of the GTIN GS1 DataBar Omnidirectional GS1 DataBar Stacked Omnidirectional GS1 DataBar Expanded and GS1 DataBar Expanded Stacked have omnidirectional scanning capability GS1 DataBar Truncated GS1 DataBar Stacked and GS1 DataBar Limited can only be scanned by a linear hand held or imaging scanning device they cannot be scanned by omnidirectional scanners and are intended to be read by handheld scanners GS1 DataBar Stacked Omnidirectional is designed to condense the information into a more compact and square bar code suitable for use on smaller packages such as the label stickers on fresh produce GS1 DataBar Limited GS1 DataBar Stacked and GS1 DataBar Truncated are designed for very small item identification and are mainly used in the healthcare industry Each encodes a GTIN 12 or GTIN 13 in 14 digit data structure Only GS1 DataBar Limited uses an indicator digit 1 In addition to encoding Application Identifier 01 GS1 DataBar Expanded and GS1 DataBar Expanded Stacked can encode additional GS1 Application Identifiers such as sell by date weight and lot number Each symbol has a capacity of up to 74 characters These attributes can
40. labels if you want to save a preview to each label Do you want to activate the label preview only for particular labels then activate the option Save label preview in the label settings Gap length 2 00 mm Label height 60 00 mm Label type Adhesive labels Label width 100 00 mm Snap Lines 4 Printing Label rotation 180 Log print job Marked fields only Print background image No Printer Vario Ill 107 12 Use temporary printer date No Page Setup Shift Definitions Printing Preferences 4 Settings Preview image None Save label preview Yes Comment Copyright O Carl Valentin GmbH 174 Labelstar Office 4 30 Build 1010 Memory Card Tab Memory Card Tab L Required program variant BASIC PROFESSIONAL For more information see Program Variants In this tab you can change different Memory Card options e g the standard directory for printer drive and system drive Copyright O Carl Valentin GmbH 175 Labelstar Office 4 30 Build 1010 Logging Tab Logging Tab m Required program variant PROFESSIONAL For more information see Program Variants In this tab you can change the log settings Log File You can specify where the log file is to be saved Folder Enter the name of the folder in which the log file is to be created or click on i to browse the folder File Name Enter a fixed file name or use placeholder date time labelname printername which are
41. objLabel ActivePrinter activePrinter objLabel Print 1 See also gt Label Class gt Object Reference Copyright O Carl Valentin GmbH 233 Labelstar Office 4 30 Build 1010 CurrentRecord Property CurrentRecord Property Gets or sets the one based index of the current record to be printed Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objLabel CurrentRecord Type Integer Remarks To check if database fields are defined on the label use IsDataAvailable property See also Label Class Object Reference Copyright O Carl Valentin GmbH 234 Labelstar Office 4 30 Build 1010 FieldCount Property FieldCount Property Gets the number of fields defined on the label Read only property Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objLabel FieldCount Type Integer See also gt Label Class Object Reference Copyright O Carl Valentin GmbH 235 Labelstar Office 4 30 Build 1010 FieldNames Property Gets the list of field names defined on the label Read only property Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objLabel FieldNames Type String Example VBScript Display Field Names Sample Code Option Explicit Object variables Dim objApp DisplayFieldNames Purpose i A message box is displayed showing all fields defined on the label Sub DisplayFieldNames labelName
42. of bar code data check digit and correction sign The used characters are coded in code words A code word consists of 17 modules that are formed of 4 bars and spaces The error correction is determined with the Reed Solomon algorithm in 9 selectable Error Correction Levels With selected error correction level 0 an error can be recognized but not corrected With the error correction levels 1 to 8 errors can also be corrected Use of the error correction e ECL 2 less than 41 code words ECL 3 41 to 160 code words ECL 4 161 to 320 code words ECL 5 more than 320 code words Length 1850 alphanumeric characters 2725 numeric characters Valid ASCII characters Check Internal digit Copyright O Carl Valentin GmbH 146 Labelstar Office 4 30 Build 1010 QR Code QR Code m Required program variant BASIC PROFESSIONAL For more information see Program Variants A QR Code quick response code is a type of 2D bar code that is used to provide easy access to information through a smartphone In this process known as mobile tagging the smartphone s owner points the phone at a QR Code and opens a barcode reader app which works in conjunction with the phone s camera The reader interprets the code which typically contains a call to action such as an invitation to download a mobile application a link to view a video or an SMS message inviting the viewer to respond to a poll The phone s owner can choose to
43. spaces Three of the nine elements in each character are wide binary value 1 and six elements are narrow binary value 0 The width ratio between narrow and wide is not critical and may be chosen between 1 2 and 1 3 The bar code itself does not contain a check digit but it can be ABCDEF considered self checking on the grounds that a single erroneously interpreted bar cannot generate another valid character Possibly the most serious drawback of Code 39 is its low data density It requires more space to encode data in Code 39 than for example in Code 128 Digits 0 9 characters Upper case letters A Z Special characters Space Optional Modulo 43 Modulo 11 weighting 7 Modulo 10 Luhn Algorithmus See also Code 39 Full ASCII Copyright O Carl Valentin GmbH 124 Labelstar Office 4 30 Build 1010 Code 39 Full ASCII Code 39 Full ASCII Code 39 Full ASCII is an extended version of Code 39 that can encode the complete ASCII character set The additional characters e g lower case letters are created using the existing characters of Code 39 by combining two characters each ABCabc Valid ASCII character set characters Optional Modulo 43 Modulo 11 weighting 7 Modulo 10 Luhn Algorithmus See also Code 39 Copyright O Carl Valentin GmbH 125 Labelstar Office 4 30 Build 1010 Code 93 Code 93 Code 93 is an alphanumeric code similar to Code 39 and can
44. standard empty If a prompt text is defined the start date is queried at print start updatelnterval optional standard 0 Indicates how often the variable is to be updated during a print order O At print start 1 After each label n After n labels 1 At each change of data record monthOffset optional standard 0 Month offset is added to the current date dayOffset optional standard 0 Day offset is added to the current date minOffset optional standard o Minute offset is added to the current time startDate optional as default the current date and time according to the system settings is used Defines the start date and start time language optional as default the language set under Windows is used Language which is used for formatting the output For more information see Country Codes Return value Formatted text Examples DateTime dd MM yyyy 11 09 2013 DateTime dd MM yyyy StartDate 15 06 2009 MonthOffset 2 gt 15 08 2009 DateTime D Updatelnterval DayOffset 2 Language fr Fr StartDate ParseDateTime 131012 yyMMdd gt samedi 12 octobre 2013 DateTime HH mm ss 13 20 35 DateTime hh mm ss 01 20 35 IDO1 260514 Copyright O Carl Valentin GmbH 14 Labelstar Office 4 30 Build 1010 Date Time System DateTime D UpdatelInterval 0 DayOffset 2 StartDate ParseDateTime lt lt ID 1 gt gt ddMMyy gt Montag
45. than the actual field contents Note For the printout the current field content is always used Return value Field contents Examples IDO1 12345 IDO2 abcABC FieldLink ID 1 gt 12345 FieldLink IDO1 00000 gt 00000 FieldLink ID 2 gt abcABC FieldLink ID 2 XXXXXX gt XXXXXX ID02 gt abcABC See also Field Link Printer Copyright O Carl Valentin GmbH 25 Labelstar Office 4 30 Build 1010 Get Field Name Get Field Name L Required program variant BASIC PROFESSIONAL For more information see Program Variants Returns the field name Syntax FieldName Return value Field name Copyright O Carl Valentin GmbH 26 Labelstar Office 4 30 Build 1010 Path Variables Path Variables With the help of the path variables path strings can be read out and processed Supported Path Variables Application Data Folder Application Folder Application Path Folder Name File Extension File Name Image Folder Label Folder Label Path W YV Y Y N Installation Folder Copyright Carl Valentin GmbH 27 Labelstar Office 4 30 Build 1010 AppDataDir AppDataDir L Required program variant BASIC PROFESSIONAL For more information see Program Variants Returns the full path to the file directory containing application data for all users Syntax AppDataDir Return value Windows XP C Documents and Set
46. that you can periodically analyze this data without repeatedly copying the data to your label which is an operation that can be time consuming and prone to error To bring external data into Labelstar Office you need access to the data If the external data source that you want to access is not on your local computer you may need to contact the administrator of the database for a password user permissions or other connection information If the data source is a database make sure that the database is not opened in exclusive mode If the data source is a text file or a spreadsheet make sure that another user does not have it open for exclusive access Many data sources also require an ODBC driver or OLE DB provider to coordinate the flow of data between Labelstar Office the connection file and the data source The following diagram summarizes the key points about data connections ODBC driver OLE DB provider Data connection Labelstar Office Data sources First steps y Create a new data connection Create a database label Copyright O Carl Valentin GmbH 158 Labelstar Office 4 30 Build 1010 New Data Connection New Data Connection To specify a new data connection proceed as follows 1 Select Data Connections view 2 Click on New Data Connection The Data Connection Wizard opens 3 Select the data source you want to use 4 Follow the instructions in the wizard 5 After the successful definition the n
47. the license information See also Application Class Object Reference Copyright O Carl Valentin GmbH 192 Labelstar Office 4 30 Build 1010 ActivePrinter Property ActivePrinter Property Returns the name of the active printer Read only property Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objApp ActivePrinter Type String Example VBScript This example displays the name of the active printer Dim ob App Set objApp CreateObject LSOffice Application ob jJApp Initialize If objApp HasError Then MsgBox objApp LastError Message WScript Quit End If MsgBox The name of the active printer is amp objApp AcrtivePrinter See also Application Class Object Reference Copyright O Carl Valentin GmbH 193 Labelstar Office 4 30 Build 1010 HasError Property HasError Property Gets a value that indicates whether an error occurred during the last call to a method or property Read only property Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objApp HasError Type Boolean Remarks For more information see LastError property See also Application Class Object Reference Copyright O Carl Valentin GmbH 194 Labelstar Office 4 30 Build 1010 Info Property Info Property Refers to the Versioninfo object representing the version information Read only property Namespace LSOffice Assembly LSOffice dil Vers
48. tmp tmp InputBox Native name starts with amp vbCrLf amp vbCrLf amp de amp vbTab amp Deutschland amp vbCrLf amp fr amp vbTab amp France amp vbCrLf amp it amp vbTab amp Italia amp vbCrLf amp es amp vbTab amp Espana amp vbCrLf amp amp vbCrLf Select Record de If tmp Then WScript Echo No user input aborted WScript Quit End If Select record and print label objLabel SelectRecord NativeName LIKE amp tmp If objApp HasError Then WScript Echo objApp LastError Message WScript Quit End If objLabel Print 1 PrintOptions PrintCurrentRecord See also Label Class Object Reference Copyright O Carl Valentin GmbH 254 Labelstar Office 4 30 Build 1010 Filter Expression Syntax Filter Expression Syntax This example describes syntax of filter expression It shows how to correctly build aexpression string without SQL injection using methods to escape values Column Names If a column name contains any of these special characters gt 96 amp you must enclose the column name within square brackets If a column name contains right bracket or backslash escape it with backslash or Filter id 10 No special character in column name id Filter id 10 No special character in column name id Filter id 10 Special character in column name id Filter id 10 Spe
49. two ways e By using the miscellaneous construct imnsx imnsx where a minus sign before an option or set of options turns those options off For example i mn turns case insensitive matching i on turns multiline mode m off and turns unnamed group captures n off The option applies to the regular expression pattern from the point at which the option is defined and is effective either to the end of the pattern or to the point where another construct reverses the option e By using the grouping construct imnsx imnsx subexpression which defines options for the specified group only The regular expression engine supports the following inline options Use case insensitive matching b i a i a w aardvark AAAuto aardvark aaaAuto Adam aaaAuto breakfast Use multiline mode and match the beginning and end of a line instead of the beginning and end of a string n Donotcapture unnamed groups NA s Use single ine mode OO EN Ignore unescaped white space in the regular b x Nd Ns Nw 1 aardvark 2 cats 1 aardvark 2 expression pattern IV centurions cats Miscellaneous Constructs Miscellaneous constructs either modify a regular expression pattern or provide information about it The following table lists the supported miscellaneous constructs Sets or disables options such as case insensitivity bA i b w b in the middle of a pattern For more information see Regular Expression Options Inline
50. 0 00 00 See also Date Time System Copyright O Carl Valentin GmbH 16 Labelstar Office 4 30 Build 1010 Calendar Week Calendar Week L Required program variant BASIC PROFESSIONAL For more information see Program Variants Calculates the calendar week Syntax WeekOfYear format UpdateInterval updateInterval MonthOffset monthOffset DayOffset dayOffset StartDate startDate Language language Parameters format Indicates how the calendar week is to be formatted Calendar week from 1 to 53 Calendar week from 01 to 53 WWW Calendar week from 001 to 053 Calendar week from 0001 to 0053 Any other The character is copied to the result string character unchanged updatelnterval optional standard 0 Indicates how often the variable is to be updated during a print order O At print start 1 After each label n After n labels 1 At each change of data recordl monthOffset optional Standard o Month offset is added to the current date dayOffset optional Standard o Day offset is added to the current date startDate optional as default the current date set in the system settings is used Defines the start date language optional as default the language set under Windows is used Language which is used for formatting the output For more information see Country Codes Return value Formattes calendar week Examples Current date 01 02 2014 WeekOfYear w gt 5
51. 0 Build 1010 Your First Application Option Explicit Object variables Dim objApp Dim objLabel Open and print label Set objApp CreateObject LSOffice Application Application must be initialized before OpenLabel is called objApp Initialize If objApp HasError Then WScript Echo objApp LastError Message WScript Quit End If Browse file name Dim fileName fileName objApp GetOpenFilename Labels lbex All Files If Len fileName 0 Then WScript Quit End If Open label Set objLabel objApp OpenLabel fileName If objLabel is Nothing Then WScript Echo objApp LastError Message WScript Quit End If Print label objLabel Print 1 Copyright O Carl Valentin GmbH 188 Labelstar Office 4 30 Build 1010 VBScript Samples VBScript Samples Labelstar Office core is compiled using the x86 Platform target Running Labelstar Office on 64 bit machines requires 32 bit script host which is located in the SYSWOW64 folder By default Windows 64 bit starts the 64 bit version of wscript exe the VBS interpreter This results in the 800a01ad Active X component can t create object error message The sample scripts demonstrate how to open modify and print labels The scripts are located in the following directory 96InstallDir 6 Samples COM Interop VBScript Open and print label vbs Change printer name vbs Change field content vbs Set printable property vbs Change text alignmen
52. 1 01 0900 00 00 00 900 01 01 1900 00 00 00 1900 15 06 2009 13 45 30 2009 yyyy The year as a four digit number 01 01 0001 00 00 00 gt 0001 Copyright O Carl Valentin GmbH 95 Labelstar Office 4 30 Build 1010 Custom Date and Time Format Strings 01 01 0900 00 00 00 0900 01 01 1900 00 00 00 1900 15 06 2009 13 45 30 2009 The year as a five digit number 01 01 0001 00 00 00 gt 00001 15 06 2009 13 45 30 02009 The time separator 15 06 2009 13 45 30 gt en US 15 06 2009 13 45 30 it IT 15 06 2009 13 45 30 Ja JP The date separator 15 06 2009 13 45 30 gt en US 15 06 2009 13 45 30 ar DZ 15 06 2009 13 45 30 tr TR The escape character 15 06 2009 13 45 30 h h gt 1h Any other The character is copied to the result string 15 06 2009 01 45 30 arr hh mm t gt arr 01 45 A character unchanged Copyright O Carl Valentin GmbH 96 Labelstar Office 4 30 Build 1010 Text Format Strings Text Format Strings Format string must be a string composed of one or more of the masking elements as shown in the following table Replaces the placeholder by an abc 123 DEF 00000 12300 appropriated existing number 0 9 abc 123 DEF 100000 gt 00123 otherwise 0 is indicated in the result string Digit or space Replaces the placeholder by an abc 123 DEF 199999 gt 123 appropriate existing number 0 9 otherwise a space is indicat
53. 1 to 12 15 06 2009 01 45 30 gt 1 15 06 2009 13 45 30 gt 1 hh The hour using a 12 hour clock from 01 to 12 15 06 2009 01 45 30 gt 01 15 06 2009 13 45 30 gt 01 H The hour using a 24 hour clock from 0 to 23 15 06 2009 01 45 30 1 15 06 2009 13 45 30 13 HH The hour using a 24 hour clock from 00 to 23 15 06 2009 01 45 30 gt 01 15 06 2009 13 45 30 13 The minute from O through 59 15 06 2009 01 09 30 9 15 06 2009 13 09 30 9 The minute from 00 through 59 15 06 2009 01 09 30 09 15 06 2009 13 09 30 09 M The month from 1 through 12 15 06 2009 13 45 30 gt 6 CNN i month from 01 through 12 15 06 2009 13 45 30 06 The abbreviated name of the month 15 06 2009 13 45 30 Jun en US 15 06 2009 13 45 30 juin fr FR 15 06 2009 13 45 30 Jun zu ZA MMMM The full name of the month 15 06 2009 13 45 30 June en US 15 06 2009 13 45 30 juni da DK 15 06 2009 13 45 30 uJuni zu ZA S The second from 0 through 59 15 06 2009 13 45 09 gt 9 ss The second from 00 through 59 15 06 2009 13 45 09 09 y The year from 0 to 99 01 01 0001 00 00 00 gt 1 01 01 0900 00 00 00 0 01 01 1900 00 00 00 0 15 06 2009 13 45 30 9 yy The year from 00 to 99 01 01 0001 00 00 00 01 01 01 0900 00 00 00 00 01 01 1900 00 00 00 00 15 06 2009 13 45 30 09 The year with a minimum of three digits 01 01 0001 00 00 00 001 0
54. 10 0011 0012 See also Global Counter Counter Printer Copyright O Carl Valentin GmbH 64 Labelstar Office 4 30 Build 1010 Global Counter Global Counter L Required program variant BASIC PROFESSIONAL For more information see Program Variants The global counter is a special case of a System Counter The start value becomes global i e defined and saved across labels To define a global counter please proceed as follows 1 Select a text or bar code field 2 Open the Variable Editor 3 Define a new customized variable Custom Variable Settings Mame Description Counter start value 4 Define Counter System and insert as start value the new defined variable Examples Start 0010 Counter Start MinValue 0000 MaxValue 0009 Increment 1 Radix 10 gt 0010 0011 0012 0013 0014 0015 0016 0017 0018 0019 0020 Copyright O Carl Valentin GmbH 65 Labelstar Office 4 30 Build 1010 User Input System Inserts a user input system on the label Syntax UserInput Return value The entered text Examples Prompt text Enter start value Start text 0001 User Input Cancel See also User Input Printer Copyright O Carl Valentin GmbH User Input System 66 Labelstar Office 4 30 Build 1010 Input Mask Input Mask The input mask must be a string composed of one or more of th
55. 2009 06 15 20 45 30Z 15 06 2009 13 45 30 gt Monday June 15 2009 8 45 30 PM en US 15 06 2009 13 45 30 gt den 15 juni 2009 20 45 30 sv SE 15 06 2009 13 45 30 gt Aeutepa 15 louviou 2009 8 45 30 up el GR 15 06 2009 13 45 30 gt June 2009 en US 93 Labelstar Office 4 30 Build 1010 Standard Date and Time Format Strings 15 06 2009 13 45 30 juni 2009 da DK 15 06 2009 13 45 30 Juni 2009 id ID Copyright O Carl Valentin GmbH 94 Labelstar Office 4 30 Build 1010 Custom Date and Time Format Strings Custom Date and Time Format Strings A custom format string consists of one or more custom date and time format specifiers Any string that is not a standard date and time format string is interpreted as a custom date and time format string The following table describes the custom date and time format specifiers So m day of the month from 1 through 31 The day of the month from 01 through 31 01 06 2009 13 45 30 01 15 06 2009 13 45 30 15 The abbreviated name of the day of the week 15 06 2009 13 45 30 gt Mon en US 15 06 2009 13 45 30 gt MH ru RU 01 06 2009 13 45 30 gt 1 15 06 2009 13 45 30 gt 15 15 06 2009 13 45 30 gt lun fr FR 15 06 2009 13 45 30 gt Monday en US 15 06 2009 13 45 30 gt noHegenbHuK ru RU 15 06 2009 13 45 30 gt lundi fr FR dddd The full name of the day of the week h The hour using a 12 hour clock from
56. 42 Labelstar Office 4 30 Build 1010 DataMatrix DataMatrix m Required program variant BASIC PROFESSIONAL For more information see Program Variants DataMatrix code is one of the most popular 2D bar codes Many data can be coded onto a small surface For this reason it is often used for permanent marking with lasers in production e g circuit boards Additionally the code is used in the automotive sector with analyzers and instruments chemistry medicine and also increasingly as printed code image in documentation e g tickets digital postmarks DataMatrix symbols consist of square modules arranged within black active gt binary 1 and white inactive gt binary 0 cells Finder pattern as area of DataMatrix code has the width of a module and consists at the left and upper sides of two lines which contain only dark modules The lines at the right and upper side of the symbol are represented alternating in dark and bright modules A quiet zone with the width of one module surrounds the barcode The uniform symbol size and the firm symbol distance make reading and decoding of the code very safe A DataMatrix barcode symbol consists of the following four components e Data area This area contains redundant data in codified form for data protection e Closed limitation line finder pattern This is the corner that is represented in normal alignment to the left and below data area with an uninterrupted line This boundary is
57. 6 5 4 3 2 1 position Raw text 4 0 1 2 3 4 5 9 8 7 6 5 2 Check 2 digit Digits 4 0 1 2 3 4 5 9 8 7 6 Weights 1 3 1 3 1 3 1 3 1 3 1 Multiply 4 0 1 6 3 12 5 27 8 21 6 15 digits by weight Add 4 0 1 6 3 12 5 27 8 21 6 15 108 results Find the 108 Mod 10 8 108 10 10 Rest 8 remainder mod 10 Subtract 10 822 from 10 Check 2 digit Copyright O Carl Valentin GmbH 154 Labelstar Office 4 30 Build 1010 Modulo 10 Luhn Algorithm Modulo 10 Luhn Algorithm The Luhn Algorithm or Luhn Formula also known as the modulus 10 or mod 10 algorithm is a simple checksum formula used to validate a variety of identification numbers such as credit card numbers IMEI numbers National Provider Identifier numbers in US and Canadian Social Insurance Numbers It was created in 1960 by IBM scientist Hans Peter Luhn The algorithm is in the public domain and is in wide use today It is not intended to be a cryptographically secure hash function it was designed to protect against accidental errors not malicious attacks Most credit cards and many government identification numbers use the algorithm as a simple method of distinguishing valid numbers from mistyped or otherwise incorrect numbers Example Code 4556737586899855 Digit TOSS TEM S M A OR A 1100 2 1 position Raw text 4 5 5 6 7 3 7 5 8 6 8 9 9 8 5 5 Check 5 digit Digits 4 5 5 6 7 3 7 5 8 6 8 9 9 8 5 Weights 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 Multiply 8 5 10 6 14 3 14 5 16
58. E Modulo FO LA AlGON NEN ES nn AA MONO PR ant a en nts ccna aun A Gp evtateeees Global Trade Item Number GTIN ss DAS UU T TTE Misi Bir esie Sd Da ee M ne Create a Database Eab6laa i aid nn eee eee en tee ete ene Cee eee Activate and Deactivate Logging ss Ec T tS KIKD G er P M sateen Food Allergen Label O serna Sl RN P EE Supported Graphic and Vector Formats iii Ao T UU t Er CHGS gc WA sgt seta ostra gine A T ape PIOVIW Ta Dies o ECO A MEMOS A AO mter E a a die oe o a utectatuoneheacestadese moat caaewesuaeaen on Copyright Carl Valentin GmbH Labelstar Office 4 30 Build 1010 Contents mandos d a 178 A M 179 A NUT dado 180 IE TR LOUE LE 0 LES CU UNO eee ee T T ETE 181 COLE AUTO AIO ES M T mE 182 CD SAU Requiem IS en en ea 184 Register Assembly for COM Interop ccoccccccncncnccocccoconconccoconnnnonoconnnnonnnonannonanonannnnnnonanonannonanenaninnnos 185 VOU IESE ADPIC rosarina 186 VO SCD ers ci ETT UNE 189 Seed i am e UU m 190 ADI 11 ROM C de a EAE Re en eee 191 AADDIICSUOD T 0 01219112 Sua eee ee ee ee Passe eee ee 192 PCUVEIPTINIC TROD CI douce tisse a t 193 o EET E UE 194 a TM 195 isIriiiallZed PTODOPD ornato an an cn ton ot bodas deant td ue 196 AOC ILIIF ODS VS e ae 197 EAEN oo E 198 EIGerse POD TO eea A N DX dt oA Kc on eu 200 JADDICSUOL MOLTIOG Saad 201 Maiz MEMO ia 202 GetOpenPlename
59. IONAL For more information see Program Variants Defines a printer internal counter Syntax PrnCounter value Prompt prompt UpdateInterval updateInterval Increment increment Pos pos Radix radix Mode mode ResetTime resetTime ResetValue resetValue Parameters value Current start value Note The number of digits specifies the output format maximum 999999999 prompt optional Standard leer If a prompt text is defined the start value is queried at print start updatelnterval optional Standard 1 Indicates how often the variable is to be updated during a print order 1 After each label n After n labels increment optional Standard 1 Increment pos optional Standard 0 Defines the position at which the counter starts to count If the position is equal 0 the number of character in value is used as start position radix optional Standard 10 Radix basis of the counter 1 36 1 Alphabetical A Z 2 Binary 0 1 8 Octal 0 7 10 Decimal 0 9 16 Hexadecimal 0 9 A F 36 Alphanumeric 0 9 A Z mode optional Standard 1 Operating mode Reset start value manually Reset start value manually automatic overflow Enter start value at printer Enter start value last end value at printer Reset start value at cycle end Reset start value by I O signal Reset start value time controlled Reset start value time controlled enter start value at printer O U1 ah
60. ONG IVI CTI OG susto dildo caba 253 Filter Expression Syna Xsens a m 255 Fiter EXpression FUNCIONS mais 259 SetPropertyValue Method 261 Ho mm 262 Licepnselhto PODES a att nafci en ua ce tn D ed cn UU 263 IS MANGION PROD CIAY ER an ame ans croate otre et dns 264 ECN SORRY FrODE V m 265 Mei AA 266 F FIMO DUONS MUMS NR I TT 267 NTS VON MO ASS rt cias 268 Versionibro ProDerlles iaa e dia oe bna dede pP d bv duc edes Cen etes 269 CompanyName Property a dan De Mr dace dra 270 Compiled Version Property a ad 271 A 0 am ee Eon itucai 272 DISPlay Versi n POPE esee ciate lsc a a aad scene diem aru ense ren cn 2 3 ProductName Probe ainia ana id aiii 274 ETFO GOGCS MA MESS ES idee Gein N UD ec MA om Kc DP a 275 POI MOIS ESS de a dut cet 217 Borgo eue RE E 2 8 SO AS DO a cs SH 279 A c Nr TREE 280 VS IN sr OMIT NNN MUS e O A A ne dotd cdd adiebd 281 A A nae nid cust E E A eae 282 Copyright Carl Valentin GmbH 6 Labelstar Office 4 30 Build 1010 Copyright O Carl Valentin GmbH Labelstar Office Labelstar Office With this program you can design and print your own labels Simple operation by drag amp drop Support for all the most common bar code types Direct database connection possible Individual label design through various printer and system variables we Mark ups for flexible text formatting Print preview logging memory card support and other features Labelstar Office 4
61. RY PGM RAW Protable Graymap File PSD Photoshop File PNG Portable Network Graphics Format PNM Portable Any Map PPM Portable Pixmap File PPM RAW Portable Pixmap BINARY RAS Sun Raster Format Copyright O Carl Valentin GmbH 169 Labelstar Office 4 30 Build 1010 RAW camera image RAW memory bits RAW bitmap RLE Standard Windows Bitmap format SGI Silicon Graphics Image Format TGA TARGA TARGA Image Format TIFF TIF Tagged Image Format TIFF Multi page Multi page Tagged Image Format WBMP WAP WBM Wireless Bitmap WEBP WebP Image Format WMF Standard Windows Metaformat XBM X Bitmap Format XPM X Pixmap Format Copyright O Carl Valentin GmbH Supported Graphic and Vector Formats 170 Labelstar Office 4 30 Build 1010 Program Options Program Options In this dialog box you can change several basic settings and customize the program to suit your personal preferences To change the program options proceed as follows 1 Select the File tab an then click Options The Options dialog box opens 2 Change the desired settings 3 Click OK to save your changes See also General Tab Printing Tab Label Preview Tab Memory Card Tab Logging Tab File Locations Tab Copyright O Carl Valentin GmbH 171 Labelstar Office 4 30 Build 1010 General Tab In this tab you can change various general settings Among other things you c
62. ShowPrintingDialog 4 0x04 Shows a Printing dialog box as long as labels are sent to the printer If you decide to cancel the printing process and you re quick enough you can click the Cancel button in this Printing dialog box to stop the operation Printing Page 1 of Labell ShowNotificationMessage 8 0x08 Shows a notification at the bottom right of your screen when a label is printed E Labell is printed Em Vario IIl 107 12 29 07 2014 10 22 30 Remarks This enumeration allows a bitwise combination of its member values The Label Print method use this enumeration For more information and a detailed example see Label SelectRecord method See also gt Label Class gt Object Reference Copyright O Carl Valentin GmbH 267 Labelstar Office 4 30 Build 1010 Versioninfo Class Versioninfo Class A VersionInfo object represents the version information about the API on top of which the application runs You can get a reference to a VersionInfo object through the Application Info property The version information is useful to ensure the application is using the proper version of the API Properties CompanyName Gets the company name associated with the API S CompiledVersion Internal version number of the API this field is for internal use only see DisplayVersion property for the version string that is displayed to the users a Copyright Gets the copyright no
63. VIGTNOG vecina 203 Sl MISMO EE TUI T m ME 205 A eee ee eee eee eee ener ee eee ieee eee eee ee eee 206 SHOP OC FIG Se a 207 BI Mir OID OEY ensalada canes lios en An ee TAE 208 ET FONG OG Cail rejoint an nn anse eee nn da one ne 209 ENOI DEP 2 Olof hae eee ae a en a oidos 210 Message mito e lgh eet 211 AA T TP 212 EERE cr A tin aie costes ge AEE T A ete aeons A E ET A E 213 o A tt en 214 FISIAN ANS OCU Y m elise wad cas is 215 Mee dioec DU Zameen teen eee ot MRR en TTE 216 A de eo oem non latence de da oo 217 ISO ui En 219 rere amie t RT TEE 220 GelPropertyValue Method occidisset edt a daba 222 SSECOMC IIE MONO n TES 225 SetPropertyValue Method 226 Imagel ormat Enero li 228 A e e o CO E A 229 LADEE OIE EU Mr 230 ACUVe RUN RODEO Venancio ane a a deis 231 cUMEntRE COPOS Vai oido 234 elg c OU TE ODE Do oec OMAR PRO CO SC O A 235 co E eaoulerees 236 1S Ata vallable ODS GUY arte ea thin sey sabanas ceo licor btt 238 OG AUN HOD CFO RN Emm 239 Copyright Carl Valentin GmbH 5 Labelstar Office 4 30 Build 1010 Contents WNIT CONG FEO iy e alada 240 Mos E 241 PADENAME PO riroraa 242 Eier ENT 243 GeltFielabylridex Melodie dett ova Eoo otc a decimi oies edit nette du RU 244 GetFieldByName Method 4 245 Ss T T TEE 246 GetPropertyValue Method 4 247 ad AL sino M RM 248 ENT IS MORE a a a en 249 SE MMC calcio 250 SAVA ANERO RON NR e o ES EE UE 251 oaveFreview Method er nederlands edit 252 SCISCUIRCC
64. WScript Echo objApp LastError Message WScript Quit End If Get field by name Set objField objLabel GetFieldByName Text1 If objField is Nothing Then WScript Echo objApp LastError Message WScript Quit End If Select text alignment Dim textAlignment textAlignment SelectTextAlignment If textAlignment 0 Then WScript Quit End If Set text alignment and print label objField SetPropertyValue TextAlignment textAlignment objLabel Print 1 See also gt Field Class gt Object Reference Copyright Carl Valentin GmbH 224 Labelstar Office 4 30 Build 1010 SetContent Method Sets the content of the field Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objField SetContent content Parameters content Type String The new content Remarks Call Application LastError for information about possible errors For more information and a detailed example see Field GetContent method See also Field Class Object Reference Copyright O Carl Valentin GmbH SetContent Method 225 Labelstar Office 4 30 Build 1010 SetPropertyValue Method Sets the value of the specified property Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objField SetPropertyValue propertyName value Parameters propertyName Type String The name of the property The following table describes some possible property names Printable Type Boolean false
65. al date time pattern short time 15 06 2009 13 45 30 gt 15 06 2009 fr FR US 15 06 2009 13 45 30 gt 15 utoHa 2009 r ru RU 15 06 2009 13 45 30 gt Montag 15Juni 2009 de DE 15 06 2009 13 45 30 gt Monday June 15 2009 1 45 PM en US 15 06 2009 13 45 30 H hle 15 juni 2009 13 45 sv SE 15 06 2009 13 45 30 gt Aeutepa 15 louviou 2009 1 45 up el GR 15 06 2009 13 45 30 gt Monday June 15 2009 1 45 30 PM en US 15 06 2009 13 45 30 den 15 juni 2009 13 45 30 sv SE 15 06 2009 13 45 30 gt Aeutepa 15 louviou 2009 1 45 30 up el GR 15 06 2009 13 45 30 6 15 2009 1 45 PM en US 15 06 2009 13 45 30 15 06 2009 13 45 es ES 15 06 2009 13 45 30 gt 2009 6 15 13 45 zh CN 15 06 2009 13 45 30 6 15 2009 1 45 30 PM en US 15 06 2009 13 45 30 15 06 2009 13 45 30 es ES 15 06 2009 13 45 30 2009 6 15 13 45 30 zh CN 15 06 2009 13 45 30 June 15 en US 15 06 2009 13 45 30 15juni da DK 15 06 2009 13 45 30 15 Juni id ID 15 06 2009 13 45 30 Montag 15 Juni 2009 20 45 30 GMT 15 06 2009 13 45 30 gt 2009 06 15T13 45 30 15 06 2009 13 45 30 gt 1 45 PM en US 15 06 2009 13 45 30 gt 13 45 hr HR 15 06 2009 13 45 30 gt 01 45 ar EG 15 06 2009 13 45 30 gt 1 45 30 PM en US 15 06 2009 13 45 30 gt 13 45 30 hr HR 15 06 2009 13 45 30 gt 01 45 30 ar EG 15 06 2009 13 45 30 gt
66. an empty string then no error message is returned See also Error Class Object Reference Copyright O Carl Valentin GmbH 208 Labelstar Office 4 30 Build 1010 ErrorCode Property ErrorCode Property Numeric code indicating which error occurred Read only property Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objError ErrorCode Type Int32 Remarks If this property is O it indicates that no error occured during the last call of a method or property For more information see Error Codes and Messages See also Error Class Object Reference Copyright O Carl Valentin GmbH 209 Labelstar Office 4 30 Build 1010 ErrorType Property ErrorType Property Code indicating the type of the error occurred Read only property Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objError ErrorType Type LSOffice ErrorType Remarks If this property is ErrorType Success it indicates that no error occurred during the last call of a method or property For more information and a detailed example see Application LastError property See also Error Class ErrorType Enumeration gt Object Reference Copyright O Carl Valentin GmbH 210 Labelstar Office 4 30 Build 1010 Message Property Message Property Message describing the error occurred Read only property Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objError Me
67. an select how to Labelstar Office behaves when the program starts e Empty label Opens a blank label e Open recent label Shows the recently opened label Open label Opens a particular label Click to choose a file e Show Open File dialog box Displays the dialog box Open File to choose a label Copyright O Carl Valentin GmbH General Tab 172 Labelstar Office 4 30 Build 1010 Printing Tab Printing Tab In this tab you can change various printing options In this tab you can change various printing options Labelstar Office uses at first the Windows default printer but you can select another default printer for the printouts The Windows default printer and the Labelstar Office default printer are independent If you change one of the two default printers this does not affect the other printer The default printer which you select for Labelstar Office is a program setting i e all labels that you print with Labelstar Office were printed on this printer if you do not select another one with the label Copyright O Carl Valentin GmbH 173 Labelstar Office 4 30 Build 1010 Label Preview Tab Label Preview Tab L Required program variant BASIC PROFESSIONAL For more information see Program Variants In this tab you can specify different settings size output format and colour depth of the preview image which is saved paralled to the label Activate the option Save label preview for all
68. ar Office 4 30 Build 1010 Trim Leading Characters Trim Leading Characters C Required program variant BASIC PROFESSIONAL For more information see Program Variants Removes all leading occurrences of a set of characters specified in an array from the current string Syntax TrimLeft text TrimChars trimChars Parameter text The string to be changed trimChars optional An array of characters to remove Return value The string that remains after all occurrences of characters in the trimChars parameter are removed from the start of the current string If trimChars is not defined white space characters are removed instead Examples TrimLeft abcDEF gt abcDEF TrimLeft abcDEF TrimChars a bcDEF See also gt Remove leading and trailing characters Remove trailing characters Copyright O Carl Valentin GmbH 57 Labelstar Office 4 30 Build 1010 Trim Trailing Characters Trim Trailing Characters C Required program variant BASIC PROFESSIONAL For more information see Program Variants Removes all trailing occurrences of a set of characters specified in an array from the current string Syntax TrimRight text TrimChars trimChars Parameter text The string to be changed trimChars optional An array of characters to remove Return value The string that remains after all occurrences of characters in the trimChars parameter are removed from the end of the cur
69. at Strings Text Format Strings Copyright O Carl Valentin GmbH 89 Labelstar Office 4 30 Build 1010 Standard Numeric Format Strings Standard Numeric Format Strings Standard numeric format strings are used to format common numeric types A standard numeric format string takes the form Axx where A is an alphabetic character called the format specifier and xx is an optional integer called the precision specifier The precision specifier ranges from O to 99 and affects the number of digits in the result Any numeric format string that contains more than one alphabetic character including white space is interpreted as a custom numeric format string For more information see Custom Numeric Format Strings The following table describes the standard numeric format specifiers Currency Result A currency value Precision specifier Number of decimal digits 123 456 C en US 123 46 123 456 C fr FR 123 46 123 456 C ja JP gt 4123 123 456 C3 en US gt 123 456 123 456 C3 fr FR gt 123 456 123 456 C3 ja JP gt 123 456 Dord Decimal Result Integer digits with optional 1234 D gt 1234 negative sign 1234 D6 gt 001234 Precision specifier Minimum number of digits Eore Exponential Result Exponential notation 1052 0329112756 E en US gt scientific Precision specifier Number of decimal 1 052033E 003 digits 1052 0329112756 e fr FR
70. ate right Deactivates a preceding right aligned aligned output output Escape character The character which follows the escape abcDEF LLL LLLL gt abcLDEF character is interpreted as literal and not as customized format identifier Any other Literale abc L L L a b c character abc gt L L L gt A B C Copyright O Carl Valentin GmbH 97 Labelstar Office 4 30 Build 1010 Text Format Strings Copyright O Carl Valentin GmbH 98 Labelstar Office 4 30 Build 1010 Country Codes Country Codes zh Hans Chinese simplifecvereinfach ft da amish ask O Desh WO Fm A IN e CC ES a MI De eme E a O 2 CE es Spanish wpa For a detailed list of all country codes click here Copyright Carl Valentin GmbH 99 Labelstar Office 4 30 Build 1010 Format Text Format Text C Required program variant BASIC PROFESSIONAL For more information see Program Variants Formats a text Syntax FormatText value format Parameters value Text which is to be formatted format Indicates how the text is to be formatted For more information see Text Format Strings Return value Formatted text Examples FormatText 123456 H gt 1234 56 FormatText 1234 0000 00 gt 0012 34 See also Format Value Copyright O Carl Valentin GmbH 100 Labelstar Office 4 30 Build 1010 Printer Variables Printer Variables With the help of these variables printer internal variable
71. ation see Program Variants The GS1 128 is a special form of Code 128 This barcode is used for goods and palettes mainly in commerce and industry The name GS1 128 replaces the old name EAN UCC 128 The length of GS1 128 is variable however should not exceed the maximum length of 165 mm Altogether a maximum of 48 rated character including the Application Identifier and FNC1 signs can be coded 01 00614141999996 Length Variable Valid ASCII characters Check Modulo 103 digit See also gt Code 128 Copyright Carl Valentin GmbH 152 Labelstar Office 4 30 Build 1010 Check Digit Calculation Check Digit Calculation A check digit is a form of redundancy check used for error detection It consists of a single digit sometimes more than one computed by an algorithm from the other digits or letters in the sequence input With a check digit one can detect simple errors in the input of a series of characters usually digits such as a single mistyped digit or some permutations of two successive digits See also Modulo 10 Modulo 10 Luhn Algorithm gt Modulo 11 Copyright O Carl Valentin GmbH 153 Labelstar Office 4 30 Build 1010 Modulo 10 Modulo 10 Modulo 10 is used by many bar code symbologies for example EAN 13 GTIN 13 The check digit is calculated according to Modulo 10 with a weigthing of 3 from the right Example Code 345 987652 Digit 19 T2510 10 29 8 7
72. ch all users have access Select never only C or C Windows If at all please create a new folder where the program can save its log files e g C Log Copyright O Carl Valentin GmbH 163 Labelstar Office 4 30 Build 1010 Markup Tags Markup Tags L Required program variant BASIC PROFESSIONAL For more information see Program Variants With the help of markup tags formatting instructions can be inserted into the text LAT Note Markup tags must be well formatted That means that all tags must be properly closed and all attributes must have values enclosed in single quotes Supported Markup Tags lt b gt bold text lt b gt gt bold text br line 1 lt br gt line 2 gt line 1 line 2 em Defines emphasized text same as italic em emphasized text lt em gt gt emphasized text text font Defines font color and size for text font size 20 name Arial Example text font gt Example text font colorz Red sizez 20 Example b text b font gt Example text Arributes e size Font size e name Font name e color Font color Defines italic text i italic text lt i gt gt italic text Right to left text rtl Example text lt rtl gt gt txet elpmaxE shadow Defines text with a shadow shadow style Blurred Example text shadow gt Attributes Exa m ple text e color Shadow color Default Black
73. cial characters in column name id Literals String values are enclosed within single quotes If the string contains single quote the quote must be doubled Filter Name John A String with single quotes John A Number values are not enclosed within any characters The values should be formatted in English locale format Fiter Year 2008 Filter Price 1199 9 Float value Date values are enclosed within sharp characters The date format is the same as for English culture Filter Date 2008 12 31 Also this format is supported Filter Date 12 31 2008 Date and time value 16 44 58 Alternatively you can enclose all values within single quotes It means you can use string values for numbers or date time values In this case the current culture is used to convert the string to the specific value Filter Date 12 31 2008 Current culture is English 16 44 58 Filter Date 31 12 2008 Current culture is German 16 44 58 Filter Price 1199 90 Current culture is English Filter Price 1199 90 Current culture is German Comparison Operators Equal not equal less greater operators are used to include only values that suit to a comparison expression You can use these operators lt gt lt lt gt gt Copyright Carl Valentin GmbH 255 Labelstar Office 4 30 Build 1010 Filter Expression Syntax Note String comparison is cultur
74. ck the value of the Application LastError property See also y GetFieldByName Method gt Label Class Object Reference Copyright O Carl Valentin GmbH 244 Labelstar Office 4 30 Build 1010 GetFieldByName Method GetFieldByName Method Searches for the field with the specified name Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objLabel GetField fieldName Parameters fieldName Type String The string containing the name of the field to get Return Type LSOffice Field Remarks Returns a Field object representing the field with the specified name if found otherwise null To get extended error information check the value of the Application LastError property For more information and a detailed example see Field GetContent method See also gt GetFieldBylndex Method Label Class Object Reference Copyright O Carl Valentin GmbH 245 Labelstar Office 4 30 Build 1010 GetPreview Method GetPreview Method Retrieves a preview image of the current label content Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objLabel GetPreview Return Type object Remarks Returns a Bitmap object representing the preview if a valid label is opened otherwise null See also Label Class Object Reference Copyright O Carl Valentin GmbH 246 Labelstar Office 4 30 Build 1010 GetPropertyValue Method Gets the va
75. ckDigit NVE MOD10 gt 5 See also Append Check Digit Check Digit Printer Copyright O Carl Valentin GmbH 75 Labelstar Office 4 30 Build 1010 Append Check Digit Append Check Digit C Required program variant BASIC PROFESSIONAL For more information see Program Variants Calculates a check digit Syntax AppendCheckDigit data checkDigitMethod AppendTo appendTO Parameters data Data for which the check digit is to be calculated checkDigitMethod Method after according to which the check digit is to be calculated MOD10 Modulo 10 MOD10 LUHN Modulo 10 Luhn algorithm MOD11 Modulo 11 Modulo 43 MOD47 15 Modulo 47 weighting 15 appendTo optional standard Right Specifies where the calculated check digit is to be appended to the data Left Indicates that the check digit is inserted at the beginning of the data Right Indicates that the check digit is appended at the end of the data Return value Data with the check digit appended to the start or the end Examples NVE 34012345123456789 AppendCheckDigit 12345 MOD10 gt 123457 AppendCheckDigit lt lt NVE gt gt MOD10 gt 340123451234567895 AppendCheckDigit lt lt NVE gt gt MOD10 AppendTo Left gt 534012345123456789 See also gt Check Digit System Copyright O Carl Valentin GmbH 76 Labelstar Office 4 30 Build 1010 Misc Variables Misc Variables With the help
76. d Language Settings 9 With this application you can select the language which is used for the user interface e g in the menus dialog boxes and help files Copyright O Carl Valentin GmbH 179 Labelstar Office 4 30 Build 1010 Program Settings Program Settings e With this application the internal program settings can be changed e By default the program settings are stored in the directory C NProgramDataNLabelstar Office e To open the program click Start Programs Labelstar Office Tools Program Settings Labelstar Office Program Settings EM General Settings EA L esi Settings gl Print Only Settings 4 File Locations DefaultFontDir C ProgramData Labelstar Office Fonts DefaultlmageDir Ca Users awrttner VALENTIN CARL Documents Labelstar Officemages DefaultLabelDir CA Users tawrttner VALENTIN CARL Documents Labelstar Office Labels DefaultLogDir Ca Users awrttner VALENTIN CARL Documents Labelstar Office Log DefaultSymbolDir C ProgramData Labelstar Office Symbols DefaultT emplateDir C Users awittner VALENTIN CARL Documents Labelstar Office Templates DefaultVariableFile C ProgramData Labelstar Office Variables lbwx FontDir C ProgramData Labelstar Office Fonts ImageDir CUsers awittner WALENTIN CARL Documents Labelstar Office Images C Users awittner VALENTIN CARL Documents Labelstar Office Labels I LogDir Ca Users awittner WALENTIN CARL Documents Labelstar Office Log RecentLabel CAUserstawittne
77. d 1010 Licensing Licensing The following information should help you to activate your program If you have problems please contact Labelstar Office Support How do I activate my program You can activate your program by using the License Wizard Thereto you need a license key which you can find on the license label in your program CD ESTE Ta TT A ww E as 1 hd gem n2 LT hk Tut dt J LP Jm T How can I notice if my software was already activated 1 Open Labelstar Office 2 Click Help on the File tab 3 See About Labelstar Office to find the product information Note To receive further information to licensing click on Additional Version and Copyright Information The About dialog box opens Click on the Program Information key and select Licensing What is a trial version A trial version allows you to test the program In the trial version some functions are limited all e are replaced by x and all 0 by 5 All images are marked with a watermark In the trial version certain functions or programs are possibly activated which are not included in the scope of delivery of the product bought by you After you have entered a valid license key only the programs and features bought by you are shown What is Converting You can delete a license key to use it e g on another computer After deleting the license key the program runs as trial version You can also enter another license key to release additional featur
78. de 2 US Carrier 5 digit zip code 4 digit zip 000012345 code extension Mode 3 International Carrier 6 alphanumeric shale chars Ag SRE A through Z or 0 to 9 A A NN NN RN RN Tracking Number alphanumeric 10 or 11 digits 9A00001234 Standard Carrier UPSN un Alpha Code UPS Account ER 6 digits ea Number Julian Day of numeric 3 digits ey Shipment ID Number alphanumeric upto30digi A Packager numeri up to ii name up o 3 gts yes Address Validation Yorn e Ship To Street alphanumeric up to 35 digits Muster GmbH Address au to City alphanumeric up to 20 digits Ship to State alpha 2 digits yes D Example code A DAA E E 5 ITE HER MET UE F Nx o Copyright O Carl Valentin GmbH 145 Labelstar Office 4 30 Build 1010 PDF417 PDF417 m Required program variant BASIC PROFESSIONAL For more information see Program Variants The PDF417 is a stacked linear bar code based on a a ht PET Hi rectangular field PDF stands for Portable Data File It is used in a variety of applications primarily identification cards transport automobile industry inventory management and ai AL MR in administrative authority e g Agentur f r Arbeit to prevent manipulation at questionnaires The bar code symbol consists of 3 to 90 lines and 1 to 30 columns Each line has a left and a right Quiet Zone a Start Stop Patterns a left and a right indicator and 1 to 30 Symbol Characters A PDF417 symbol is formed
79. der 1 After each label n After n labels increment optional Standard 1 Increment minValue optional Standard 0 Minimum value maxValue optional Standard leer Maximum value If no maxValue is indicated as default the number of start value digits is used to calculate the maximum value trimLeft optional Standard false true or 1 Enable leading zeros at output false or 0 Show leading zeros at output mode optional Standard 5 Operating mode Reset start value manually Reset start value manually automatic overflow Enter start value at printer Enter start value last end value at printer Reset start value at cycle end Reset start value manually to min max Reset start value manually to start value Reset start value manually stop printing Odd U1 ah 0 D O Copyright O Carl Valentin GmbH 110 Labelstar Office 4 30 Build 1010 Extended Counter Printer Return value Printer specific variable definition Examples PrnCounterExt 0050 Increment 1 UpdateInterval 1 MinValue 1 MaxValue 999 gt CC 1 1 5 0 1 999 0050 gt 50 51 999 1 2 See also Counter Printer Counter System Copyright O Carl Valentin GmbH 111 Labelstar Office 4 30 Build 1010 Check Digit Printer Check Digit Printer C Required program variant BASIC PROFESSIONAL For more information see Program Variants Defines a printer internal check dig
80. e masking elements as shown in the following table E OOO 9 Digitor space entry optiona 0 Ao DigMSpee s emyopionl 0 Letter entry required O 2 Letter entry option 000 CE lt Shift down Converts all characters thats follows to lowercase Disable previous shift up or shift down So All other Literals All non mask elements will appear as themselves Literals always occupy characters ja static position in the input mask at run time and cannot be moved or deleted by the user Examples 00 00 0000 A date day numeric month year in international date format The character is a logical date separator and will appear to the user as the date separator appropriate to the application s current culture 00 gt L lt LL 0000 A date day month abbreviation and year in United States format in which the three letter month abbreviation is displayed with an initial uppercase letter followed by two lowercase letters 999 000 0000 United States phone number area code optional If users do not want to enter the optional characters they can either enter spaces or place the mouse pointer directly at the position in the mask represented by the first O 999 999 00 A currency value in the range of 0 to 999999 The currency thousandth and decimal characters will be replaced at run time with their culture specific equivalents Copyright O Carl Valentin GmbH 67 Labelstar Office 4 30 Build 1010 Math Variable
81. e matching false or 0 Specifies case sensitive matching righttoleft optional default false Change the search direction true or 1 Specifies that the search will be from right to left false or 0 Specifies that the search will be from left to right Return value The changed string Examples ReplacePattern abcdefABCDEF abc DEF b 0 b abcdefABCDEF ReplacePattern abcdefABCDEF abc u b 0 b u IgnoreCase true gt abcdefABCDEF Strip Invalid Characters from a String In this case ReplacePattern strips out all nonalphanumeric characters except periods at symbols 0 and hyphens and returns the remaining string ReplacePattern lt email gt example com w gt email example com For more examples see Food Allergen Labelling Copyright Carl Valentin GmbH 44 Labelstar Office 4 30 Build 1010 Replace Pattern See also Replace String Copyright O Carl Valentin GmbH 45 Labelstar Office 4 30 Build 1010 Regular Expression Language Regular Expression Language A regular expression is a pattern that the regular expression engine attempts to match in input text A pattern consists of one or more character literals operators or constructs Character Escapes The backslash character in a regular expression indicates that the character that follows it either is a special character as shown in the following table or should be in
82. e sensitive Filter Num 10 Number is equal to 10 Filter Date 1 1 2008 Date is less than 1 1 2008 Filter Name lt gt John String is not equal to John Filter Name gt Jo String comparison Operator IN is used to include only values from the list You can use the operator for all data types such as numbers or strings Fiter Id IN 1 2 3 Filter Price IN 1 0 99 115 Filter Name IN John Jim String values Tom Filter Date IN 12 31 2008 Date time values 1 1 2009 Filter Id NOT IN 1 2 3 Values not from the list Operator LIKE is used to include only values that match a pattern with wildcards Wildcard character is or it can be at the beginning of a pattern value at the end value or at both value Wildcard in the middle of a patern va lue is not allowed Filter Name LIKE j Values that start with j Filter Name LIKE jo Values that contain jo Filter Name NOT LIKE j Values that don t start with j If a pattern in a LIKE clause contains any of these special characters those characters must be escaped in brackets like this 76 or Filter Name LIKE Values that starts with Filter Name LIKE Values that starts with Boolean Operators Boolean operators AND OR and NOT are used to concatenate expressions Operator NOT has precedence over AND op
83. ed in the result string Digit optional Replaces the placeholder by an abc 123 DEF 123 appropriate existing number 0 9 or by an appropriate existing plus sign or minus sign otherwise no number is indicated in the result string Letter Replaces the placeholder by an abc 123 DEF LLLLL abc12 appropriate existing letter a Z otherwise a space is indicated in the result string Letter optional Replaces the placeholder by an appropriate existing letter a Z otherwise no letter is indicated in the result string Character Replaces the placeholder by an abc 123 DEF amp amp amp amp amp gt abc 1 appropriate existing character otherwise a space is indicated in the result string Character optional Replaces the placeholder by an appropriate existing character otherwise no character is indicated in the result string Alphanumeric Replaces the placeholder by an abc 123 DEF AAAAA gt abc12 character appropriate existing alphanumeric character 0 9 a Z otherwise a space is indicated in the result string Alphanumeric Replaces the placeholder by an character optional appropriate existing alphanumeric character 0 9 a Z otherwise no character is indicated in the result string letters small letters letters capital letters O O CAD PIE conversion small letters or capital letters 1 R ghtaligned output Indicatestheresultstingrightaligned _ 123 00000 gt 00123 Deactiv
84. ed position in the string Examples Mid abcDEF 3 DEF Mid abcDEF 3 Length 2 DE See also gt Get Leftmost Characters of a String gt Get Rightmost Characters of a String Copyright O Carl Valentin GmbH 41 Labelstar Office 4 30 Build 1010 Remove Characters Remove Characters C Required program variant BASIC PROFESSIONAL For more information see Program Variants Returns a string in which a specified number of characters beginning at a specified position have been deleted Syntax Remove text index Length length Parameters text The string to be changed index The zero based position to begin deleting characters length optional standard o The number of characters to delete If length is O a string is returned in which all characters beginning at a specified position and continuing through the last position have been deleted Return value The changed string Examples Remove abcDEF 3 abc Remove abcDEF 3 Length 2 gt abcF Copyright O Carl Valentin GmbH 42 Labelstar Office 4 30 Build 1010 Replace String Replace String C Required program variant BASIC PROFESSIONAL For more information see Program Variants Returns a string in which all occurrences of a specified string are replaced with another specified string Syntax Replace text oldValue newValue oldValue newValue Parameters text The string to be changed
85. egative and zero 0 0 null gt plus 12 35 numbers 0 plus 40 05 minus 0 0 null gt null 12 345 plus 0 0 minus 0 0 null gt minus 12 35 Any other The character is copied to the result string 68 gt 68 character unchanged Copyright O Carl Valentin GmbH 92 Labelstar Office 4 30 Build 1010 Standard Date and Time Format Strings Standard Date and Time Format Strings A standard date and time format string uses a single format specifier to define the text representation of a date and time value Any date and time format string that contains more than one character including white space is interpreted as a custom date and time format strin For more information see Custom Date and Time Format Strings The following table describes the standard date and time format specifiers Short date pattern Long date pattern Full date time pattern short time Full date time pattern long time G M oder m RFC1123 pattern Sortable date time pattern General date time pattern long time Month day pattern E Short time pattern T Long time pattern Universal sortable date time pattern Universal full date time pattern Y oder y Year month pattern Copyright O Carl Valentin GmbH 15 06 2009 13 45 30 gt 6 15 2009 en US 15 06 2009 13 45 30 gt 2009 06 15 ja JP 15 06 2009 13 45 30 gt Monday June 15 2009 en Gener
86. el Class A Label object represents an opened label You can get a reference to a Label object by calling the Application OpenLabel method Properties E ActivePrinter Gets or sets the name of the active printer MK CurrentRecord Gets or sets the one based index of the current record to be printed FieldCount Gets the number of fields defined on the label a FieldNames Gets the list of field names defined on the label a IsDataAvailable Determines if there are database fields defined on the label a LabelPath Gets the path to the opened label Returns the maximum number of records in the database a Modified Gets a value that indicates that the label has been modified PageName Gets or sets the current page name Methods NT Gets the field with the given index Searches for the field with the specified name Retrieves a preview image of the current label content Gets the value of the specified property Prints the label rintToFile Prints the label to a file Pri aves changes to the label un aves changes to the label in a different file SavePreviem Saves a preview ofthe current label 0 SelectRecord Sets the current record to the first record matching the filter expression GePrperyvdue Sets the value of the specified property See also gt Object Reference Copyright Carl Valentin GmbH 229 Labelstar Office 4 30 Build 1010 Label Properties
87. erator and it has precedence over OR operator Filter City Tokyo AND Age Operator AND has precedence over OR operator parenthesis are needed lt 20 OR Age gt 60 Filter City lt gt Tokyo AND City These examples do the same lt gt Paris Filter NOT City Tokyo AND NOT City Paris Filter NOT City Tokyo OR City Paris Filter City NOT IN Tokyo Paris Copyright Carl Valentin GmbH 256 Labelstar Office 4 30 Build 1010 Filter Expression Syntax Arithmetic and String Operators Arithmetic operators are addition subtraction multiplication division and modulus 96 Filter MotherAge Age lt People with young mother 20 Filter Age 10 0 People with decennial birthday There is also one string operator concatenation Parent Child Relation Referencing A parent table can be referenced in an expression using parent column name with Parent prefix A column in a child table can be referenced using child column name with Child prefix The reference to the child column must be in an aggregate function because child relationships may return multiple rows For example expression SUM Child Price returns sum of all prices in child table related to the row in parent table If a table has more than one child relation the prefix must contain relation name For example expression Child OrdersToItemsRelation Price references to column Price in
88. erent check digit This code is used by the Deutsche Post AG DHL and serves the automatic distribution of freight parcels in the post office centres Structure of the Leitcode e 1 5 ZIP code 6 8 Street s code number 34 567 890 e 9 11 House number e 12 13 Product code 14 Check digit Valid Digits 0 9 characters Praa 10 See also Deutsche Post Identcode Copyright O Carl Valentin GmbH 129 Labelstar Office 4 30 Build 1010 EAN 13 GTIN 13 EAN 13 GTIN 13 packaging is uniquely identified by the GTIN Global Trade Item Number formerly European Article Number EAN The symbol encodes 13 characters the first two or three are a country code which identify the country in which the manufacturer is registered not necessarily where the product is actually made The country code is followed by 9 or 10 data digits depending on the length of the country code and a single check digit 1 234567 890128 2 digit and 5 digit supplemental barcodes may be added for a total of 14 or 17 data digits Valid Digits 0 9 characters EAN 13 is used world wide for marking retail goods Each So 10 See also gt EAN 13 2 Digits EAN 13 5 Digits y EAN 8 GTIN 8 Global Trade Item Number GTIN Copyright O Carl Valentin GmbH 130 Labelstar Office 4 30 Build 1010 EAN 13 2 Digits EAN 13 2 Digits EAN 13 with two additional characters 1 234567 890128 Valid Digits
89. es and programs Copyright Carl Valentin GmbH 278 Labelstar Office 4 30 Build 1010 Software Update Software Update To perform a Labelstar Office update proceed as follows 1 Open Labelstar Office 2 Click Help on the File tab and then click Check for Updates The Update Wizard opens 3 Follow the instructions in the wizard or visit our Updates website to download the latest program version Copyright O Carl Valentin GmbH 279 Labelstar Office 4 30 Build 1010 Contacts Contacts Product Website You may find additional information and the latest program version on or website www carl valentin de Email Technical support supportO carl valentin de Ordering and licensing requests order carl valentin de General requests info valentin carl de Copyright O Carl Valentin GmbH 280 Labelstar Office 4 30 Build 1010 System Requirements System Requirements Minimal system requirements e Microsoft Windows 7 8 8 1 x86 x64 e Net Framework 4 0 or higher download from http www microsoft com net e Microsoft Visual C 2010 Redistributable x86 e Microsoft Access Database Engine 2010 x86 e Recommended printer drivers Carl Valentin Printer Drivers Version 2 3 1 or higher Copyright O Carl Valentin GmbH 281 Labelstar Office 4 30 Build 1010 Imprint Imprint Carl Valentin GmbH Neckarstrasse 78 86 u 94 78056 Villingen Schwenningen Phone 49 0 7720 9712 0 Email infoOcarl vale
90. eters fileName Type String File name copies Type Integer Number of copies to print If copies gt O the Print dialog box will not be shown options optional Type LSOffice PrintOptions Print options See also Label Class Object Reference Copyright O Carl Valentin GmbH 249 Labelstar Office 4 30 Build 1010 Save Method Save Method Saves changes to the label Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objLabel Save Remarks Check Application LastError property to see if the function was completed successfully See also gt Label Class Object Reference Copyright O Carl Valentin GmbH 250 Labelstar Office 4 30 Build 1010 SaveAs Method Saves changes to the label in a different file Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objLabel SaveAs path Parameters path Type String The name of the file to be saved Remarks Check Application LastError property to see if the function was completed successfully See also Label Class Object Reference Copyright O Carl Valentin GmbH SaveAs Method 251 Labelstar Office 4 30 Build 1010 SavePreview Method Saves a preview of the current label Namespace LSOffice Assembly LSOffice dil Version 4 20 1040 Usage objLabel SavePreview fileName format Parameters fileName Type String File name format optional Standard Bmp Type LSO
91. ethod or property Refers to the Versioninfo object representing the version information E IsInitialized Gets a value that indicates whether the Initialize method has been called 7 LabelDir Returns the path of the current label folder a 2 M MM a geo 00 Retrieves the calling method s or property s last error code value Refers to the Licenselnfo object representing the license information Methods o qmilize 0 0 0 Initializes the current instance the current instance Displays the standard Open dialog box and gets a Se name from the user without actually opening any files En OpenLabel Opens the specified label See also Object Reference Copyright O Carl Valentin GmbH 191 Labelstar Office 4 30 Build 1010 Application Properties Application Properties The Application type exposes the following members Properties E ActivePrinter Returns the name of the active Returns the name of the active printer HasError Gets a value that indicates whether an error occurred a the last call to a method or property io Refers to the Versioninfo object representing the version information IsInitialized Gets a value that indicates whether the Initialize method has been called LabelDir Returns the path of the current label folder a LastEror Retrieves the calling method s or property s last error code value license 00000 Refers to the Licenselnfo object representing
92. eturn value Current label folder See also gt Change label folder Get current image folder Copyright O Carl Valentin GmbH 36 Labelstar Office 4 30 Build 1010 LabelPath LabelPath C Required program variant BASIC PROFESSIONAL For more information see Program Variants Returns the complete path of the current label file Syntax LabelPath Return value Path name of the current label file See also Get current image folder Get current label folder Copyright O Carl Valentin GmbH 37 Labelstar Office 4 30 Build 1010 String Variables String Variables With the help of this variables strings can be edited Supported String Variables gt Get Leftmost Characters of a String gt Get Rightmost Characters of a String Get Middle Characters of a String y Remove Characters Replace String Replace Pattern Pad String from Left Pad String from Right wr Ww Ww Y v Reverse String Convert String to Lowercase Convert String to Uppercase Truncate String Trim Leading Characters Trim Trailing Characters Trim Leading and Trailing Characters Convert ASCII String to HEX Strin Convert HEX String to ASCII String Calculate String Length Format String Copyright O Carl Valentin GmbH 38 Labelstar Office 4 30 Build 1010 Get Leftmost Characters of a String Get Leftmost Characters of a String C Required
93. ew data connection is shown in the list and the associated database fields can be used on a label Data Connections ER Mew Data Connection EE Import Data Connections E d Furope e Waie Capital e Area Population e NativeName User Input a Properties M Barcodes 2 Symbols gl Data Connections Copyright O Carl Valentin GmbH 159 Labelstar Office 4 30 Build 1010 Create a Database Label Create a Database Label To learn how you can create a database label and to see just how easy it is click on this link to see our video tutorials The sample data used in the video can be found in the directory InstallDir Samples Database Europe accdb Database Microsoft Access format Europe lbex Label definition Europe txt Database Text format Europe xml Database XML format Import Europe accdv data connection lbdx Import file for data connection Europe Microsoft Access format Import Europe txt data connection lbdx Import file for data connection Europe Text format Import Europe xml data connection lbdx Import file for data connection Europe XML format United Kingdom London Area 244 820 qm Population 60 440 000 244820 Copyright O Carl Valentin GmbH 160 Labelstar Office 4 30 Build 1010 Logging Logging m Required program variant PROFESSIONAL For more information see Program Variants With the logging you can retrace which data when by whom and on which printer was printed Wh
94. f fice ImageFormat File format See also gt Label Class Object Reference Copyright O Carl Valentin GmbH SavePreview Method 252 Labelstar Office 4 30 Build 1010 SelectRecord Method SelectRecord Method Sets the current record to the first record matching the filter expression Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objLabel SelectRecord filterExpression Parameters filterExpression Type String The criteria to use to filter the records For examples on how to filter records see Filter Expression Syntax Remarks Check Application LastError property to see if the function was completed successfully Example VBScript Print Record Sample Code Option Explicit Object variables Dim objApp Dim objLabel Constants LSOffice PrintOptions Const PrintOptions PrintCurrentRecord 1 Const PrintOptions PrintAllRecords 2 Const PrintOptions Default 0 Print record Set objApp CreateObject LSOffice Application Application must be initialized before OpenLabel is called objApp Initialize If objApp HasError Then WScript Echo objApp LastError Message WScript Quit End If Copyright O Carl Valentin GmbH 253 Labelstar Office 4 30 Build 1010 SelectRecord Method Open label Set objLabel objApp O0penLabel Label3 lbex If objLabel is Nothing Then WScript Echo objApp LastError Message WScript Quit End If Enter selection string Dim
95. fined on the label Supported Date Time Variables Current Date Time Current Date Current Time Date Time System y Parse Date Time Calendar Week gt Day of Year gt Day of Week Copyright O Carl Valentin GmbH 10 Labelstar Office 4 30 Build 1010 Current Date Time Current Date Time L Required program variant BASIC PROFESSIONAL For more information see Program Variants Returns a value which contains the current date and current time in accordance with the system settings Syntax CurrentDateTime Return value Current date and current time according to the system settings Examples CurrentDateTime 15 10 2014 11 03 59 Format CurrentDateTime yyMMdd gt 141015 Format CurrentDateTime hhmmss 110359 See also Current Date Current Time Date Time System Date Time Printer Copyright O Carl Valentin GmbH 11 Labelstar Office 4 30 Build 1010 Current Date Current Date C Required program variant BASIC PROFESSIONAL For more information see Program Variants Returns a value which contains the current date in accordance with the system settings Syntax CurrentDate Return value Current date according to the system settings Examples CurrentDate 15 10 2014 Format CurrentDate yyMMdd 141015 See also Current Date Time Current Time Date Time System
96. g group definition Open N 3 24 1 3 3 1 1 3 3 1 name2 gt eo subexpression Clo Open NOE Open 1 Defines a noncapturing group en imnsx imnsx Applies or disables the specified options within A d 2 i w A12xl A12XL A12xl subexpression subexpression b a12xl subexpression Zero width positive lookahead assertion He is The dog ran The sun is out subexpression Zero width negative lookahead assertion b un w b unsure sure unity sure used used Zero width positive lookbehind assertion lt 19 d 2 b 1851 1999 1950 99 50 05 subexpression 1905 2003 lt i ion P lt Zero width negative lookbehind assertion lt 19 d 2 b 1851 1999 1950 51 03 subexpression 1905 2003 pee or greedy subexpression eee 2 3ABBC 5AB 1ABB 3ABB DAC SAB Quantifiers A quantifier specifies how many instances of the previous element which can be a character a group or a character class must be present in the input string for a match to occur Quantifiers include the language elements listed in the following table Matches the previous element zero or more times d Xd o Ox Matches the previous element one or more times be been bee bent n Matches the previous element exactly n times 9 876 543 210 876 543 210 n Matches the previous element at least n ti
97. hematical Operators An operator is a term of a symbol to which one or several expressions and or operands are handed over as input and which returns a value Unary Operators operators with one operand Identity Logical negation Arithmetic operators Addition string concatenation Compate Operators TET Logical operators Conditioned And y is evaluated only if x is true Conditioned Or y is evaluated only if x is false Copyright Carl Valentin GmbH 73 Labelstar Office 4 30 Build 1010 Check Digit Calculation With the help of these variables check digits can be calculated Supported Variables gt Check Digit System Append Check Digit Copyright O Carl Valentin GmbH Check Digit Calculation 74 Labelstar Office 4 30 Build 1010 Check Digit System Check Digit System C Required program variant BASIC PROFESSIONAL For more information see Program Variants Calculates a check digit Syntax CheckDigit data checkDigitMethod Parameters data Data for which the check digit is to be calculated checkDigitMethod Method after according to which the check digit is to be calculated MOD10 LUHN Modulo 10 Luhn algorithm Modulo 10 Modulo 11 Modulo 43 Modulo 47 weighting 15 MOD47 15 MOD47 20 Modulo 47 weighting 20 Modulo 103 Return value Calculated check digit Examples NVE 34012345123456789 CheckDigit 12345 MOD10 gt 7 Che
98. iad B to move the selected shift one position downward 3 Click OK to save the modified settings Please note that the individual shift times are not allowed to overlap Wrong Early shift 06 00 14 00 Late shift gt 14 00 22 00 Night shift 22 00 06 00 Right Early shift gt 06 00 13 59 Late shift 14 00 21 59 Night shift 22 00 05 59 Copyright O Carl Valentin GmbH 81 Labelstar Office 4 30 Build 1010 Label Number Label Number C Required program variant BASIC PROFESSIONAL For more information see Program Variants Displays the current label number within the print order on the label Syntax LabelNumber Return value Label number Copyright O Carl Valentin GmbH 82 Labelstar Office 4 30 Build 1010 Page Number Page Number L Required program variant BASIC PROFESSIONAL For more information see Program Variants Displays the current page number within a print order on the label Syntax PageNumber Return value Page number Copyright O Carl Valentin GmbH 83 Labelstar Office 4 30 Build 1010 Printer Name Printer Name C Required program variant BASIC PROFESSIONAL For more information see Program Variants Displays the current printer name on the label Syntax PrinterName Return value Printer name Copyright O Carl Valentin GmbH 84 Labelstar Office 4 30 Build 1010 User Name User Name C Required program variant BASIC PROFESSIONAL
99. ich information is saved at logging The logging option contained in Labelstar Office logs the following features Date Time of printing Number of copies Page name Label name Printer name User name Field contents See also y Activate and Deactivate Logging Log File Location Logging Tab Copyright O Carl Valentin GmbH 161 Labelstar Office 4 30 Build 1010 Activate and Deactivate Logging Activate and Deactivate Logging So aktivieren und deaktivieren Sie die Protokollierung 1 Select Label Properties and click Log print job Gap length 2 00 mm a Label height 60 00 mm Label type Adhesive labels Label width 100 00 mm snap Lines 4 Printing Label rotation 180 usns TET x Print background image Mo Printer All fields Use temporary printer date MEAN Page Setup Shift Definitions Printing Preferences 4 Settings Preview image Nona Save label preview Yes Comment 2 To activate logging select one of the following options e All fields All field contents are logged e Marked fields only Only the contents of the fields are logged in which the Log option is enabled 3 To deactivate logging select No See also Logging Tab Copyright O Carl Valentin GmbH 162 Labelstar Office 4 30 Build 1010 Log File Location Log File Location In the Logging tab you can specify the file path of the log files Select only one path on whi
100. igit appears in the result 0 45678 fr FR gt 46 string Decimal point Determines the location of the decimal 0 45678 0 00 en US gt 0 46 separator in the result string 0 45678 0 00 fr FR gt 0 46 Group separator Serves as both a group separator and Group separator specifier and number a number scaling specifier As a group 2147483647 en US gt scaling separator it inserts a localized group 2 147 483 647 separator character between each group 2147483647 HH es ES gt As a number scaling specifier it divides a 2 147 483 647 number by 1000 for each comma specified Scaling specifier 2147483647 en US gt 2 147 2147483647 es ES gt 2 147 Percentage Multiplies a number by 100 and inserts a 0 3697 0 00 en US gt 9636 97 placeholder localized percentage symbol in the result 0 3697 0 00 el GR gt 9636 97 string 0 3697 0 96 en US 37 0 96 0 3697 0 96 el GR 37 0 96 960 Per mille Multiplies a number by 1000 and inserts 0 03697 0 00 o0 en US gt placeholder a localized per mille symbol in the result 36 97 o string 0 03697 0 00 o ru RU gt 36 9796o Escape character Causes the next character to be interpreted 987654 00 gt 49876543 as a literal rather than as a custom format specifier Section separator Defines sections with separate format 12 345 plus 0 0 minus strings for positive n
101. in a HEX string Syntax StringToHex text Parameter text The ASCII string to be converted Note Each individual character is converted in a two digit hexadecimal value Return value The HEX string Examples StringToHex 12345 gt 3132333435 StringToHex abcXYZ gt 61626358595A See also Convert HEX String to ASCII String Copyright Carl Valentin GmbH 60 Labelstar Office 4 30 Build 1010 Convert HEX String to ASCII String Convert HEX String to ASCII String EA Required program variant BASIC PROFESSIONAL For more information see Program Variants Converts a HEX string in an ASCII string Syntax HexToString text Parameter text The HEX string to be converted Note An individual hexadecimal value consists always of two digits and can contain only numbers 0 9 and letters a f A F Return value The ASCII string Examples HexToString 3132333435 12345 HexToString 61626358595A abcXYZ See also Convert ASCII String to HEX String Copyright O Carl Valentin GmbH 61 Labelstar Office 4 30 Build 1010 Calculate Text Length Calculate Text Length C Required program variant BASIC PROFESSIONAL For more information see Program Variants Gets the number of characters in the current string Syntax Length string Parameter string The string whose length is to be calculated R ckgabewert The number of characters in the current string Beis
102. ings with length greater than or equal to the required length will be unchanged Syntax PadRight text totalWidth PaddingChar paddingChar Parameter text The string to be changed totalWidth The number of characters in the resulting string equal to the number of original characters plus any additional padding characters paddingChar optional standard spaces A padding character Return value The changed string Examples PadRight abcDEF 10 abcDEF PadRight 12345 10 PaddingChar 0 gt 1234500000 See also gt Pad string from left Copyright O Carl Valentin GmbH 52 Labelstar Office 4 30 Build 1010 Reverse String Reverse String C Required program variant BASIC PROFESSIONAL For more information see Program Variants Returns a string in which the character order of a specified string is reversed Syntax Reverse text Parameter text String expression whose characters are to be reversed If text is a zero length string a zero length string is returned Return value A string in which the character order of a specified string is reversed Examples Reverse abcDEF FEDcba Reverse 12345 gt 54321 Copyright O Carl Valentin GmbH 53 Labelstar Office 4 30 Build 1010 Convert String to Lowercase Convert String to Lowercase C Required program variant BASIC PROFESSIONAL For more information see Program Variants Returns a copy of this st
103. ion 4 10 1010 Usage objApp Info Type LSOffice VersionInfo See also gt Versioninfo Class Application Class gt Object Reference Copyright Carl Valentin GmbH 195 Labelstar Office 4 30 Build 1010 IsInitialized Property Isinitialized Property Gets a value that indicates whether the Initialize method has been called Read only property Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objApp IsInitialized Type Boolean Remarks Use this property to check whether the Application object has already been initialized The Initialize method should be called once and only once See also Application Class Object Reference Copyright O Carl Valentin GmbH 196 Labelstar Office 4 30 Build 1010 LabelDir Property Returns the path of the current label folder Read only property Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objApp LabelDir Type String See also Application Class Object Reference Copyright O Carl Valentin GmbH LabelDir Property 197 Labelstar Office 4 30 Build 1010 LastError Property LastError Property Retrieves the calling method s or property s last error code value Read only property Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objApp LastError Type LSOffice Error Remarks After method or property calls on all OLE Automation objects this property
104. ion Interface that can be used like a COM component with IntelliSense support in environment supporting this technology such as Visual Basic 6 html pages Delphi and Visual FoxPro This assembly is automatically registered on your computer when installing the Labelstar Office package The dll is located in the installation folder and can be registered on other computers by using the regasm command with admin privileges SystemRoot Microsoft NET Framework v4 0 30319 regasm exe LSOffice dll codebase Where SystemRoot is the path to your Windows installation what is typically C Windows or C WINNT The above examples assume that LSOffice dll is in current working directory Otherwise you need to specify an absolute path to the dll Hi 14 Note When deploying the assembly make sure that Labelstar Office is installed along with the assembly on the target system Copyright O Carl Valentin GmbH 185 Labelstar Office 4 30 Build 1010 Your First Application Your First Application Open the 32 bit version of the Visual Basic script editor Labelstar Office core is compiled using the x86 Platform target This means the project is intended to run only as a 32 bit process Referencing the Labelstar Office Type Library To use Labelstar Office in a Visual Basic project you must first add a reference to the Labelstar Office type library to the project To reference the Labelstar Office type library proceed as follows 1 F
105. ion is true falsepart The value to return if the expression is false Example Expression IIF total gt 1000 expensive dear TRIM Description Removes all leading and trailing blank characters like r An Nt Syntax TRIM expression Arguments expression The expression to trim SUBSTRING Copyright O Carl Valentin GmbH 259 Labelstar Office 4 30 Build 1010 Filter Expression Functions Description Gets a sub string of a specified length starting at a specified point in the string Syntax SUBSTRING expression start length expression The source string for the substring start Integer that specifies where the substring starts length Integer that specifies the length of the substring Example Expression SubString phone 7 8 See also gt Filter Expression Syntax y SelectRecord Method Label Class Object Reference Copyright O Carl Valentin GmbH 260 Labelstar Office 4 30 Build 1010 SetPropertyValue Method SetPropertyValue Method Sets the value of the specified property Namespace LSOffice Assembly LSOffice dll Version 4 20 1040 Usage objLabel SetPropertyValue propertyName value Parameter propertyName Type String The name of the property The following table describes some possible property names LabelRotation Type Integer 0 90 180 270 LabelType Type Integer 0 Adhesive labe
106. is updated with the return status information of the call To check whether the request has been successful check HasError property For more information see Error Codes and Messages Example VBScript Display Last Error Sample Code Option Explicit Object variables Dim objApp Dim objLabel Constants LSOffice ErrorType Const ErrorType Success Const ErrorType Warning 1 Const ErrorType_Error 2 DisplayLastError Purpose Shows a message box displaying the last error Sub DisplayLastError If objApp LastError ErrorType ErrorType Success Then Exit Sub End If Copyright O Carl Valentin GmbH 198 Labelstar Office 4 30 Build 1010 LastError Property Dim title title Error If objApp LastError ErrorType ErrorType Warning Then title Message End If MsgBox objApp LastError Message vbOKOnly title End Sub Open and print label Set objApp CreateObject LSOffice Application Application must be initialized before OpenLabel is called objApp Initialize DisplayLastError If objApp HasError Then WScript Quit End If Open label Set objLabel objApp OpenLabel Label1 1lbex If objLabel is Nothing Then DisplayLastError WScript Quit End If See also Error Class Application Class Object Reference Copyright O Carl Valentin GmbH 199 Labelstar Office 4 30 Build 1010 License Property License Property Refers to the Licenselnfo object represen
107. it Syntax PrnCheckDigit data checkDigitMethod Parameters data Data field name or text constant for which the check digit is to be calculated A text constant must be enclosed in quotes The quotation marks will not be printed Note For the linking only printer internal fields may be used checkDigitMethod Method after according to which the check digit is to be calculated MODIO Modulo 10 MODI Modulo 11 MOD10 MOD11 MOD43 Modulo 43 OD103 MOD47 15 Modulo 47 weighting 15 MOD47 20 Modulo 47 weighting 20 m Modulo 103 Return value Printer specific variable definition Examples PrnCheckDigit ID 1 MOD1 gt CD 0 0 0 PrnCheckDigit 123456789012 MOD10 gt CD 123456789012 0 0 See also Check Digit System Copyright O Carl Valentin GmbH 112 Labelstar Office 4 30 Build 1010 Bar Codes Bar Codes Following is a list of supported bar code types Aztec Code Aztec Runes 2D bar code developed by Welch Allyn 2D bar code based on the Aztec Code B TIL 123456 Numeric bar code encoded digits and special characters it 2D bar code based on the Code 128 E IIl IM ABCabc Alphanumeric bar code encoded ASCII character set Code 128 Subset ABCDEF Code 128 Subset ABCabc Code 2 of 5 _ HII 123456 Copyright O Carl Valentin GmbH Alphanumeric ba
108. lbex Label definition Import Cookies data connection lbdx Import file for data connection Cookies To open the sample label proceed as follows 1 Open Labelstar Office 2 Select Data Connections view 3 Click Import Data Connections and browse for the file Import Cookies data connection lbdx Data Connections EL Mew Data Connection a Et Import Data Connections O El Cookies Productlode e ProductMame Ingredients e Picture z Fat e SaturatedFat TransFat z Cholesterol Sodium z Carbohydrate Fibre Z Sugars Protein P Vitamina NI Bar Codes Symbols gi Data Connections 4 Open the label Cookies lbex Copyright O Carl Valentin GmbH 167 Labelstar Office 4 30 Build 1010 Nutrition Facts Per 1 cookie 289 Amount Daily Value Calories 138 Fat g 11 satured Fat 3g 1595 Trans Fat 0 g Colestero45 mg 15 Sodium 75 mg 3 Carbohydrate 179 6 Fibe0g O sugars Bg Protein 2 g Vitamin 42 Vitamin C 0 Calcium 2 Iron 49 Copyright O Carl Valentin GmbH Chocolate Cookie INGREDIENTS organic pastry flour organic whole grain white wheat organic evaporated cane juke organi butter cream salt oganic dark chocolate chips organic cacao mass organic evaporated cane juice organic cacao butter may contain non GMO soy lecithin organic whole eggs organic sunflower oil organic vanilla extract organic molasses baking powder beking s
109. ls 1 Continuous labels value Type Object The value to set the property to See also Label Class Object Reference Copyright O Carl Valentin GmbH 261 Labelstar Office 4 30 Build 1010 Licenselnfo Class Licenselnfo Class A Licenselnfo object represents the license information You can get a reference to a Licenselnfo object through the Application License property Properties a IsTrialVersion Gets a value that indicates whether the application is in trial mode amp licensekey 000 Gets the license key used to to activate Labelstar Office a LicenseType Gets the license type See also Object Reference Copyright O Carl Valentin GmbH 262 Labelstar Office 4 30 Build 1010 Licenselnfo Properties Licenselnfo Properties The Licenselnfo type exposes the following members Properties IsTrialVersion Gets a value that indicates whether the application is in trial mode amp licensekey 00 Gets the license key used to to activate Labelstar Office a LicenseType Gets the license type See also gt Licenselnfo Class Object Reference Copyright O Carl Valentin GmbH 263 Labelstar Office 4 30 Build 1010 IsTrialVersion Property IsTrialVersion Property Gets a value that indicates whether the application is in trial mode Read only property Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objLicense IsTrialVersion Type Boolean Remarks In the
110. lue of the specified property Namespace LSOffice Assembly LSOffice dll Version 4 20 1040 Usage objLabel GetPropertyValue propertyName Parameter propertyName Type String The name of the property The following table describes some possible property names LabelRotation Type Integer 0 90 180 270 LabelType Type Integer 0 Adhesive labels 1 Continuous labels GetPropertyValue Method Return type Object See also gt Label Class Object Reference Copyright O Carl Valentin GmbH 247 Labelstar Office 4 30 Build 1010 Print Method Print Method Prints the label Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objLabel Print copies options Parameters copies Type Integer Number of copies to print If copies gt O the Print dialog box will not be shown options optional Type LSOffice PrintOptions Print options Remarks Check Application LastError property to see if the function was completed successfully For more information and a detailed example see OLE Automation Your First Application or SelectRecord method See also Label Class Object Reference Copyright O Carl Valentin GmbH 248 Labelstar Office 4 30 Build 1010 PrintToFile Method PrintToFile Method Prints the label to a file Namespace LSOffice Assembly LSOffice dil Version 4 20 1040 Usage objLabel PrintToFile fileName copies options Param
111. ly For more information and a detailed example see OLE Automation Your First Application See also Application Class Object Reference Copyright O Carl Valentin GmbH 202 Labelstar Office 4 30 Build 1010 GetOpenFilename Method GetOpenFilename Method Displays the standard Open dialog box and gets a file name from the user without actually opening any files Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objApp GetOpenFilename filter filterIndex title Parameters filter Type String A string specifying file filtering criteria This string consists of pairs of file filter strings followed by the MS DOS wildcard file filter specification with each part and each pair separated by a vertical bar Each separate pair is listed in the Files of type drop down list box For example the following string specifies two file filters Labels lbex AIl Files To use multiple MS DOS wildcard expressions for a single file filter type separate the wildcard expressions with semicolons for example Visual Basic Files bas txt Note Do not put spaces before or after the vertical bars in the filter string This will cause incorrect behavior in the filter filterIndex optional Type Integer Specifies the index numbers of the default file filtering criteria from 1 to the number of filters specified in filter If this argument is omitted or greater than the number of filters p
112. m Value Maximum Value C Required program variant BASIC PROFESSIONAL For more information see Program Variants Returns the larger of two numbers Syntax Max valuel value2 Parameters value1 The first of two numbers to compare value2 The second of two numbers to compare Return value Parameter value or value2 whichever is larger Examples Max 10 20 20 Max 10 5 10 See also Min Copyright O Carl Valentin GmbH 71 Labelstar Office 4 30 Build 1010 Calculate Mathematical Formula Calculate Mathematical Formula C Required program variant BASIC PROFESSIONAL For more information see Program Variants Defines a mathematic field Syntax MathField formula Parameters formula Formular which is to be calculated For more information see Mathematical Operators Return value Calculated value Examples IDO1 10 00 IDO2 12 00 MathField 12 12 gt 144 MathField lt lt ID 1 gt gt lt lt ID 2 gt gt gt 2 MathField Abs lt lt IDO1 gt gt lt lt ID 2 gt gt gt 22 MathField 12 12 10 gt 144 Format MathField 12 12 10 0 00 gt 14 40 Format MathField 12 12 10 0 14 ap ie Joe CDA LC Omm 3 MathField DbField Europe Population 2 00 gt 164440000 Copyright O Carl Valentin GmbH 72 Labelstar Office 4 30 Build 1010 Mathematical Operators Mat
113. mes d 2 166 29 1930 n m Matches the previous element at least n times but d 3 5 193024 19302 no more than m times Matches the previous element zero or more times d X d p but as few times as possible 1219 95 Matches the previous element one or more times be been be but as few times as possible bent be 2 Matches the previous element zero or one time rai n ran rain but as few times as possible Copyright O Carl Valentin GmbH 48 Labelstar Office 4 30 Build 1010 Regular Expression Language Matches the preceding element exactly n times Nd 3 1 043 6 043 9 876 543 210 876 543 210 Matches the previous element at least n times but d 2 166 29 as few times as possible 11930 Matches the previous element between n and m d 3 5 193024 193 024 times but as few times as possible Backreference Constructs A backreference allows a previously matched subexpression to be identified subsequently in the same regular expression The following table lists the backreference constructs supported by regular expressions Alternation Constructs Alternation constructs modify a regular expression to enable either or matching These constructs include the language elements listed in the following table Matches any one element separated by the th elislat This is the day the this vertical bar characte
114. name Dim fileName fileName objApp GetOpenFilename Labels If Len fileName 0 Then WScript Quit End If Open label Set objLabel obj App OpenLabel fileName If ob jLabel is Nothing Then WScript Echo obj pp LastError Message WScript Quit End 1f Print label objLabel Print 1 Copyright O Carl Valentin GmbH 276 Labelstar Office 4 30 Build 1010 Program Variants Program Variants Labelstar Office is available in three versions In the LITE verson the software is primarily intended for designing simple labels For professional requirements there is the BASIC or PROFESSIONAL version This makes a broad selection of formats and variables available so that the requirements of almost all industries can be fulfilled Curved text 1D bar codes 2D bar codes GS1 bar codes More than 90 graphic and vector formats e g TIFF GIF JPEG PNG WMF BMP ICO arabes System variables Limited only date More than Complex variable time counter 30 variables definitions e g and user input e g date time custom check counter user input digit calculation link field check digit If Then Else statement Printer variables Memory Card Support Symbols Internal printer protocoll CVPL Carl Valentin Printer Drivers Version 2 3 1 or higher OLE Automation Import of Labelstar PLUS labels Copyright O Carl Valentin GmbH 277 Labelstar Office 4 30 Buil
115. nannnos 95 EXT FORMAN so UIA Si ots ad t t de ne fasse ins Geo ta 97 E A ania ena 99 TOP A c T UT TER 100 Fe ULES RII ERE a a A E a tu 101 DA Me NP TIMOR ESS Ee 102 Printer specific Date and Time Format StriNgS cccoccccccncocnconcncnononannoncncnanonononononons 103 E Sate ean ele cated petals sean cadet mene bl aden taecer se naumee mane Seat hatisee 105 SET seu s Pim 106 alU wisi aM T EI TP 108 Extended Counter Printer soii pd dci 110 Si A CR 112 A meom 113 OB COLS RE UU TEES 117 CO nn O O A 118 a A E MM EE A eee 119 code 120 SUDSELA RITE 120 Code AS A testor dict ete oem ee 121 Seo Or e A E E e nn din 122 Se SA A A eo deco 123 S eo 50 ee eee 124 COS TRU ero acre teehee E 125 Copyright O Carl Valentin GmbH 3 Labelstar Office 4 30 Build 1010 Contents Sieb O tw o A cae a anal no no on Deutsche Post RC OC Ck rover cists E Deutsche Post Leitcode de banane T EANG SON quad oa laa EAN SE DS T E UM EAN SE OS ds EAN Cd BR O stas italia ice ii A IQ QU TEE ici OS ee a ue AZC RES D RTT A A A EP Ba A da ce adit Mis A A HT CEP TICE Structured Carrier Message iii AAA MM d M DEMNM What are the different types of QR Codes Cer ote del ea RE ETT e Sl DAA ias OSRD ea iba 5o IS E20 PA E A AT AEAT Mitt STE E SSCs DIO Gaula ON srl ii MOUT UR TT
116. ne of a set of characters Character classes include the language elements listed in the following table character group Matches any single character in i j a character group By default the match is case lane a e sensitive Copyright O Carl Valentin GmbH 46 Labelstar Office 4 30 Build 1010 Regular Expression Language character group Negation Matches any single character that is not in character group By default characters in character group are case sensitive first last Character range Matches any single character in the range from first to last Wildcard Matches any single character except n To match a literal period character or u002E you must precede it with the escape character Matches any single character in the Unicode p IsCyrillic A gt Kem DU X general category or named block specified by Matches any single character that is not in the P Iscyrillic AKem Unicode general category or named block specified by name Matches any word character METE on NW Matches any non word character DA hm Y Metches any white space character AS DAI D COI CITIES IS CAS SN Matches any decima any decimal di digit digit TT Assertion Atomic zero width assertions cause a match to succeed or fail depending on the current position in the string but they do not cause the engine to advance through the string or consume characters The match m
117. ntin de Copyright O 2014 Carl Valentin GmbH All rights reserved No part of this document may be reproduced or transmitted in any form or by any means electronic mechanical photocopying recording or otherwise without prior written permission Disclaimer These descriptions however do not constitute any guaranteed characteristics in a legal sense or in the sense of any product liability The authors reserve the right to make changes to the software to announce any person without obligation these changes No warranty is accepted for the correctness of the contents of this document As errors can never be completely avoided despite all efforts made we are grateful for any information regarding errors Trademark Notifications All product names mentioned in this document may be trademarks or registered trademarks of their respective owners Copyright O Carl Valentin GmbH 282
118. number when you create the OR Code When scanning users will be proposed to call the phone number Send an SMS Save the content and the recipient s phone number of an SMS After scanning you will only have to confirm before sending it Send an email This works exactly like the SMS QR Code type Only this time you enter the email content the subject and the recipients to enable sending after scanning Geo location Geographic co ordinates are stored and when scanned will redirect to a static mobile google map of your location e Wifi access information Whoever scans the code will be able to access your Wi fi Copyright O Carl Valentin GmbH 148 Labelstar Office 4 30 Build 1010 GS1 Bar Codes GS1 Bar Codes GS1 Global Standard One is a worldwide system which facilitates unmistakable identification Bar coded GS1 identifiers for automated processing clearly label products items logistics units reusable packaging containers etc as they are unique Scanners then read the GS1 symbols error free and process them The GS1 keys form the basis for efficient and cost effective goods flow management from the manufacturer to the end user Supported Bar Codes GS1 DataBar GS1 DataMatrix y GS1 128 Copyright Carl Valentin GmbH 149 Labelstar Office 4 30 Build 1010 GS1 DataBar m Required program variant BASIC PROFESSIONAL For more information see GS1 DataBar is a family of symbols most commonly seen
119. oda sea sat Sample 168 Labelstar Office 4 30 Build 1010 Supported Graphic and Vector Formats Supported Graphic and Vector Formats HS Note Which formats are supported depends on the program variant you use For more information see Program Variants ANIMATED GIF Graphics Interchange Format BMP Standard Windows Bitmap CUT Dr Halo Dr Genius Clipboard Format DDS Microsoft DirectDraw Surface Format DIB Standard Windows Bitmap Format PCD Kodak Photo CD file PCT PICT PIC Macintosh PICT Format PCX PC Paintbrush Format PDF A Document Format for long term preservation DICOM Digital Imaging and Communications in Medicine EMF Enhanced Windows Metaformat EXIF Exchangable Image Format EXR OpenEXR Format FAX G3 Group 3 Raw Fax Format GIF Interlaced GIF Graphics Interchange Format HDR High Dynamic Range Format IFF Interchange Format ICO single and multi page Icone Format J2K J2C JPEG 2000 Codestream JB2 JBIG2 Joint Bi level Image Experts Group JIF JFIF JPEG File Interchange Format JNG JPEG Network Graphics JP2 JPEG 2000 Format JPEG JPG JPE Joint Pointgraphic Expert Group JPEG progressive KOA KOALA Format LBM Interchange File Format Interleaved Bitmap MNG Multiple image Network Graphics PBM Portable Bitmap File PBM Raw Portable Bitmap BINARY PDF Multi page Portable Document Format PFM Portable Float Map PGM Portable Graymap BINA
120. of these variables different information can be defined on the label Supported Variables gt Number of Copies gt If Then Else Statement Shift Definition Label Number Page Number Printer Name User Name User Domain Name Format Value Format Text wr ww Y Y Y vw Copyright Carl Valentin GmbH 77 Labelstar Office 4 30 Build 1010 Number of Copies Number of Copies L Required program variant BASIC PROFESSIONAL For more information see Program Variants Displays the current number of copies on the label Syntax Copies Return value Number of copies Copyright O Carl Valentin GmbH 78 Labelstar Office 4 30 Build 1010 If Then Else Statement If Then Else Statement L Required program variant BASIC PROFESSIONAL For more information see Program Variants Insert an If then else statement on the label The If then else statements serves for evaluating a condition and depending on the result to further proceed Syntax If condition thenValue elseValue Parameters condition If the condition is true or 1 then value is returned otherwise elseValue For more information see Mathematical Operators thenValue Value which is returned if condition is true or 1 elseValue Value which is returned if condition is false or O Return value thenValue if condition is true or 1 otherwise elseValue Examples 1f DbField Europe Area l
121. offset is added to the current date startDate optional as default the current date and time according to the system settings is used Defines the start date sunday optional standard 0 Defines which value is to be used for Sunday language optional as default the language set under Windows is used Language which is used for formatting the output For more information see Country Codes Return value Formatted day of week Examples Copyright O Carl Valentin GmbH 21 Labelstar Office 4 30 Build 1010 Day of Week Current date 01 02 2014 Saturday DayOfWeek d gt 6 DayOfWeek dd 06 DayOfWeek dd DayOffset 5 gt 04 DayOfWeek d DayOffset 5 Sunday A gt E DayOfWeek Day of week d StartDate 05 03 2014 Sunday 10 gt Day of week 14 Copyright O Carl Valentin GmbH 22 Labelstar Office 4 30 Build 1010 Field Variables Field Variables With the help of field variables linkings between individual elements can be defined on the label Supported Field Variables Database Field Field Link System Field Name Copyright O Carl Valentin GmbH 23 Labelstar Office 4 30 Build 1010 Database Field Database Field C Required program variant BASIC PROFESSIONAL For more information see Program Variants Inserts a database field on the label Syntax DbField dbName columnName DBNullValue dbNullValue Format format Parameters dbName Da
122. om 01 to 12 15 06 2009 13 45 30 06 YYYY Year four digit 15 06 2009 13 45 30 2009 YY Year from 00 to 99 15 06 2009 13 45 30 gt 09 Y o Year from 0 to 9 15 06 2009 13 45 30 9 WW Calendar week 15 06 2009 13 45 30 25 Day of week from 0 Sunday to 6 Saturday 15 06 2009 13 45 30 1 W1 Day of week from 1 Sunday to 7 Saturday 15 06 2009 13 45 30 gt 2 15 06 o tulo S z Day of week For x any ASCII character can be used from this is counted consecutively started with Sunday Day of week variable For x any ASCII character can be used The first x stands for Sunday the next for Monday etc until Saturday Note For each weekday a sign must be indicated Day of year from 001 to 365 5 06 2009 13 45 30 166 Day of year from 000 to 364 15 06 2009 13 45 30 165 Escape character Any other character The character is copied to the result string unchanged The following table describes the country specific date and time formats lt 7 WN O U O 2 S E o S Shortened name of month 15 06 2009 13 45 30 gt JN CMO 15 06 2009 13 45 30 gt JUN DMO 15 06 2009 13 45 30 gt GUI IMO Full name of month 15 06 2009 13 45 30 June ESO 15 06 2009 13 45 30 Juin FSO 15 06 2009 13 45 30 Junio SSO Shortened name of weekday 15 06 2009 13 45 30 MO GSD 15 06 2009 13 45 30 MA NSD 15 06 2009 13 45 30 LUN SSD xLD Full name of weekday 15 06 2009
123. ons Dim text i j index text Available printers vbCrLf vbCrL j objPrinters Count index 0 For i O To j 1 Step 2 If objPrinters i 1 activePrinter Then index i 2 End If Copyright Carl Valentin GmbH 231 Labelstar Office 4 30 Build 1010 ActivePrinter Property text text text amp i 2 amp vbTab text objPrinters i 1 vbCrLf Next Show all available printers and allow a user selection Dim tmp tmp InputBox text Select printer index If tmp Then WScript Echo No user input aborted Exit Function End If tmp CInt tmp If tmp 0 Or tmp j 2 1 Then WScript Echo Wrong value aborted Exit Function End If Set printer name SelectPrinter objPrinters tmp 2 1 End Function Change printer name Set objApp CreateObject LSOffice Application Application must be initialized before OpenLabel is called objApp Initialize If objApp HasError Then WScript Echo objApp LastError Message WScript Quit End If Open label Set objLabel objApp OpenLabel Labeli lbex If objLabel is Nothing Then WScript Echo objApp LastError Message WScript Quit End If Select printer Dim activePrinter activePrinter SelectPrinter objLabel ActivePrinter If activePrinter Then WScript Quit End If Set active printer and print label Copyright O Carl Valentin GmbH 232 Labelstar Office 4 30 Build 1010 ActivePrinter Property
124. ons The following functions are supported CONVERT Description Converts particular expression to a specified type CONVERT expression type Arguments expression The expression to convert type The type to which the value will be converted Example Expression Convert total System Int32 All conversions are valid with the following exceptions Boolean can be coerced to and from Byte SByte Int16 Int32 Int64 Ulnt16 Ulnt32 Ulnt64 String and itself only Char can be coerced to and from Int32 Ulnt32 String and itself only DateTime can be coerced to and from String and itself only TimeSpan can be coerced to and from String and itself only LEN Description Gets the length of a string Syntax LEN expression Arguments expression The expression to evaluated Expression Len item ISNULL Description Checks an expression and either returns the checked expression or a replacement value ISNULL expression replacementvalue Arguments expression The expression to check replacementvalue If expression is Nothing replacementvalue is returned Example Expression IsNull price 1 OO IF Description Gets one of two values depending on the result of a logical expression IIF expression truepart falsepart Arguments expression The expression to evaluated truepart The value to return if the express
125. or 0 field is not printed true or 1 field is printed See also Printable property Type Boolean false or 0 field is not locked true or 1 field is locked See also Locked property TextAlignment Text Barcode only Type Integer O Left 1 Center 2 Right HumanReadable Barcode only Type Boolean false or 0 Don t show plain text true or 1 Show plain text value Type Object The value to set the property to Remarks Call Application LastError for information about possible errors For more information and a detailed example see Field GetPropertyValue method See also gt Field Class Copyright Carl Valentin GmbH SetPropertyValue Method 226 Labelstar Office 4 30 Build 1010 SetPropertyValue Method Object Reference Copyright O Carl Valentin GmbH 227 Labelstar Office 4 30 Build 1010 ImageFormat Enumeration ImageFormat Enumeration Specifies file save format Namespace LSOffice Assembly LSOffice dll Version 4 20 1040 Members Bmp 0 0x00 Saves the image as a bitmap BMP Gf 1 0x01 Saves the image using the GIF image format Jpeg 2 0x02 Saves the image using the Joint Photographic Experts Group JPEG image format mom 3 0x03 Saves the image using the W3C Portable Network Graphics PNG image format See also y SavePreview Method Object Reference Copyright O Carl Valentin GmbH 228 Labelstar Office 4 30 Build 1010 Label Class Lab
126. or sets a value that indicates whether the field is printed Methods GetContent Gets the content of the field EN GetPropertyValue Gets the value of the specified property SetContet Sets the content of the field NE SetPropertyValue Sets the value of the specified property See also Object Reference Copyright O Carl Valentin GmbH 213 Labelstar Office 4 30 Build 1010 Field Properties Field Properties The Field type exposes the following members Properties a FieldName Gets the name of the field locked 00 Gets a value that indicates whether the field can be modified Printable Gets or sets a value that indicates whether the field is printed See also gt Field Class gt Object Reference Copyright Carl Valentin GmbH 214 Labelstar Office 4 30 Build 1010 FieldName Property FieldName Property Gets the name of the field Read only property Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objField FieldName Type String See also gt Field Class Object Reference Copyright O Carl Valentin GmbH 215 Labelstar Office 4 30 Build 1010 Locked Property Locked Property Gets a value that indicates whether the field can be modified Read only property Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objField Locked Type Boolean See also gt Field Class Object Reference
127. out the current error state You can get a reference to an Error object through the Application LastError property Properties Details Detailed message describing the error occurred Numeric code indicating which error occurred ErrorType Code indicating the type of the error occurred Message describing the error occurred See also Object Reference Copyright O Carl Valentin GmbH 206 Labelstar Office 4 30 Build 1010 Error Properties Error Properties The Error type exposes the following members Properties a Details 0 Detailed message describing the error occurred ErrorCode Numeric code indicating which error occurred amp Bye 00 ype Code indicating the type of the error occurred amp Mese 0 0 0 Message describing the error occurred See also Error Class Object Reference Copyright O Carl Valentin GmbH 207 Labelstar Office 4 30 Build 1010 Details Property Details Property Detailed message describing the error occurred Read only property Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objError Details Type String Remarks Returns a representation of the current error that is intended to be understood by humans The detailed message obtains the Message property further information about the error and the stack trace If any of these members is null its value is not included in the return string If there is no error or if it is
128. piele Length abcDEF gt 6 Length gt 0 Check whether a database field is empty 1f Length DBField 0 The database field is empty The database field is not empty Copyright O Carl Valentin GmbH 62 Labelstar Office 4 30 Build 1010 Counter System Counter System Inserts a counter on the label Syntax Counter value Prompt prompt UpdateInterval updateInterval Increment increment MinValue minValue MaxValue maxValue TrimLeft trimLeft Mode mode Radix radix Parameter value The current start value Note The number of digits determines the output format maximum 999999999 prompt optional standard empty If a prompt text is defined the start value is queried at print start updatelInterval optional standard 1 Indicates how often a variable is to be updated during a print order 1 After each label n After n labels 1 After each change of data record increment optional standard 1 Increment minValue optional standard empty Minimum value If no minValue is defined as default the number of start value digits is used to calculate a minimum value 0001 0000 maxValue optional standard empty Maximum value If no maxValue is defined as default the number of start value digits is used to calculate a maximum value 0001 9999 trimLeft optional standard false true or 1 Remove leading zeros at output false or 0 Show leading zeros at
129. places 0 39678 P1 fr FR gt 39 7 96 Rorr Round trip Result A string that can round trip to an 1123456789 12345678 R gt identical number Precision specifier Ignored Copyright O Carl Valentin GmbH 123456789 12345678 90 Labelstar Office 4 30 Build 1010 Standard Numeric Format Strings 1234567890 12345678 R gt 1234567890 1234567 X or x Hexadecimal Result A hexadecimal string 255 X FF Precision specifier Number of digits in the 1 x gt ff result string 255 x4 gt OOff 1 X4 gt OOFF Any other single Unknown character specifier Copyright O Carl Valentin GmbH 91 Labelstar Office 4 30 Build 1010 Custom Numeric Format Strings Custom Numeric Format Strings You can create a custom numeric format string which consists of one or more custom numeric specifiers to define how to format numeric data A custom numeric format string is any format string that is not a Standard Numeric Format Strings The following table describes the custom numeric format specifiers Zero placeholder Replaces the zero with the corresponding 1234 5678 00000 gt 01235 digit if one is present otherwise zero 0 45678 0 00 en US 0 46 appears in the result string 0 45678 0 00 fr FR 0 46 Digit placeholder Replaces the pound sign with the 1234 5678 gt 1235 corresponding digit if one is present 0 45678 t JH en US gt 46 otherwise no d
130. pplication Class Represents the Labelstar Office application This is the top level object from which all other objects will originate Label Class Provides access to an individual label Field Class Provides access to an individual field on the label Your development computer must have a copy of the OLE automation s application before you can test your application Also your user must have a copy of the OLE automation application Without Labelstar Office you cannot use OLE automation to open and print a label What is OLE Automation In Microsoft Windows applications programming OLE Automation later renamed by Microsoft to just Automation although the old term remained in widespread use is an inter process communication mechanism based on Component Object Model COM that is intended for use by Scripting Languages originally Visual Basic but now many languages that run on Windows It provides an infrastructure whereby applications called automation controllers can access and manipulate i e set properties of or call methods on shared automation objects that are exported by other applications It supersedes Dynamic Data Exchange DDE an older mechanism for applications to control one another As with DDE in OLE Automation the automation controller is the client and the application exporting the automation objects is the server What is COM Component Object Model COM is an interface standard for software componentry in
131. processed meat from pigs sheep goats and poultry e Highlighting allergens e g peanuts or milk in the list of ingredients e Better legibility i e minimum size of text e Requirements on information on allergens also cover non pre packed foods including those sold in restaurants and caf s The new rules will apply from 13 December 2014 The obligation to provide nutrition information will apply from 13 December 2016 Foods that need to be labelled on pre packed foods when used as ingredients are e Cereals containing gluten such as wheat rye barley oats spelt or khorasan Crustaceans for example prawns crabs lobster crayfish Eggs Fish Peanuts Soybeans Milk Nuts such as almonds hazelnuts walnuts cashews pecan nuts Brazil nuts pistachio nuts macadamia or Queensland nuts Celery including celeriac Mustard Sesame seeds Sulphur dioxide and sulphites gt 10mg kg or 10mg l Lupin Mollusc for example clams mussels whelks oysters snails and squid Copyright O Carl Valentin GmbH 166 Labelstar Office 4 30 Build 1010 Sample Sample This sample shows how you can create a database label using the variable ReplacePattern to automatically highlight certain words The example can be found in the samples folder 6InstallDir 6 Samples Allergens Allergens txt This file contains the list of allergens that are being emphasized Cookies accdb Microsoft Access database with the ingredients lists Cookies
132. program variant BASIC PROFESSIONAL For more information see Program Variants Returns a string containing a specified number of characters from the left side of a string Syntax Left text length Parameters text String expression from which the leftmost characters are returned length Numeric expression indicating how many characters to return If 0 a zero length string is returned If greater than or equal to the number of characters in text the entire string is returned Return value A string containing a specified number of characters from the left side of a string Examples Left abcDEF 0 gt Left abcDEF 2 ab Left abcDEF 4 gt abcD Left abcDEF 10 gt abcDEF Left abcDEF 2 gt Error See also gt Get Rightmost Characters of a String Get Middle Characters of a String Copyright O Carl Valentin GmbH 39 Labelstar Office 4 30 Build 1010 Get Rightmost Characters of a String Get Rightmost Characters of a String C Required program variant BASIC PROFESSIONAL For more information see Program Variants Returns a string containing a specified number of characters from the right side of a string Syntax Right text length Parameters text String expression from which the rightmost characters are returned length Numeric expression indicating how many characters to return If 0 a zero length string is returned If greater than or
133. r expression Matches yes if the regular expression pattern A A d 2 b b A10 C103 910 A10 910 yes nein designated by expression matches otherwise d 3 b matches the optional no part expression is interpreted as a zero width assertion name yes Matches yes if name a named or numbered quoted Dogs jpg Yiska Dogs jpg no capturing group has a match otherwise quoted S playing jpg Yiska matches the optional no AS playing jpg Substitutions Substitutions are regular expression language elements that are supported in replacement patterns The metacharacters listed in the following table are atomic zero width assertions Substitutes the substring matched by group 3 2 1 one two two one number Substitutes the substring matched by the named one two two one group name lt word1 gt w word1 Os C lt word2 gt w b en icra a literal b d s 103 USD 103 USD Copyright O Carl Valentin GmbH 49 Labelstar Office 4 30 Build 1010 Regular Expression Language d vate E EE RR the match match S0 BHO e Substitutes the last group that was captured B C AABBCCDD AACCDD Substitutes the entire input string AABBCC l AAAABBCCCC Regular Expression Options You can specify options that control how the regular expression engine interprets a regular expression pattern You can specify an inline option in
134. r VALENTIN CARL Documents Labelstar Office Labels Test Aztec Code lbex SymbolDir C ProgramData Labelstar Office Symbols Folder to store label files Version 4 30 Build 1010 Copyright Carl Valentin GmbH 180 Labelstar Office 4 30 Build 1010 Language Settings Language Settings e With this application you can change the language of the Labelstar Office user interface e To open the program click Start Programs Labelstar Office Tools Language Settings Labelstar Office Language Settings User Interface You can change the language Labelstar Office uses in elements such as menus and dialog CF boxes After selecting a new language you must quit and restart any Labelstar Office applications you are currently using Display Labelstar Office in Same as the system H Create backup file before saving changes ETTE 14 Note In order to transfer the new settings you have to close all opened Labelstar Office applications close the program and restart it Copyright O Carl Valentin GmbH 181 Labelstar Office 4 30 Build 1010 OLE Automation OLE Automation m Required program variant PROFESSIONAL For more information see Program Variants OLE Automation provides a way for OLE compliant applications to interact with Labelstar Office Using OLE another program can start a Labelstar Office session open a label place data into a field print a label and save the updated label Quick Reference A
135. r code encoded digits capital letters and special characters Alphanumeric bar code encoded digits letters and special characters Numeric bar code 113 Labelstar Office 4 30 Build 1010 Code 2 of 5 Interleaved Code 93 123456 ABCDEF ro TI ABCAabco ABCDEF Bar Codes Numeric bar code with an even number of digits Alphanumeric bar code encoded digits capital letters special characters and spaces Alphanumeric bar code based on Code 39 encoded ASCII character set Alphanumeric bar code encoded digits capital letters special characters and spaces Code 93 Full ASCII DataMatrix Deutsche Post Identcode ABCabc 01 90 5 234 567 8 Alphanumeric bar code based on Code 93 encoded ASCII character set Note This barcode is transmitted graphically 2D bar code developed by Acuity Corp Numeric bar code based on Code 2 5 Interleaved with different check digit calculation Deutsche Post Leitcode 01234 567 890 12 0 Numeric bar code based on Code 2 5 Interleaved with different check digit calculation EAN 13 GTIN 13 Numeric bar code 1 234567 890128 EAN 13 2 Stellen 19 EAN 13 with 2 digit add on 1 234567 890128 Copyright Carl Valentin GmbH Labelstar Office 4 30 Build 1010 Bar Codes EAN 13 5 Stellen
136. rent string If trimChars is not defined white space characters are removed instead Examples TrimRight abcDEF abcDEF TrimRight abcDEF TrimChars F gt abcDE See also gt Remove leading and trailing characters Remove leading characters Copyright O Carl Valentin GmbH 58 Labelstar Office 4 30 Build 1010 Trim Leading and Trailing Characters Trim Leading and Trailing Characters KA Required program variant BASIC PROFESSIONAL For more information see Program Variants Removes all leading and trailing occurrences of a set of characters specified in an array from the current string Syntax Trim text TrimChars trimChars Parameter text The string to be changed trimChars optional An array of characters to remove Return value The string that remains after all occurrences of the characters in the trimChars parameter are removed from the start and end of the current string If trimChars is not defined white space characters are removed instead Examples Trim abcDEF gt abcDEF Trim abcDEF TrimChars aF gt bcDE See also gt Remove leading characters Remove trailing characters Copyright O Carl Valentin GmbH 59 Labelstar Office 4 30 Build 1010 Convert ASCII String to HEX String Convert ASCII String to HEX String FA Required program variant BASIC PROFESSIONAL For more information see Program Variants Converts an ASCII string
137. replaced by current values to define a variable file name e g labelname date log Select only one path on which all users have access Select never only C or C Windows If at all please create a new folder where the program can save its log files e g C Log Overwrite existing log file Activate this check box if the log file should overwrite and replace the existing log file Use local time for file naming Activate this check box if the local time is to be used for creating the log file name If this option is not selected the coordinated world time Coordinated Universal Time UTC is used Log File Format In this section you can define the file format The log file is saved in CSV format For more information about data to be saved see Logging Log File Rollover In this section you specify if and when a new log file is to be commenced Maximum file size in MB Select this option to permit the creation of aditional log files if the maximum file size is reached Each new file name consists of the original name of the log file with an ascending number Do not create new log file All information is logged in an only one ever growing file Copyright O Carl Valentin GmbH 176 Labelstar Office 4 30 Build 1010 File Locations Tab File Locations Tab In this tab you can change the location of the directories and files used in the program To change the location proceed as follows 1 Select an entry 2 Click mi
138. resent the first file filter is used title optional Type String Specifies the title of the dialog box If this argument is omitted the title is Open Return Type String Remarks Returns the selected file name or the name entered by the user The returned name may include a path specification Returns an empty string if the user cancels the dialog box This method may change the current drive or folder For more information and a detailed example see OLE Automation Your First Application See also Application Class gt Object Reference Copyright O Carl Valentin GmbH 203 Labelstar Office 4 30 Build 1010 GetOpenFilename Method Copyright O Carl Valentin GmbH 204 Labelstar Office 4 30 Build 1010 Opens the specified label Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objApp OpenLabel path Parameters path Type String The path of the label Return Type LSOffice Label Remarks OpenLabel Method OpenLabel Method Returns a Label object if opened successfully otherwise null To get extended error information check the value of the LastError property For more information and a detailed example see OLE Automation Your First Application See also Label Class Application Class Object Reference Copyright O Carl Valentin GmbH 205 Labelstar Office 4 30 Build 1010 Error Class Error Class An Error object holds information ab
139. ring converted to lowercase Syntax ToLower text Parameter text The string to be changed Return value A string in lowercase Examples ToLower abcDEF abcdef See also Convert string to uppercase Copyright O Carl Valentin GmbH 54 Labelstar Office 4 30 Build 1010 Convert String to Uppercase Convert String to Uppercase C Required program variant BASIC PROFESSIONAL For more information see Program Variants Returns a copy of this string converted to uppercase Syntax ToUpper text Parameter text The string to be changed Return value A string in uppercase Examples ToUpper abcDEF ABCDEF See also gt Convert string to lowercase Copyright Carl Valentin GmbH 55 Labelstar Office 4 30 Build 1010 Truncate String Truncate String C Required program variant BASIC PROFESSIONAL For more information see Program Variants Restricts the maximum length of a string and cuts the string if it is too long Syntax Truncate text maxLength Parameter text The string to be changed maxLength Maximum number of characters including the caret If the number of characters in text greater than maxLength the string is cut and is added Return value The truncated string Examples Truncate Beispieltext 8 gt Beisp Truncate LabelPath 20 gt C Label1 lbex Copyright Carl Valentin GmbH 56 Labelst
140. rmat 15 00000 gt 00015 Format 15 D5 gt 00015 Different formatting for negative numbers and zero Note You can define special formats for negative numbers and zero Use a semicolon as separator in order to separate the formatting in two or three sections The second section is for negative numbers the third section is for zero Format 15 minus 4 gt 15 Format 15 minus 4 gt minus 15 Format 0 minus zero gt zero Using different languages Note The default language is German de DE if language is not specified Format 1234 56 N2 gt 1 234 56 Format 1234 56 N2 Language en US gt 1 234 56 Format 1234 56 N2 Language fr FR gt 1 234 56 Copyright Carl Valentin GmbH 87 Labelstar Office 4 30 Build 1010 Format CurrentDateTime yyyy MMMM dddd gt 2013 September Dienstag Format CurrentDateTime yyyy MMMM dddd Language fr FR 2013 septembre mardi Format CurrentDateTime yyyy MMMM dddd Language zh CN gt 20132 H eA See also Format lext Copyright O Carl Valentin GmbH Format Value 88 Labelstar Office 4 30 Build 1010 Formatting Types Formatting Types Formatting converts the value of a type into a string representation See also Standard Numeric Format Strings Custom Numeric Format Strings y Standard Date and Time Format Strings gt Custom Date and Time Form
141. rom the Tools menu select Reference 2 If the interface is already listed as an available refrence select it otherwise click Add Browse 3 Select the LSOffice tlb file which is located in the installation folder of Labelstar Office and click Open Now you can view the LSOffice objects their methods properties parameters and constant values online using the Visual Basic object browser Copyright O Carl Valentin GmbH 186 Labelstar Office 4 30 Build 1010 Your First Application Object Browser x F E Search vig m Ed IHost OE Lsoffice Eg Application Le ActivePrinter ha Equals GetHashCode p GetOpenFilename da GetType ES HasError E Info m da Initialize 2 Isinitialized A LabelDir 2 LastError m A License 25 ig OpenLabel i A ToString Error ae Error Type fg Field 1 2 Label g Licenselnfo H P Print ptions a Ag Versionlnfo a WMI Classes Function OpenLabel By Val path As String As Label Launch Labelstar Office runtime Labelstar Office OLE Automation is exposed by the way of a COM object named LSOffice Application To call Labelstar Office you first have to create an LSOffice Application object Dim objApp objApp CreateObject LSOffice Application The first thing to do now is to initialize the Labelstar Office runtime objApp Initialize Example VBScript Open And Print Label Sample Code Copyright O Carl Valentin GmbH 187 Labelstar Office 4 3
142. roperty for the version string that is displayed to the users Read only property Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objVersion CompiledVersion Type String Example CompiledVersion 4 10 1010 See also gt Versioninfo Class Object Reference Copyright O Carl Valentin GmbH 271 Labelstar Office 4 30 Build 1010 Copyright Property Copyright Property Gets the copyright notice associated with the API Read only property Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objVersion Copyright Type String Example Copyright Copyright O Carl Valentin GmbH 2012 2014 See also gt Versioninfo Class gt Object Reference Copyright Carl Valentin GmbH 272 Labelstar Office 4 30 Build 1010 DisplayVersion Property Version to be displayed to the users Read only property Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objVersion DisplayVersion Type String Example DisplayVersion Version 4 10 Build 1010 See also gt Versioninfo Class gt Object Reference Copyright Carl Valentin GmbH DisplayVersion Property 2 3 Labelstar Office 4 30 Build 1010 Name of the product Read only property Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objVersion ProductName Type String Example ProductName Labelstar Office See also gt Versioninfo Class g
143. s Math Variables With the help of these variables numbers can be processed and mathematic formulas can be calculated Supported Math Variables Absolute Value Minumum Value Maximum Value Calculate Mathematical Formula Copyright O Carl Valentin GmbH 68 Labelstar Office 4 30 Build 1010 Absolute Value Absolute Value C Required program variant BASIC PROFESSIONAL For more information see Program Variants Returns the absolute value of a specified number Syntax Abs value Parameters value A number Return value Absolute value of the specified number Remarks The absolute value of a number is its numeric value without its sign For example the absolute value of both 1 2 and 1 2 is 1 2 Examples Abs 12 00 gt 12 Abs 12 25 gt 12 25 Format Abs 144 00000 gt 00144 Copyright O Carl Valentin GmbH 69 Labelstar Office 4 30 Build 1010 Minimum Value Minimum Value C Required program variant BASIC PROFESSIONAL For more information see Program Variants Returns the smaller of two numbers Syntax Max valuel value2 Parameters value1 The first of two numbers to compare value2 The second of two numbers to compare Return value Parameter value1 or value2 whichever is smaller Examples Max 10 20 20 Max 10 5 10 See also Min Copyright O Carl Valentin GmbH 70 Labelstar Office 4 30 Build 1010 Maximu
144. s can be defined on the label In contrast to zu System Variables printer internal variables are managed and calculated during the print order by the printer e Printer variables can be used only in text boxes with printer fonts and barcodes which are not graphically transferred e For each text or barcode field only one printer variable can be defined Supported Printer Variables Date Time Printer Field Link Printer User Input Printer Counter Printer y Extended Counter Printer gt Check Digit Printer Shift Definition Copyright O Carl Valentin GmbH 101 Labelstar Office 4 30 Build 1010 Date Time Printer Date Time Printer C Required program variant BASIC PROFESSIONAL For more information see Program Variants Defines a printer internal date and time variable Syntax PrnDateTime format UpdateInterval updateInterval MonthOffset monthOffset DayOffset dayOffset MinOffsetzminOffset CorrectMonth correctMonth Parameters format Indicates how the value is to be formatted For more information see Printer specific Date and Time Format String updatelnterval optional Standard 0 Indicates how often the variable is to be updated during a print order 0 At print start 1 After each label monthOffset optional Standard o Month offset is added to the current date dayOffset optional Standard 0 Day offset is added to the current da
145. sion Examples FileName C NLabelsNLabel lbex gt Label lbex FileName AppPath LabelDesigner exe FileName AppPath Ext false LabelDesigner FileName LabelPath gt Label lbex FileName LabelPath Ext 0 gt Label See also gt Get folder name gt Get file extension Copyright Carl Valentin GmbH 33 Labelstar Office 4 30 Build 1010 lmageDir ImagebDir C Required program variant BASIC PROFESSIONAL For more information see Program Variants Returns the current image folder Syntax ImageDir Return value Current image folder See also Change image folder Get current label folder Copyright O Carl Valentin GmbH 34 Labelstar Office 4 30 Build 1010 InstallDir InstallDir C Required program variant BASIC PROFESSIONAL For more information see Program Variants Returns the full path to the directory in which Labelstar Office is installed Syntax InstallDir Return value The installation folder of Labelstar Office e g C Programs Carl Valentin GmbH Labelstar Office or CAPrograms x86 Carl Valentin GmbHNLabelstar Office See also Application Folder Application Path Copyright O Carl Valentin GmbH 35 Labelstar Office 4 30 Build 1010 LabelDir LabelDir C Required program variant BASIC PROFESSIONAL For more information see Program Variants Returns the current label folder Syntax LabelDir R
146. ssage Type String Remarks Returns a representation of the current error that is intended to be understood by humans If there is no error or if it is an empty string then no error message is returned For more information see Error Codes and Messages For more information and a detailed example see Application LastError property See also Error Class Object Reference Copyright O Carl Valentin GmbH 211 Labelstar Office 4 30 Build 1010 ErrorType Enumeration ErrorType Enumeration Specifies the error types Namespace LSOffice Assembly LSOffice dll Version 4 10 1010 Members Sue 0 0x00 Waming 1 0x01 The call succeeded but there is a potentional problem Emo 2 0x02 The call failed Remarks The Error ErrorType property use this enumeration For more information and a detailed example see Application LastError property See also gt Error Class gt Object Reference Copyright O Carl Valentin GmbH 212 Labelstar Office 4 30 Build 1010 Field Class Field Class A Field object represents a field on the label It can be used to get information about the field and to get and set its content and properties You can get a reference to a Field object through the Label GetFieldBylndex or Label GetFieldByName method Properties FieldName Gets the name of the field locked Gets a value that indicates whether the field can be modified Printable Gets
147. t 250000 gt xx Check whether a database field is empty If Length DBField 0 The database field is empty The database field is not empty Copyright O Carl Valentin GmbH 9 Labelstar Office 4 30 Build 1010 Shift Definition Shift Definition L Required program variant BASIC PROFESSIONAL For more information see Program Variants Displays the current shift definition on the label Syntax Shift Return value Shift definition of printer specific variable definition Examples Early shift gt 06 00 13 59 Late shift gt 14 00 21 59 Night shift gt 22 00 05 59 System variable TrueType font Shift gt Early shift 08 20 Shift gt Late shift 15 30 Printer variable Printer font Shift gt SH See also Define Shift Times Copyright O Carl Valentin GmbH 80 Labelstar Office 4 30 Build 1010 Define Shift Times Define Shift Times FA Required program variant BASIC PROFESSIONAL For more information see Program Variants To define the shift times please proceed as follows 1 Select the Label properties and than click Shift Definitions The Shift Definitions dialog box opens 2 Click on P to define a new shift L Or E to delete the selected shift Pg or double click the selected shift to change the shift settings 4 8 0 Or id B to move the selected shift one position upward 3 0 wv Or
148. t StartPos startPos AllowableChars allowableChars SkipSpecialChars skipSpecialChars PrintAlignment printAlignment InputAlignment inputAlignment Parameters prompt The prompt text shown in the first line of the printer display text The input text shown in the second line of printer display startPos optional Standard o Start position for the input If start position is O then the text length is used as start position allowableChars optional Standard 0 Indicates which characters are allowed for the input 0 Numeric 1 Alphanumeric skipSpecialChars optional Standard 0 Indicates whether special characters are to be retained at the input or not 0 Do not skip special characters 1 Skip special characters printAlignment optional Standard 0 Print alignment 0 Right aligned 1 Left aligned inputAlignment optional Standard 0 Input alignment 0 Right aligned 1 Left aligned Return value Printer specific variable definition Examples PrnUserInput Enter text Example text StartPos 0 AllowableChars 1 UG 12 1 0 0 0 Enter text Example text gt Copyright O Carl Valentin GmbH 106 Labelstar Office 4 30 Build 1010 A yz dL e Enter text Eun texpB See also User Input System Copyright O Carl Valentin GmbH User Input Printer 107 Labelstar Office 4 30 Build 1010 Counter Printer Counter Printer C Required program variant BASIC PROFESS
149. t Object Reference Copyright Carl Valentin GmbH ProductName Property ProductName Property 214 Labelstar Office 4 30 Build 1010 Error Codes and Messages Error Codes and Messages Labelstar Office follows the standard OLE Automation approach for generating errors Runtime Error Handling When handling errors determine if the error was caused by using OLE Automation incorrectly or if the error was returned from an OLE Automation feature API call When the error was returned from an OLE Automation feature API call use Application LastError property to get further error information Each call to an OLE Automation feature API expect LastError resets the error information so that Application LastError property obtains error information only for the most recent OLE Automation feature API call Runtime Error Codes 1001 The application is alread initialized 1002 Invalidlicense key Invalid license type Professional license expected 1004 Application not initialized call Initialize first 1005 Nolabelopened Sample Runtime Error Handling VBScript Copyright O Carl Valentin GmbH 215 Labelstar Office 4 30 Build 1010 Error Codes and Messages Open and print label Set objApp CreateObject LS0ffice Application Application must be initialized before OpenLabel is called ob App Initialize If obj App HasError Then WScript Echo obj App LastError Message WScript Quit End If Browse file
150. t applications can utilize LSOffice Object Hierachy Application Class OpenLabel Method Label Class GetFieldBylndex Method GetFieldByName Method Info Property Versioninfo Class License Property Licenselnfo Class LastError Property Field Class Error Class Copyright O Carl Valentin GmbH 190 Labelstar Office 4 30 Build 1010 Application Class Application Class An Application object represents the Labelstar Office application This is the top level object from which all other objects will originate Its members usually apply to Labelstar Office as a whole You can use its properties and methods to control the Labelstar Office environment You create an Application object from scratch like this Dim objApp Set objApp CreateObject LSOffice Application objApp Initialize You must make sure that its lifetime exceeds the lifetimes of all other OLE Automation objects because all the other objects belong to the Application object This means that you almost always delcare the Application object at project global scope There is no reason for any other project to use more than one Application object because any number of other OLE Automation objects can share a single Application object Properties CRETE Returns the name of the active Returns the name of the active printer HasError Gets a EP MEM MES that indicates whether an error occurred during the last call to a m
151. t under Windows is used Language which is used for formatting the output For more information see Country Codes Return value Formatted day of year Examples Current date 01 02 2014 DayOfYear d gt 5 Copyright Carl Valentin GmbH 19 Labelstar Office 4 30 Build 1010 DayOfYear dd gt 05 DayOfYear ddd DayOffset 5 006 DayOfYear Day of year dd StartDate 01 03 2014 gt Day of year 09 Copyright O Carl Valentin GmbH Day of Year 20 Labelstar Office 4 30 Build 1010 Day of Week Day of Week C Required program variant BASIC PROFESSIONAL For more information see Program Variants Calculates the day of week Syntax DayOfWeek format UpdateInterval updateInterval MonthOffsetzmonthOffset DayOffset dayOffset StartDate startDate Sunday sunday Language language Parameters format Indicates how the weekday is to be formatted d n Day of week from 0 to 6 dd Day of week from 00 to 06 ddd Day of week from 000 to 006 dddd Day of week from 0000 to 0006 Any other The character is copied to the result string character unchanged updatelnterval optional standard 0 Indicates how often the variable is to be updated during a print order O At print start 1 After each label n After n labels 1 At each change of data record monthOffset optional standard 0 Month offset is added to the current date dayOffset optional standard 0 Day
152. t vbs Display field names vbs Print record vbs Shows a file dialog to choose a label opens and prints it Application GetOpenFilename method Application OpenLabel method Label Print method Opens label label1 lIbex and shows a message box to choose the active printer Label ActivePrinter property Opens label abeli lbex and shows a message box to change the field content of Text Label GetFieldByName method Field GetContent method Field SetContent method Opens label label1 lIbex and shows a message box to select if the field Barcode1 is printed or not Field Printable property Opens label label4 lbex and shows a message box to select text alignment of field Text1 Field SetPropertyValue method Displays a message box to show the fields defined on label1 lbex label2 Ibex and label3 lbex Label FieldNames property Demonstrates error handling Application LastError property Opens database label label3 lbex and shows a message box to enter search string Note Data connection Europe must be defined in Labelstar Office Label SelectRecord method Copyright O Carl Valentin GmbH 189 Labelstar Office 4 30 Build 1010 Object Reference Object Reference The Labelstar Office application programming interface consists of OLE Automation objects that are created and referenced by client applications These objects provide properties and methods that clien
153. tabase name Note Upper and lower case is considered columnName Column name Note Upper and lower case is considered dbNullValue optional Standard empty Indicates which value is to be used if the appropriate database field is empty format optional Standard empty Indicates how the contents of database field is to be formatted For more information see Formatting Types Return value Contents of database field Examples A iD Name Capital Area Population NativeName Flag Copies Germany Berlin 357114 82220000 Deutschland PS 3 DbField Europe Area 357114 DbField Europe Area Format z 0000000000 gt 0000357411 DbField Europe Capital Format LLLL Berl ToUpper DbField Europe Capital gt BERLIN Check whether a database field is empty If Length DBField 0 The database field is empty The database field is not emptry See also gt Databases Copyright O Carl Valentin GmbH 24 Labelstar Office 4 30 Build 1010 Get Field Content Get Field Content L Required program variant BASIC PROFESSIONAL For more information see Program Variants Defines a field link Syntax FieldLink fieldName displayText or lt lt fieldName gt gt Parameters fieldName Field name Note Upper and lower case is considered display Text optional Standard empty Indicates whether another value for the screen display is to be used
154. tablishing which product in one database corresponds to which product in another database especially across organizational boundaries GTINs may be 8 12 13 or 14 digits long and each of these 4 numbering structures are constructed in a similar fashion combining Company Prefix Item Reference and a calculated Check Digit GTIN 14 adds another component the Indicator Digit which can be 1 8 GTIN 8 EAN 8 GTIN 12 UPC A GTIN 13 EAN 13 GM 0e The following table demonstrates the structure of GTINs in a GTIN compliant database GTIN 0 00000NNNNNNNC GUN 0 ONNNNNNNNNNN C GTIN 13 0 NNNNNNNNNNNN C Copyright O Carl Valentin GmbH 157 Labelstar Office 4 30 Build 1010 Databases Databases L Required program variant BASIC PROFESSIONAL For more information see Program Variants A wealth of data which are outside the label can be used within the label But how can find and import these data in Labelstar Office The answer is very simple You have to create and use a data connection Data on a label can come from two different locations The data may be stored directly within the label or it may be stored in an external data source such as a text file or a database This external data source is connected to the label through a data connection which is a set of information that describes how to locate log in to and access the external data source The main benefit of connecting to external data is
155. te minOffset optional Standard o Minute offset is added to the current time correctMonth optional Standard false Month correction false or 0 Change into next month true or 1 Retain current month Return value Printer specific variable definition Examples Aktuelle Druckereinstellung 25 02 2014 14 21 25 PrnDateTime DD MO YYYY gt CL 0 0 0 0 0 lt DD MO YYYY gt gt 25 02 2014 PrnDateTime HH MI SS UpdateInterval 1 MinOffset 60 gt CL 0 0 1 60 0 lt HH MI SS gt gt 13 21 25 See also Date Time System Copyright O Carl Valentin GmbH 102 Labelstar Office 4 30 Build 1010 Printer specific Date and Time Format Strings Printer specific Date and Time Format Strings The format string is used to define the text presentation of a printer internal date or time value The following table describes the date and time format identifiers Hour from 00 to 23 24 hours format 15 06 2009 01 45 30 01 15 06 2009 13 45 30 13 Hour from 00 to 23 12 hours format 15 06 2009 01 45 30 01 15 06 2009 13 45 30 01 rri E SE Ej MI Minute from 00 to 59 15 06 2009 01 09 30 gt 09 15 06 2009 13 09 30 gt 09 Second from 00 to 59 15 06 2009 13 45 09 gt 09 AM Am or am AM PM output 15 06 2009 13 45 09 gt PM AM 15 06 2009 13 45 09 gt p m Am 15 06 2009 13 45 09 gt pm am Day of month from 01 to 31 01 06 2009 13 45 30 gt 01 15 06 2009 13 45 30 15 Month fr
156. terpreted literally Matches a bell character u0007 Error 4 10007 Au0007 In a character class matches a backspace Nu0008 b 3 b b b b b b b b Matches a tab u0009 w t item1Nitem2N itemi t item2Nt Matches a carriage return UOOOD Wr is not r n w r nThese are MnnThese equivalent to the newline character Mn ntwo lines W Matches avertial tab u0B We ww W Matches a form feed wooo S WANE AN n Matches a new line Nu000A r n w r nThese are r These nnn consists of two or three digits Uses hexadecimal representation to specify a character nn consists of exactly two digits Matches the ASCII control character that is x0003 Strg C x0003 specified by X or x where X or x Is the letter of the control character Matches a Unicode character by using NwNu0020 Nw E l a b cd hexadecimal representation exactly four digits as represented by nnnn When followed by a character that is not d x d d I 272 3 9 2 2 3 9 recognized as an escaped character in this and x d other tables in this topic matches that character For example is the same as x2A and is the same as x2E This allows the regular expression engine to disambiguate language elements such as or and character literals represented by or Character Classes A character class matches any o
157. the output mode optional standard 3 Operating mode 0 Reset start value at print start 1 Reset start value at print start automatic overflow 2 Reset start value manually Copyright O Carl Valentin GmbH 63 Labelstar Office 4 30 Build 1010 Counter System 3 Reset start value manually automatic overflow radix optional standard 10 Radix basis of counter 1 36 1 Alphabetical A Z 2 Bin ry 0 1 8 Octal 0 7 10 Decimal 0 9 16 Hexadecimal 0 9 A F 36 Alphanumerical 0 9 A Z Return value The current counter value Examples Counter 0001 MinValue 0000 MaxValue 0009 Increment 1 Radix 10 gt 0001 0002 0003 0004 0005 0006 0007 0008 0009 0009 0009 Counter 0001 Increment 1 TrimLeft true Radix 10 gt 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Counter 0001 MinValue 0000 MaxValue 0009 Increment 1 StartMode 0 Radix 10 gt 0009 0008 0007 0006 0005 0004 0003 0002 0001 0000 0000 0000 Counter 0001 MinValue 0000 MaxValue 0009 Increment 1 StartMode 1 Radix 10 gt 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 0000 0001 Number of copies 200 Counter Copies Increment 1 Radix 10 gt 200 199 198 197 196 195 194 193 192 191 190 Hexadecimal counter Counter 0009 MinValue 0000 MaxValue FFFF Increment 1 Radix 16 gt 0009 000A OOOB 000C 000D 000E 000F 00
158. tice associated with the API a DisplayVersion Version to be displayed to the users Gets the product name associated with the API See also Object Reference Copyright O Carl Valentin GmbH 268 Labelstar Office 4 30 Build 1010 Versioninfo Properties Versionlnfo Properties The Versioninfo type exposes the following members Properties a CompanyName Gets the company name associated with the API CompiledVersion Internal version number of the API this field is for internal use only see DisplayVersion property for the version string that is displayed to the users a Copyright Gets the copyright notice associated with the API a DisplayVersion Version to be displayed to the users Gets the product name associated with the API See also gt Versioninfo Class Object Reference Copyright O Carl Valentin GmbH 269 Labelstar Office 4 30 Build 1010 CompanyName Property CompanyName Property Gets the company name associated with the API Read only property Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objVersion CompanyName Type String Example CompanyName Carl Valentin GmbH See also gt Versioninfo Class gt Object Reference Copyright Carl Valentin GmbH 270 Labelstar Office 4 30 Build 1010 CompiledVersion Property CompiledVersion Property Internal version number of the API this field is for internal use only see DisplayVersion p
159. ting the license information Read only property Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objApp License Type LSOffice LicenseInfo Remarks In the trial version an evaluation mode watermark will be put onto each image and all e are replaced by x and all 5 by O See also gt Licenselnfo Class Application Class gt Object Reference Copyright O Carl Valentin GmbH 200 Labelstar Office 4 30 Build 1010 Application Methods Application Methods The Application type exposes the following members Methods o Initialize 0000 Initializes the current instance the current instance A Displays the standard Open dialog box and gets a A name from the user without actually opening any files OpenLabel Opens the specified label See also Application Class Object Reference Copyright O Carl Valentin GmbH 201 Labelstar Office 4 30 Build 1010 Initialize Method Initialize Method Initializes the current instance Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objApp Initialize Remarks This method ensures that the current instance is properly initialized before it is used to open labels It should only be called once Check Isinitialized property before calling the method This method sets the Islnitialized property to true Check LastError property to see if the function was completed successful
160. tings All Users Application Data Labelstar Office Windows 7 8 C ProgramData Labelstar Office Copyright O Carl Valentin GmbH 28 Labelstar Office 4 30 Build 1010 AppDir AppDir C Required program variant BASIC PROFESSIONAL For more information see Program Variants Returns the current application folder Syntax AppDir Return value The path for the executable file that started the application not including the executable name e g C Programs Carl Valentin GmbHNLabelstar Office See also Application Path Installation Folder Copyright O Carl Valentin GmbH 29 Labelstar Office 4 30 Build 1010 AppPath AppPath C Required program variant BASIC PROFESSIONAL For more information see Program Variants Returns the complete path name of the application Syntax AppPath Return value The path for the executable file that started the application including the executable name e g C Programs Carl Valentin GmbH Labelstar OfficelLabelDesigner exe See also Application Folder Installation Folder Copyright O Carl Valentin GmbH 30 Labelstar Office 4 30 Build 1010 Dir Dir C Required program variant BASIC PROFESSIONAL For more information see Program Variants Returns the directory information for the specified path string Syntax Dir path Parameters path The path of a file or directory Return value Directory information for path or null
161. tion density is very high The structure of a Code 128 consists of a start sign data area check digit and a stop sign Before the start sign and behind the stop sign a white zone quiet ABCabc zone with a width of at least 10 modules must be defined Length Variable Valid ASCII character set including control characters characters Fr Modulo 103 See also Code 128 Subset A Code 128 Subset B gt GS1 128 Copyright O Carl Valentin GmbH 119 Labelstar Office 4 30 Build 1010 Code 128 Subset A Code 128 Subset A Special type of Code 128 Digits 0 9 characters Upper case letters A Z Control characters Eod Modulo 103 See also Code 128 Code 128 Subset B Copyright O Carl Valentin GmbH 120 Labelstar Office 4 30 Build 1010 Code 128 Subset B Code 128 Subset B m Valid Digits 0 9 characters Upper and lower case letters A z a Modulo 103 See also Code 128 Code 128 Subset A Copyright O Carl Valentin GmbH 121 Labelstar Office 4 30 Build 1010 Code 2 of 5 Industrial Code 2 of 5 Industrial The Code 2 of 5 Industrial is a very simple numeric code which is able to display digits from 0 to 9 The code is mainly used in industrial sector and particularly in transport and warehousing Code 2 of 5 has no built in check digit As the information density of the bar code is low and its space consumption very high it is barely used nowadays
162. trial version an evaluation mode watermark will be put onto each image and all e are replaced by x and all 5 by O See also gt Licenselnfo Class gt Object Reference Copyright Carl Valentin GmbH 264 Labelstar Office 4 30 Build 1010 LicenseKey Property LicenseKey Property Gets the license key used to to activate Labelstar Office Read only property Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objLicense LicenseKey Type String See also gt Licenselnfo Class Object Reference Copyright O Carl Valentin GmbH 265 Labelstar Office 4 30 Build 1010 LicenseType Property Gets the license type Read only property Namespace LSOffice Assembly LSOffice dil Version 4 10 1010 Usage objLicense LicenseType Type String Remarks Possible license types are TRIAL LITE BASIC or PROFESSIONAL For more information see Program Variants See also gt Licenselnfo Class Object Reference Copyright O Carl Valentin GmbH LicenseType Property 266 Labelstar Office 4 30 Build 1010 PrintOptions Enumeration PrintOptions Enumeration Specifies the print options Namespace LSOffice Assembly LSOffice dll Version 4 10 1010 Members 0 0x00 Default settings PrintAllRecords 1 0x01 Prints all records Select Record dialog box will not be shown PrintCurrentRecord 2 0x02 Prints the current selected record Select Record dialog box will no be shown
163. troduced by Microsoft in 1993 It is used to enable interprocess communication and dynamic object creation in any programming language that supports the technology The term COM is often used in the software development industry as an umbrella term that encompasses the OLE OLE Automation and ActiveX COM DCOM technologies The essence of COM is a language neutral way of implementing objects that can be used in environments different from the one they were created in even across machine boundaries For well authored components COM allows reuse of objects with no knowledge of their internal implementation as it forces component implementers to provide well defined interfaces that are separate from the implementation The different allocation semantics of languages are accommodated by making objects responsible for their own creation and destruction through reference counting Casting between different interfaces of an object is achieved through the Querylnterface function The preferred method of inheritance within COM is the creation of sub objects to which method calls are delegated Although the interface standard has been implemented on several platforms COM is primarily used with Microsoft Windows COM is expected to be replaced at least to some extent by the Microsoft NET framework and support for Web Services through the Windows Communication Foundation WCF However COM objects can still be used with all NET languages without problems Net
164. ust start at the beginning of the A d 3 901 333 901 String or line The match must occur at the end of the string or d 3 901 333 2393 before Mn at the end of the line or string match must occur at the start of the string A d 3 901 333 be match must occur at the end of the string or d 3 Z 901 333 before n at the end of the string z The match must occur at the end of the string d 3 z 901 333 333 match must occur at the point where the G d 1 3 5 7 9 g previous match ended The match must occur on a boundary betweena b w s w b them theme them theme w alphanumeric and a W nonalphanumeric them them them them character The match must not occur on a Vb boundary Bend w b l end sends ends ender endure lender Grouping Constructs Grouping constructs delineate subexpressions of a regular expression and typically capture substrings of an input string Grouping constructs include the language elements listed in the following table Copyright Carl Valentin GmbH A7 Labelstar Office 4 30 Build 1010 Regular Expression Language subexpression Captures the matched subexpression and w 1 deep assigns it a one based ordinal number name gt Captures the matched subexpression into a double deep subexpression named group w k lt double gt name Defines a balancin
165. worked DCOM uses binary proprietary formats while WCF encourages the use of XML based SOAP messaging COM is very similar to other component software interface standards such as CORBA and Java Beans although each has its own strengths and weaknesses It is likely that the characteristics of COM make it most suitable for the development and deployment of desktop applications for which it was originally designed Copyright O Carl Valentin GmbH 182 Labelstar Office 4 30 Build 1010 OLE Automation Copyright O Carl Valentin GmbH 183 Labelstar Office 4 30 Build 1010 Operating Requirements Operating Requirements The OLE Automation Interface of Labelstar Office runs on Microsoft Windows operating systems family it has been proven working on Windows 7 Windows 8 and Windows 8 1 in both 32 bit and 64 bit versions Labelstar Office requires the NET Framework 4 0 or higher Please visit http www microsoft com net for additional information and download links Labelstar Office core is compiled using the x86 Platform target This means the project is intended to run only as a 32 bit process A 64 bit process will be unable to call into an assembly set as x86 Applications and assemblies marked for x86 can still run on 64 bit Windows However they run under WOW64 Copyright O Carl Valentin GmbH 184 Labelstar Office 4 30 Build 1010 Register Assembly for COM Interop Register Assembly for COM Interop Labelstar Office includes an OLE Automat
166. ztec Runes Aztec Runes L Required program variant BASIC PROFESSIONAL For more information see Program Variants Aztec Runes are a set of small barcode symbols that are used for special applications Valid An integer between 0 and 255 including the boundaries characters ae See also y Aztec Code Copyright O Carl Valentin GmbH 141 Labelstar Office 4 30 Build 1010 Codablock F Codablock F L Required program variant BASIC PROFESSIONAL For more information see Program Variants Codablock F is a 2D bar code with several stacked Code 128 one above the other The code is mainly used in health care The lines of Codablock F are marked by line numbers exactly as the total character number of the code With Codablock F 2 to 44 lines can be displayed Each individual line can have up to 62 characters according to Code 128 The principle of Codablock bar code is the same like the line break of a text editor if the line is full it is wrapped to the next line i e to each line the line number is added and to the finished block the number of lines For the orientation of the reading device each line contains a line indicator and additionally two check digits to secure the contents of the total message Length In 2 to 44 lines each 4 to 62 characters max 2725 characters are encoded Valid ASCII characters Check Internal digit Copyright Carl Valentin GmbH 1

Download Pdf Manuals

image

Related Search

Related Contents

  COSA Instrument XPDM Dew Point Meter User Guide    STIRA E ASPIRA TOP M0S06167 1O08    Getting Started With Your Aquathin Reverse Osmosis Water  目次 (599KB)  FROZEN FRUIT MAKER  Télécharger - Quechua Phone 5  

Copyright © All rights reserved.
Failed to retrieve file