Mod to CU for EAN 8/13 Code 39/128 Barcode Creator v1.5

Administrator
Member, Moderator, Administrator Posts: 2,506
Mod to CU for EAN 8/13 Code 39/128 Barcode Creator v1.5
This upload contains a modified codeunit to address the speed issue with printing multiple barcodes.
Thanks to Stijn Bossuyt and Igor Pchelnikov for their contributions.
http://www.mibuso.com/dlinfo.asp?FileID=1456
Discuss this download here.
This upload contains a modified codeunit to address the speed issue with printing multiple barcodes.
Thanks to Stijn Bossuyt and Igor Pchelnikov for their contributions.
http://www.mibuso.com/dlinfo.asp?FileID=1456
Discuss this download here.
0
Comments
-
I just tested this out on 2 classic client databases (5.01 and 2009 SP1) encoding 2 barcodes each with 12 characters in Code 39/128 respectively but the client crashes instantly after starting the report. The original "slow" version works fine.Kai Kowalewski0
-
The same happened on my 2009 R2 Client0
-
with the following Version it works:
CreateBarcodeDetail(pintLines : Integer;pintBars : Integer;pintSize : Integer;pblnVertical : Boolean;VAR poutBmpHeader : OutStream) IF pblnVertical THEN BEGIN FOR lintBarLoop := 1 TO (bxtBarcodeBinary.LENGTH) DO BEGIN FOR lintLineLoop := 1 TO (pintLines * pintSize) DO BEGIN bxtBarcodeBinary.GETSUBTEXT(ltxtByte,lintBarLoop,1); IF ltxtByte = '1' THEN lchar := 0 ELSE lchar := 255; poutBmpHeader.WRITE(lchar,1); poutBmpHeader.WRITE(lchar,1); poutBmpHeader.WRITE(lchar,1); END; FOR lintChainFiller := 1 TO (lintLineLoop MOD 4) DO BEGIN //Adding 0 bytes if needed - line end lchar := 0; poutBmpHeader.WRITE(lchar,1); END; END; END ELSE BEGIN CLEAR(_bt); FOR lintBarLoop := 1 TO bxtBarcodeBinary.LENGTH DO BEGIN bxtBarcodeBinary.GETSUBTEXT(ltxtByte,lintBarLoop,1); IF ltxtByte = '1' THEN lchar := 0 ELSE lchar := 255; FOR lintSize := 1 TO pintSize DO BEGIN // add pixel: black or white // Original //_bt.ADDTEXT(FORMAT(lchar)); //_bt.ADDTEXT(FORMAT(lchar)); //_bt.ADDTEXT(FORMAT(lchar)); _bt.ADDTEXT(FORMAT(lchar,1)); _bt.ADDTEXT(FORMAT(lchar,1)); _bt.ADDTEXT(FORMAT(lchar,1)); END END; // add 0 bytes if needed - line end lchar := 0; FOR lintChainFiller := 1 TO ((lintBarLoop* pintSize) MOD 4) DO // _bt.ADDTEXT(FORMAT(lchar)); Original _bt.ADDTEXT(FORMAT(lchar,1)); // write to outstream FOR lintLineLoop := 1 TO pintLines * pintSize DO _bt.WRITE(poutBmpHeader); // AP0001 << END;
0 -
Hello all,
I've used this barcode creator to print Code128 barcodes.
In NAV2013 I get an image with grey backcolor, which cannot be read by the scanner.
The exact same codeunit in NAV2009R2 classic client generates the correct image (with white backcolor).
Does anyone know why this is happening in NAV2013? Anyone found a solution to this issue?
It is not only with this barcode creator, actually. I've tried some other barcode generatos that I've found here at mibuso and the same happens to all of them (the ones I have tried at least).0 -
Hi crisnicolas,I've used this barcode creator to print Code128 barcodes.
In NAV2013 I get an image with grey backcolor, which cannot be read by the scanner.
I have the same problem.
Did you find a way to solve this?
Thanks for your help.0 -
Not yet0
-
see here viewtopic.php?t=42229, last reply says set it to 1600
-
Hi,
We are using this tool to generate Code 128 barcodes for jewellery tags. Client is using NAV 2009 Sp1 Classic.
We are converting barcodes to print in Picture box.
Now we are facing issue while scanning the barcodes.
The barcode on tags is very small (3cm * 1cm tag size).
We are passing pintsize - 1 and barcode contains 14 digit.
Please let us know how we can reduce font size for barcode to adjust in tag.
For barcode with 4-5 characters(alpha numeric) scanner is working.
Any help would be appreciated.
Many Thanks
HemRegards,
Hemant
They can conquer who believe they can.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