Barcode code39 space character?

BGI
Member Posts: 176
We are using very frequently the barcode fonts that came along with the old 2.0 version of navision, namely BC C39 3 to 1
I have one problem now, that is how to print a 'SPACE'.
We have a customer with spaces in their item no.s and we want to print a barcode with this space in it, but for the momen it prints really a blanc space in the barcode, and this is not readable for the barcodescanner...
Any suggestions(apart from removing the space in the no., because this is not an option...)
I have one problem now, that is how to print a 'SPACE'.
We have a customer with spaces in their item no.s and we want to print a barcode with this space in it, but for the momen it prints really a blanc space in the barcode, and this is not readable for the barcodescanner...
Any suggestions(apart from removing the space in the no., because this is not an option...)
Rgds
Benny Giebens
Benny Giebens
0
Comments
-
The symbology of the Code 39 character set consists of barcode symbols representing characters 0-9, A-Z and the space character plus the following symbols: - , . , $ , / , + , %. In addition, the full 128 ASCII character set can be encoded in Code 39.
It means, space is supported by Code 39, but it seems like your font is using another character for entering the space or have no correct definition for the space...0 -
I'm not familiar with that font face, but I believe what you may find is that a control character exists that prints the space character in barcode without actually outputting a <space> in the actual barcode. You'll need to find replace the space with the control character for the output to be correct.
I don't envy you your task. I fought with a Code 128C barcode last month. It was a tad painful until I got the correct information about the font being used.Kristopher Webb
Microsoft Dynamics NAV Developer0 -
Of course, didn't think about control char.
In fact, it was pretty simple to figure out.
Made a dumy report, with a string + a char + a string.
Then a loop to print all the char's from 1 to 128 in the barcode font, took the scanner and scanned one by one to find out that asci char 44 gives me a space when i read it....
Thnx anyway for the help....Rgds
Benny Giebens0 -
*lol* That's a very interesting way to work out the problem. Congradulations for creative problem solving! Although it sounded like it was a bit of a pain to setup and execute. *hehe*
My issue was with the Code 128C font I was using, each character is actually comprised of three pieces and I needed to know what three pieces made up the two-digit character (00 through 99 plus the special control characters 100 through 105). Each of the characters in the barcode were comprised of three ascii control characters to produce a barcode character. So I needed to use combinations like !'% to get my proper output. Crazy![/u]Kristopher Webb
Microsoft Dynamics NAV Developer0 -
BGI wrote:Of course, didn't think about control char.
In fact, it was pretty simple to figure out.
Made a dumy report, with a string + a char + a string.
Then a loop to print all the char's from 1 to 128 in the barcode font, took the scanner and scanned one by one to find out that asci char 44 gives me a space when i read it....
Thnx anyway for the help....
Hi Benny,
can you please describe it more details how did you do it..
string + a char + a string...
Which Variable Type do you use to output [string + a char + a string]
Regards
Tirta0
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