2022.2

Table Of Contents
l
None:Thebarcodeisrenderedbasedonthemodulewidth.
l
Proportional:Thebarcodeisstretcheduptowhereitfitseitherthewidthorheightoftheparent
box,whicheverrequiresthelessstretching.
Tilde processing
Checkthisoptiontoprocesstilde(~)charactersinthedataasspecialcharacters.(SeetheJava4less
BarcodesGuidetolearnwhatthetildecharactercanbeusedfor.)
Thetildeisexpectedtobefollowedbythe'd'characterand3digitsrepresentinganASCIIcharacter:
~dNNN.Forexample,~d013representsacarriagereturn.
Notethatwiththisoptionchecked,anytildethatneedstobeincludedintheoutputmustbeescapedby
addinganothertilde:~~.
Color
TheColorgroupallowsyoutochooseadifferentBarcodecolor(insteadofblack)andBackground
color(insteadofwhite),bytypingahexadecimalcolorvalue(seeforexamplew3school'scolorpicker).
WhenblackisacompositeofCMYKorRGBvalues,itmayincuracolorclickchargeonsomeprinters.
ChecktheOutput in Grayscaleoptiontomakesurethatpureblackisused.
Output format
Defineshowthebarcodeisoutputonthepage.Therearetwopossibleformats:
l
SVG:Vectorformat.Thisisusuallyofhigherquality,butmaytakelongertogenerateandisnot
compatiblewithEmailoutput.
l
PNG:Binaryrasterizedformat.ThishasaslightlylowerqualitythanSVGbutisusuallygen-
eratedfasterandwilldisplayproperlyinEmailoutput.
Barcode Data
QRCodescanhavemanydifferenttypesofdata,whichdetermineshowthecodewillbegenerated.On
topofjuststraightforwarddata,specialdatastructuresareusedtotriggeractionsonthedevicethat
readsthem.Thiscanincludecontactcards,phonenumbers,URLs,emails,etc.
TolearnmoreaboutthespecificationsofthedifferentQRcodetypes,seetheZXingProjectbarcode
contentspage.
RoyalMail2DMailmark
RoyalMail2DMailmarkisoneofthetypesofbarcodesthatcanbeaddedtoatemplate;see"Barcode"
onpage175.
Page 215