Quicklabel Designer Pro Uživatelský manuál Strana 164

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 194
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 163
- 164 -
3. Intherightsideofthedialogboxselectalreadyprepareddataconnectionorcreateanew
one.
4. OnceyouhavetheODBCdataconnectionprepared,selectitandclosethedialog.
5. Thefieldsfromtheselecteddatabasecannowbeusedonthelabel.
Creating Custom Check Digit
Creating Custom Check Digit
Youcanaddneworeditanddeleteexistingalgorithmsbyclickingappropriatebuttons.Algorithm's
parametersaredefinedinEditalgorithmdialogbox,whichhasfollowingoptions:
Editingcheckdigitalgorithm
Tounderstandallparameters,youmustknow,howcheckdigitiscalculated.Firstofall,wemust
haveanumericvalueandontopofthatthecheckdigitwillbecalculated.Ifweightsarerequired,
wewillneedthemaswell.Let'slookatEAN13checkdigitcalculation:
Value:123456789012
Weights:1,3
Whenstartingcalculating,eachdigithasitsweight.Whenonlytwoweightsarespecified,thethird
digitgetsthefirstweight,theforththesecond,andsoon.Ifonlyoneweightisspecified,alldigits
havethesameweight.AccordingtoSumdetermination,wecanuseweights(sumoftheproducts)or
not(sumofthedigits).EAN13algorithmusesproducts,sowedefineSumoftheproducts.
Thesumis:1+2×3+3×1+4×3+5×1+.....+2×3
Whenthesumiscalculated,wetakemodulusparameteranddividethesumwiththatnumberand
remembertheremainderofdivision.Thiscanalreadybetheresult.
IfResultcomplementedisspecified,wesubtracttheresultfrommodulusandsowegetthenew
value.Whenthisvalueislessthan10,wealreadygotcheckdigit.Ifitisgreatervalue(twodigits),
wetakethewholevalueorjusttheleastsignificantdigit(Onedigitonly)astheresultofcheckdigit
algorithm.
Zobrazit stránku 163
1 2 ... 159 160 161 162 163 164 165 166 167 168 169 ... 193 194

Komentáře k této Příručce

Žádné komentáře