2022.2

Table Of Contents
Barcode Data
TolearnmoreaboutthespecificationsoftheSwissQRcode,pleaseseetheSwissPaymentsStand-
ardpage,ordownloadthebarcodespecificationig-qr-bill-en.pdf.
Note: TheSwissQRcodestandarddictatesthatthebarcodedimensionsmustbe46mmby46
mm.Pleasedonotchangethebarcodedimensionsinthe<div>entryasthiswillinvalidatethe
barcode.
UPC-A,UPC-E,EAN-8,EAN-13
UPC-A,UPC-E,EAN-8andEAN-13areafewofthebarcodetypesthatcanbeaddedtoatemplate.
ThebarcodecanbeaddedeitherusingtheBarcodetoolbarbuttonorthroughselectingInsert > Bar-
codeonthemenu;see"AddingaBarcode"onpage175.
Initiallythebarcodewillhavethebarcodetype'sdefaultproperties.Tochangethoseproperties,such
asthescaleandcolor,opentheBarcodepropertiesdialog:right-clickthebarcode(ontheDesigntab
intheWorkspace)andselecttheBarcode...optioninthecontextmenu.
Notethatthesebarcodetypesprocesstildecharactersinthedataasspecialcharacters.SeetheJava4-
lessBarcodesGuidetolearnwhatthetildecharactercanbeusedfor.
Barcode properties
ThistopicliststhepropertiesofthebarcodetypesUPC-A,UPC-E,EAN-8andEAN-13.Fortheprop-
ertiesofotherbarcodetypes,see"Barcodetypeandproperties"onpage177.
Module width
Specifiesthewidthofthenarrowbarsincentimeters.Changingthisvaluetoahighervaluewillmake
thebarcodebiggerwhenScaleissettoNone.
Show guardbars
Checkingthisoptionaddsguardbarstothebarcode.Guardbarsarebarsatthestart,inthemiddleand
attheendthathelpthebarcodescannertoscanthebarcodecorrectly.
Scale
Definesifandhowtherenderedbarcodeisscaledinrelationtotheparentelement:
l
None:Thebarcodeisrenderedbasedonthemodulewidth.
l
Fit to box:Thebarcodeisstretchedtofittheparentboxinbothwidthandheight.
Page 223