| |
   
Morovia.com Home | Fonts | Components | Labeling | Library | Order | Forum
  Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
Linear symbologies
 Community Forum : Linear symbologies
Subject Topic: SSCC 18 Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
ivoke01
Newbie
Newbie
Avatar

Joined: March 11 2004
Location: Belgium
Posts: 2
Posted: March 11 2004 at 12:08pm | IP Logged Quote ivoke01

Wich barcodefont do i need to use to create an sscc18 in this format:

(00)12345678901234567(*)

and how do I apply it?

* this is how I calculate the checkdigit in VB

<<<< Generate MOD 10 check digit >>>>
     Factor = 3
     weightedTotal = 0
     StringLength = Len(sscc18)
     For i = StringLength To 1 Step -1
    'Get the value of each number starting at the end
          CurrentCharNum = Mid(sscc18, i, 1)
    'multiply by the weighting factor which is 3,1,3,1...
    'and add the sum together
          weightedTotal = weightedTotal + CurrentCharNum * Factor
    'change factor for next calculation
          Factor = 4 - Factor
     Next i
'Find the CheckDigit by finding the smallest number that = a multiple of 10
     i = (weightedTotal Mod 10)
     If i <> 0 Then
          CheckDigit = (10 - i)
     Else
          CheckDigit = 0



Edited by ivoke01 on March 11 2004 at 12:10pm
Back to Top View ivoke01's Profile Search for other posts by ivoke01
 
viceroy
Newbie
Newbie


Joined: July 13 2003
Location: Canada
Posts: 9
Posted: March 11 2004 at 4:34pm | IP Logged Quote viceroy

If you do NOT want to display human readable, please choose 'MRV Code128m' font.

If you want human readable to be displayed, you may choose 'MRV Code128cMA' typeface. The trailing letter 'A' means with human readable.

 

If you want to print barcode with highter aspect ratio, please choose font name ending with 't' or 'xt'.

like 'MRV Code128t'  'MRV Code128xt'

 

 

 

Back to Top View viceroy's Profile Search for other posts by viceroy
 
KennyZ
Newbie
Newbie
Avatar

Joined: July 30 2004
Location: United States
Posts: 1
Posted: July 30 2004 at 8:22am | IP Logged Quote KennyZ

ivoke01 wrote:

'Find the CheckDigit by finding the smallest number that = a multiple of 10
     i = (weightedTotal Mod 10)
     If i <> 0 Then
          CheckDigit = (10 - i)
     Else
          CheckDigit = 0

How about "CheckDigit = (10 - (weightedTotal Mod 10) ) Mod 10"

Thanks for the help!  I really liked the "factor = 4 - factor".

Kenny

Back to Top View KennyZ's Profile Search for other posts by KennyZ
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.3281 seconds.