2022.2

Table Of Contents
Barcode properties
ThistopicliststhepropertiesofthebarcodetypeCode128.Forthepropertiesofotherbarcodetypes,
see"Barcodetypeandproperties"onpage574.
Module width
Specifiesthewidthofthenarrowbarsincentimeters.Changingthisvaluetoahighervaluewillmake
thebarcodebiggerwhenScaleissettoNone.
Code set
Setofcharacterstobeused:
l
A:ASCIIcharacters00to95(0–9,A–Zandcontrolcodes),specialcharacters,andFNC1–4
l
B:ASCIIcharacters32to127(0–9,A–Z,a–z),specialcharacters,andFNC1–4
l
C:00–99(encodeseachtwodigitswithonecode)andFNC1
InAutomode,thebarcodegeneratorwillautomaticallyselectthecorrectencodingmode(setA,Bor
C)accordingtotheinputdata.
Ifthebarcodestartsasonesubsetandthenswitchestoanother,setCode settowhateverthestarting
setis(notAuto).EnabletheTilde processingoption(seebelow).Atthepositionwherethesubset
switches,addthefollowingtotheinputdata:
l
~d199toswitchtosubsetC
l
~d200toswitchtosubsetB
l
~d201toswitchtosubsetA
Forexample,ifabarcodeintheformatAA123456789muststartassubsetB,andthenswitchtosubset
Cafter1,setthebarcodetobe:AA1~d19923456789.
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.
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:
Page 588