I need a barcode for each items, how to implement

kevin.7710
Member Posts: 40
I need a barcode for each items, it will automatic making a barcode. now I have not idea to deal with, please help. thanks!
0
Comments
-
If you need to print a barcode, I suggest to use 3 of 9 font.
In navision create a report and change the font on the text box to the font.
Then go to sourceexp of the text box and add '*' to the begging and the end.0 -
I used free 3 of 9 and change fontname, then change sourceExpr '*' + "field caption" +'*" but it didn't print barcode. then0
-
kevin.7710 wrote:I used free 3 of 9 and change fontname, then change sourceExpr '*' + "field caption" +'*" but it didn't print barcode. then
And the text must be in uppercase...0 -
I use Code 128 because Code39 can handle fewer informations than Code 128.
With, for example, the font "Code128bWin" you can display your crypted text as barcode. But you must before Crypt your text to code 128. For example with this code:Function Code128(PlainText : Text[250]) BarcodeText : Text[250] //Text as Code128 --> ISO 15417 //CharSet B StartStop[1] := 218; StartStop[2] := 220; CharStart := StartStop[1]; CharStop := StartStop[2]; Sum := 104; FOR i := 1 TO STRLEN(PlainText) DO BEGIN CurrChar := PlainText[i]; Sum := Sum + (i * (CurrChar - 32)); END; CheckSumChar := Sum MOD 103; CASE CheckSumChar OF 0: CheckSumChar := 176; 1..94: CheckSumChar := CheckSumChar + 32; 95..101: CheckSumChar := CheckSumChar + 105; 102: CheckSumChar := 213; END; BarcodeText := STRSUBSTNO('%1%2%3%4',CharStart,PlainText,CheckSumChar,CharStop); EXIT(BarcodeText);
RegardsDo you make it right, it works too!0 -
What do you mean with "fewer informations"? You can code lowercase characters and some special characters in 3/9 too. you just needs to use correct control character before each special char (there is basic 3/9 and extended 3/9 character set...)0
-
I want to convert Item table's No. field, These field contain some upcase characters and some special characters. I install free 3 of 9 font, then I change then fontname to free 3 of 9 ,but it did't display.0
-
The problem can be the "Special characters". You can look e.g. there how to code full ASCII:
http://en.wikipedia.org/wiki/Code_390 -
download this report and font and install the font 128 and import the report. .
Once you've imported the report run and ran it see if you see the font.
http://mibuso.com/blogs/ara3n/2008/04/24/barcode-128b/
It could because of double byte characters.0 -
what i mean with fewer is, than he only support letter (A-Z), numbers (0-9) and some special charachters. But the Code 128 supported more charakters.Do you make it right, it works too!0
-
garak wrote:what i mean with fewer is, than he only support letter (A-Z), numbers (0-9) and some special charachters. But the Code 128 supported more charakters.
As you can see, 3of9 support whole ASCII... ;-)0 -
kevin.7710 wrote:These field contain some upcase characters and some special characters.
What are those special characters you mentioned? Do you mean '-', '/', '\' or some really special characters like control charactes?
If font isn't working for you, check http://www.mibuso.com/forum/viewtopic.php?t=1789&postdays=0&postorder=asc&start=0. We printed document numbers in Code 128 (ASCII and '-') and it worked fine.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions