i have a problem with barcode as CODE128 and a FNC3.
i will create barcodes what start with FNC3, how i can do this with your libs?
Can you show me a smal example?
Your PrintBarcode and PDFBarcode Library are really great! Thanks for making them available.
However, I believe there is a bug regarding CODE128. I'm unable to use space characters in my text, but its possible for CODE39.
Example CODE128 AUTO - space not included, missing:
[code]
chars_cm.f= 1.4652
pdf_Create("P","mm","1700.99,566.99")
pdf_AddPage()
pdf_SetFont("Arial","",20)
w.f=pdf_Barcode_Code128(10,40,"THIS IS A TEST",40,chars_cm.f,#PDF_TEXT_TOP|#PDF_TEXT_RIGHT,0.2,1,#PDF_BARCODE_CODE128_AUTO)
pdf_Text(20,80,barcode$)
Define File$="Tutorial01 Barcodes.pdf"
pdf_Save(File$)
RunProgram(File$)
[/code]
Example CODE39 - same code, but space is visible:
[code]
chars_cm.f= 1.4652
pdf_Create("P","mm","1700.99,566.99")
pdf_AddPage()
pdf_SetFont("Arial","",20)
w.f=pdf_Barcode_Code39(10,40,"THIS IS A TEST",40,chars_cm.f,#PDF_TEXT_TOP|#PDF_TEXT_RIGHT,0.2,1,#False)
pdf_Text(20,80,barcode$)
Define File$="Tutorial01 Barcodes.pdf"
pdf_Save(File$)
RunProgram(File$)
[/code]
In addition, I believe that the error? for CODE128 not accepting space also makes the checksum wrong.
The barcode graphics does not look the same if using other alternative barcode programs/web plugins with the same CODE128 and set to AUTO.
I hope the libs gets updated, in fact, because of the CODE128 error I reported, I had to use external Zint Barcode Generator (batch files and some tricks) to create barcodes instead in my "not final yet" project here at work.
VectorLib idea seems like an interresting approach!
The vector lib is looking very good for the job, works great in fact. I think using GDI+ would probably be equal for this purpose.
I knew nothing about bar codes before and they are an oxymoron - in essence very easy but there is a lot of detail needed to meet the required standards.