Printing barcodes from Navision

scott
Member Posts: 76
I could print barcodes from Navsion using both 3 of 9 and 128 fonts, but I could not read 128 barcodes using my WandReader, even if I added * to the beginning and the end of the data. 3 of 9 barcodes could be read but they don't look good. The height is too short and the width is too long.
Please help.
Please help.
0
Comments
-
I was able to use codeunit to calculate checksum character and add prefix and sufix for code 128 barcodes, and the barcodes were successfully printed and read by WandReader.
Code 128 is much more dense than code 39, but I am still not able to control the height and the width, indepent of each other. It is limited to the fonts available. I really want to strech the height of the barcodes as much as possible for easy readability.
What should I try next?0 -
Code 128 & Code 3of9 differ significantly in their structure. 3of9 uses the * as the start and stop symbol so it simply becomes a matter of taking the string you want to encode, calculate the optional checksum character if necessary and then sticking a * and either end.
Code 128 on the other hand has three different start codes depending on which mode you are using (A=alphanumeric & control characters, B=alphanumeric with lower case letters, C=double density numeric only). To make matters worse, you can even mix these modes within one barcode to reduce the length. Fortunately, there is only one stop code but it is different to the start codes.
The width of the bars/spaces in relation to each other is fixed by the barcode specification (e.g. in 3of9 the thick elements must be between 2.2 & 3 times the width of the thin elements). I assume that you are using a TrueType font so the width/height ratio is fixed. As the width increases, the height remains in the same proportion.
I suggest that you simply print the same barcode twice immediately above each other. Most barcode fonts come with and without human readable characters underneath. Use the non human readable one for the upper code and they should look like one continuous code.
If you are using fonts from Datascan (www.datascan.co.uk) then I have a codeunit that can do all the string coding, checksum calcs etc.
Cheers,
John0 -
John,
Your suggestion of simply printing the same barcode twice immediately above each other is a briliant idea. It is really simple and should work.
Thank you very much.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