joja65 Posted January 31, 2011 Share Posted January 31, 2011 Hello all,I am developing a label for a customer who uses PDF417 barcode.I am only able to create such a barcode using the Barcode4J library (2.0), because that on is also supported within our WMS ireport runtime environment.However, when I scan the barcode I see that some data fields are not returning proper values.Basically: this is what I put in (|| are concatenate marks for Oracle, CHR(29) is the field separator, CHR(30) = format trailer).This string is exactly as specified in theCustomer's report specs.CHR(91) || CHR(41) || CHR(62) || CHR(30) || '06' || CHR(29) || '12S'|| 'GTLVWAG01' || CHR(29) || '2L' || '22' || CHR(29) || '1L' || '01E75' || CHR(29) || '1J' || 'UN049977473123456789' || CHR(29) || 'P' || ' 3A0 867 212 AH DNX' || CHR(29) || 'Q' || '1234567' || CHR(29) || 'B' || '006428' || CHR(29) || 'V' || '012874920' || CHR(29) || '12S'|| '12345678' || CHR(29) || '1T'|| '1234567890' || CHR(29) || CHR(30) || CHR(4) And this is what I scan:[)>0612SGTLVWAG012L221L01E751JUN049977473123456789P 3A0 867 212 AH DNXQ12345671AAGECIV012874920BC$BCDEFGHI1T1234567890So basically, the3 data field marked in red, after the green marked Q field (starting with B, V and 12S identifiiers) go wrong.When I change the order of the fields, f.i. put the 1T field after the Q field, this field goes wrong in exactly the same way. So it scans exactly the same "rubbish" for the 3 fields after the Q and the last field is Ok again. I already expirimented with different error level settings etc, but the result is always the same.Since I am new to this barcode and never used it: does anyone have any clue what is going on or what I can do to resolve it?I also included the code for the PDF417 element.Thanks for any help!Jos Janssen Code: Post Edited by joja65 at 02/01/2011 11:47 Link to comment Share on other sites More sharing options...
devhammer Posted August 11, 2011 Share Posted August 11, 2011 Hi,We have the same problem that the pdf417 result is corrupted when using RS and GS in the expression.Does anybody have an advice meanwhile?Thanks and regards. Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted August 11, 2011 Share Posted August 11, 2011 This seems to be a Barcode4J specific problem, did you try to the barcode4j developers? giulio Link to comment Share on other sites More sharing options...
devhammer Posted August 11, 2011 Share Posted August 11, 2011 Hi Giulio,It really seems to be a barcode4j error:http://sourceforge.net/tracker/?func=detail&aid=2804024&group_id=96670&atid=615504Fixed in the new release 2.1.Thanks and best regards. Link to comment Share on other sites More sharing options...
keepdynamic Posted May 2, 2012 Share Posted May 2, 2012 try this PDF417 barcode generator Link to comment Share on other sites More sharing options...
jjiusdhi Posted May 24, 2013 Share Posted May 24, 2013 I have a pdf 417 generator and reader, just share pdf 417 generating source code in .net c# with all.public static void CreatePDF417(REImage reImage) { PDF417 barcode = new PDF417();//create a pdf417 barcode barcode.Data = "123456789";//set barcode data barcode.X = 2.0F; barcode.XtoYRatio = 0.5F; barcode.Resolution = 96; barcode.Rotate = Rotate.Rotate0; barcode.DrawBarcode(reImage, 300, 450);//draw barcode on REImage with location x and y } Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now