Please enable JavaScript to view this site.

CWT Software Configuration Handbook 4.40

Container        Path: <cwt><TICKET><barcodes>

Element        Path: <cwt><TICKET><barcodes><barcode1D>

The barcode1D sub-element defines the layout of a 1D barcode. Several 1D-barcode layouts can be defined at the same time for a ticket.

attributes

addChecksum

Value:true/false
Default:True
Description:Sets whether checksum must be generated and attached to the value to encode.

barHeight

Value:-3.4028235e+038 - 3.4028235e+038
Default:0.75
Description:Sets the bars' height of the barcode. It is measured in inches.

barRatio

Value:0–4294967295
Default:2
Description:Sets the wide bars' width compared to the narrow bars' width. In barcode terminology, this is N value.

barWidth

Value:-3.4028235e+038 - 3.4028235e+038
Default:0.035
Description:Sets the narrow bars' width of the barcode. In barcode terminology this is X value. It is measured in inches.

bearerBarStyle

Value:0 (None), 1 (Frame), 2 (Horizontal-Rules)
Default:0
Description:Sets the bearer bars’ type that must be drawn with the barcode image. Bearer bar is only available for 2 of 5, Code 128 and UCC.EAN 128 barcodes.

bearerBarWidth

Value:-3.4028235e+038 - 3.4028235e+038
Default:0.05
Description:Sets the bearer bars’ width. It is measured in inches

borderWidth

Value:0–4294967295
Default:0
Description:Sets the barcode image border's width.

bottomWidth

Value:-3.4028235e+038 - 3.4028235e+038
Default:0.0
Description:Sets the height of the margin below the barcode bars. It is measured in inches.

codabarStartChar

Value:0 (A), 1 (B), 2 (C), 3 (D)
Default:0
Description:Sets the start character for Codabar symbology.

codabarStopChar

Value:0 (A), 1 (B), 2 (C), 3 (D)
Default:1
Description:Sets the stop character for Codabar symbology.

code

Value:Any characters
Default:-
Description:Sets the value to encode.

code128CharSet

Value:0 (Auto), 1 (A), 2 (B), 3 (C)
Default:0
Description:Sets the characters set to use in the Code 128 symbology.

codeAlignment

Value:0 (Above Centre), 1 (Above Left), 2 (Above Right), 3 (Below Centre), 4 (Below Left), 5 (Below Right)
Default:0
Description:Sets the text alignment for Code property.

displayChecksum

Value:true/false
Default:true
Description:Sets whether checksum value must be displayed after the value to encode in the barcode image.

displayCode

Value:true/false
Default:true
Description:Sets whether the value to encode must be displayed in the barcode image.

displayLightMarginIndicator

Value:true/false
Default:false
Description:Sets whether light margin indicators must be displayed in the barcode image. Only available for EAN/UPC symbologies.

displayStartStopChar

Value:true/false
Default:true
Description:Sets whether start and stop characters
must be displayed in the barcode image.

eanUpcSupplement

Value:0 (None), 1 (Digits2), 2 (Digits5)
Default:0
Description:Sets the supplement type to use with EAN and UPC symbologies.

eanUpcSupplementCode

Value:Any characters
Default:-
Description:Sets the supplement value for EAN and UPC symbologies.

eanUpcSupplementSeparation

Value:-3.4028235e+038 - 3.4028235e+038
Default:0.15
Description:Sets the gap separation between the barcode and its supplement. It is measured in inches.

eanUpcSupplementTopMargin

Value:-3.4028235e+038 - 3.4028235e+038
Default:0.15
Description:Sets the height of the margin above the EAN/UPC supplement bars. It is measured in inches.

extended

Value:true/false
Default:false
Description:Sets whether the extended versions for Code 39 and/or Code 93 symbologies must be used.

guardBar

Value:true/false
Default:true
Description:Sets whether guard bars must be drawn.

guardBarHeight

Value:-3.4028235e+038 - 3.4028235e+038
Default:0.5
Description:Sets the guard bars' height. It is measured in inches.

id

Value:0–65535
Default:-
Description:The id of the barcode layout.

pharmaCodeBarsSpacing

Value:-3.4028235e+038 - 3.4028235e+038
Default:0.04
Description:Sets the gap between Pharmacode bars.

pharmaCodeThickBarWidth

Value:-3.4028235e+038 - 3.4028235e+038
Default:0.06
Description:Sets the width of Pharmacode Thick Bars.

pharmaCodeThinBar-Width

Value:-3.4028235e+038 - 3.4028235e+038
Default:0.02
Description:Sets the width of Pharmacode Thin Bars.

planetHeightShortBar

Value:-3.4028235e+038 - 3.4028235e+038
Default:0.06
Description:Sets the short bars' height of Planet symbology. It is measured in inches.

planetHeightTallBar

Value:-3.4028235e+038 - 3.4028235e+038
Default:0.135
Description:Sets the tall bars' height of Planet symbology. It is measured in inches.

postal4StateAddStartStopChar

Value:true/false
Default:true
Description:Sets whether start and stop characters must be added and drawn in the barcode image.

postal4StateBarsSpacing

Value:-3.4028235e+038 - 3.4028235e+038
Default:0.03
Description:Sets the gap spacing between bars. It is measured in inches.

postal4StateTrackerBarHeight

Value:-3.4028235e+038 - 3.4028235e+038
Default:0.08
Description:Sets the height of tracker bar. It is measured in inches.

postal4StateTrackerBarWidth

Value:-3.4028235e+038 - 3.4028235e+038
Default:0.02
Description:Sets the width of tracker bar. It is measured in inches.

postnetHeightShortBar

Value:-3.4028235e+038 - 3.4028235e+038
Default:0.06
Description:Sets the height of the short bar of Postnet symbology. It is measured in inches.

postnetHeightTallBar

Value:-3.4028235e+038 - 3.4028235e+038
Default:0.135
Description:Sets the height of the tall bar of Postnet symbology. It is measured in inches.

quietZoneWidth

Value:-3.4028235e+038 - 3.4028235e+038
Default:0.15
Description:Sets the width of the quiet zone. It is measured in inches.

symbology

Value:See separate symbology table below.
Default:36
Description:Sets the barcode symbology to generate.

telepenEncoding

Value:0 (Ascii), 1 (Numeric)
Default:0
Description:Sets the Telepen Encoding to use on that symbology.

text

Value:Any characters
Default:-
Description:Sets the additional text to show in the barcode image. Note: This is not the value to encode.

textAlignment

Value:0 (Above centre)
1 (Above Left)
2 (Above Right)
3 (Below Centre)
4 (Below Left)
5 (Below Right)
Default:0
Description:Sets the text alignment for text property.

topMargin

Value:-3.4028235e+038 - 3.4028235e+038
Default:0.0
Description:Sets the height of the margin above the barcode bars. It is measured in inches.

upcESystem

Value:0 (System0), 1 (System1)
Default:0
Description:Sets the number system to use for UPC-E symbology.

uspsFimPattern

Value:0 (A), 1 (B), 2 (C), 3 (D)
Default:0
Description:Sets the USPS FIM pattern to use on that symbology.
A -        Used for Courtesy Reply Mail (CRM) and Meter Reply Mail (MRM) with a Pre-printed barcode.
B -        Used for Business Reply Mail (BRM) Without a pre-printed BRM ZIP+4 barcode.
C -        Used for Business Reply Mail (BRM) With a pre-printed BRM ZIP+4 barcode.
D -        Used only with information-based Indicia (IBI) postage.

uspsHorizontalBarsCount

Value:0–4294967295
Default:10
Description:Sets the number of horizontal bars to be drawn.

 

The following table shows what kinds of barcodes that Flowbird supports. These are added to the “symbology” attribute.

Value

Member name

Description

0

AustraliaPost

Australia Post 4-state Barcode a.k.a. Australian 4-state postal barcode, Australia Post Customer Barcode

1

Codabar

Codabar a.k.a. ABC Codabar, CodaBar, USD-4, NW-7, Code 2 of 7, Monarch, Code-27, Ames code, Rationalized Codabar, 2 of 7 Code, ANSI/AIM Codabar, Uniform Symbology Specification Codabar, USS Codabar

2

Code11

Code 11 a.k.a. Code11, USD-8, USD8

3

Code32

Code 32 a.k.a. Italian Pharmacode, IMH, Codice 32 Pharmacode, Codice Farmaceutico Italiano, Radix 32 Barcode

4

Code39

Code 39 a.k.a. ANSI/AIM Code 39, ANSI/AIM Code 39, Uniform Symbology Specification Code 39, USS Code 39, USS 39, Code 3/9, Code 3 of 9, USD-3, LOGMARS, Alpha39, Code 39 Extended, and Code 39 Full ASCII

5

Code93

Code 93 a.k.a. ANSI/AIM Code 93, ANSI/AIM Code 93, Uniform Symbology Specification Code 93, USS Code 93, USS 93, Code 9/3, USS-93, USD-3, Code 93 Extended, and Code 93 Full ASCII

6

Code128

Code 128 a.k.a. ANSI/AIM 128, ANSI/AIM Code 128, USS Code 128, Uniform Symbology Specification Code 128, Code 128 Code Set A, Code 128 Code Set B, Code 128 Code Set C, Code 128A, Code 128B, Code 128C

7

DeutschePostIdentcode

Deutsche Post Identcode Barcode a.k.a. German Postal 2 of 5 Identcode, Deutsche Post AG Identcode, Deutsche Frachtpost Identcode, Identcode, CodeIdentcode, Deutsche Post AG (DHL)

8

DeutschePostLeitcode

Deutsche Post Leitcode Barcode a.k.a. German Postal 2 of 5 Leitcode, CodeLeitcode, Leitcode, Deutsche Post AG (DHL)

9

Ean8

EAN-8 a.k.a. European Article Number 8, EAN-8 Supplement 5/Five-digit Add-On, EAN-8 Supplement 2/Two-digit Add-On, EAN-8+5, EAN-8+2, EAN8, EAN8+5, EAN13+2, UPC-8, GTIN-8, GS1-8

10

Ean13

EAN-13 a.k.a. European Article Number 13, EAN-13 Supplement 5/Five-digit Add-On, EAN-13 Supplement 2/Two-digit Add-On, EAN-13+5, EAN-13+2, EAN13, EAN13+5, EAN13+2, UPC-13, GTIN-13, GS1-13

11

Ean99

EAN-99 a.k.a. European Article Number 99, EAN-99 Supplement 5/Five-digit Add-On, EAN-99 Supplement 2/Two-digit Add-On, EAN-99+5, EAN-99+2, EAN99, EAN99+5, EAN99+2, GTIN-99, GS1-99, Coupon Barcode

12

EanVelocity

EAN-Velocity a.k.a. Velocity Barcode

13

FedExGround96

FedEx Ground 96 a.k.a. FedEx 96 Barcode, FedEx Ground 96 UCC/EAN-128, 96 Barcode

14

Industrial2of5

Industrial 2 of 5 a.k.a. 2 of 5 Industrial, 2/5 Industrial, 2 of 5 Standard, Standard 2 of 5, 2/5 Standard, Code 2/5, 2 of 5, C 2 of 5

15

Interleaved2of5

Interleaved 2 of 5 a.k.a. ANSI/AIM ITF 25, ANSI/AIM I-2/5, Uniform Symbology Specification ITF, USS ITF 2/5, ITF, I-2/5, 2 of 5 Interleaved, 2/5 Interleaved

16

Isbn

ISBN a.k.a. International Standard Book Number, Bookland EAN, ISBN-13, ISBN-10, ISBN+5, ISBN+2, ISBN Supplement 5/Five-digit Add-On, ISBN Supplement 2/Two-digit Add-On

17

Ismn

ISMN a.k.a. International Standard Music Number, ISMN-13, ISMN-10, ISMN+5, ISMN+2, ISMN Supplement 5/Five-digit Add-On, ISMN Supplement 2/Two-digit Add-On, ISO 10957

18

Issn

ISSN a.k.a. International Standard Serial Number, ISSN-13, ISSN-10, ISSN+5, ISSN+2, ISSN Supplement 5/Five-digit Add-On, ISSN Supplement 2/Two-digit Add-On

19

Itf14

ITF-14 a.k.a. UPC Shipping Container Symbol ITF-14, ITF14, Case Code, UPC Case Code, EAN/UCC-14, EAN-14, UCC-14, DUN-14, GTIN-14

20

Jan8

JAN-8 a.k.a. Japanese Article Number 8, JAN-8 Supplement 5/Five-digit Add-On, JAN-8 Supplement 2/Two-digit Add-On, JAN-8+5, JAN-8+2, JAN8, JAN8+5, JAN8+2

21

Jan13

JAN-13 a.k.a. Japanese Article Number 13, JAN-13 Supplement 5/Five-digit Add-On, JAN-13 Supplement 2/Two-digit Add-On, JAN-13+5, JAN-13+2, JAN13, JAN13+5, JAN13+2

22

Msi

MSI a.k.a. MSI/Plessey, Modified Plessey

23

NumlyNumber

Numly Number a.k.a. ESN, Electronic Serial Number, Electronic Standard Book Number, ESBN

24

Opc

OPC a.k.a. Optical Product Code, VCA Barcode, VCA OPC, Vision Council of America OPC Barcode

25

Pharmacode

Pharmacode a.k.a. Pharmacode Laetus, Pharmaceutical Binary Code

26

Planet

PLANET a.k.a. USPS PLANET Barcode, USPS Confirm Service Barcode

27

Postnet

POSTNET a.k.a. USPS POSTNET Barcode, USPS POSTal Numeric Encoding Technique Barcode, Delivery Point Barcode (DPBC), Postnet 3 of 5

28

Pzn

PZN a.k.a. Pharma-Zentral-Nummer, Pharmazentralnummer, Code PZN, CodePZN

29

RoyalMail

British Royal Mail 4-State Customer Barcode a.k.a. RM4SCC, RoyalMail4SCC, British Royal Mail 4-State Customer Code and Royal Mail Barcode

30

RoyalTpgPostKix

Royal TPG Post KIX 4-State Barcode a.k.a. Kix Barcode, Klantenindex (client index) Barcode, Dutch KIX 4-State Bar Code, Dutch KIX, TPG KIX, and TPGPOST KIX

31

Scc14

SCC-14 a.k.a. Shipping Container Code, EAN/UCC 14, DUN-14, EAN-14, UCC-14, UPC Case Code, UPC Shipping Container Code, Distribution Unit Number 14, SCC14, DUN14, EAN14, UCC14, EAN/UCC-14, Despatch Unit Number 14, GTIN-14

32

SingaporePost

Singapore 4-State Postal Code Barcode a.k.a. Singapore 4-State Postal, SingPost 4-State, and SingPost Barcode

33

Sscc18

SSCC-18 a.k.a. UPC-128 Shipping Container Code, Code 128 UPC Shipping Container Code, Serial Shipping Container Code, UCC-128, EAN-18, NVE (Nummer der Versandeinheit)

34

SwissPostParcel

Swiss PostParcel Barcode a.k.a. SwissPost Parcel Barcode, Switzerland Post Parcel Barcode

35

Telepen

Telepen a.k.a. SB Telepen

36

UccEan128

UCC/EAN-128 a.k.a. EAN-128, UCC-128, USS-128, GS1-128, UCC.EAN-128, GTIN-128

37

UpcA

UPC-A a.k.a. Universal Product Code version A, UPC-A Supplement 5/Five-digit Add-On, UPC-A Supplement 2/Two-digit Add-On, UPC-A+5, UPC-A+2, UPC Code, UPC Symbol, GTIN-12, GS1-12

38

UpcE

UPC-E a.k.a. Universal Product Code version E, UPC-E Supplement 5/Five-digit Add-On, UPC-E Supplement 2/Two-digit Add-On, UPC-E+5, UPC-E+2, UPC-E0, E0, UPC-E1, E1, GTIN-12 with lead 0, GS1-12

39

UspsFim

USPS FIM a.k.a. Facing Identification Marks, FIM A B C D

40

UspsHorizontalBars

USPS Horizontal Bars

41

UspsOneCode4CB

USPS OneCode 4-State Customer Barcode a.k.a. OneCode 4CB, USPS 4CB, 4-CB, 4-State Customer Barcode, USPS OneCode Solution Barcode

42

UspsPicUccEan128

USPS PIC UCC/EAN-128 a.k.a. USPS Package Identification Code, USPS Confirmation Services Tracking Number Barcode

43

UspsSackLabel

USPS Sack Label Barcode a.k.a. USPS 25 Sack label

44

UspsTrayLabel

USPS Tray Label Barcode a.k.a. USPS 25 Tray label

Example:

The following Example: shows a ticket with two possible 1D-barcode layouts. The @I command in the ticket layout refers to the 1D barcode layout via the id attribute in the barcode1D element. The ticket below will use the barcode1D element with id=”1” and the resulting barcode will contain the text “Expiry date:” and the value of the expiry date in the form of year, month and day. Note that only variables like the @v0 command and text can be entered in the code attribute of the barcode1D element.

</TICKET ticketId="0" height="300" width="380" orientation="Landscape" layout="Paid amount: @v0 @I1">
  <margin left="25" right="0" top=”0" bottom="0"/>
  <barcodes>
    <barcode1D id=“0” code=”@v466@v467” />
    <barcode1D id=”1” code=”Expiry date: @v113@v14@v15” />
  </barcodes>
</TICKET>

Example:

<barcode1D id="2" code="Current year: @v104" symbology="4"/>

The above Example uses symbology number 4, which is Code39