Barcode PDF417 error

Questions, comments and suggestions concerning VintaSoft Barcode .NET SDK.

Moderator: Alex

Alex
Site Admin
Posts: 2428
Joined: Thu Jul 10, 2008 2:21 pm

Re: Barcode PDF417 error

Post by Alex »

Hi Burhan,

First, please try to generate barcode using our Barcode Demo.
For doing this, please do the following test:
  • Run our Barcode Demo, which you can find in distributive package of SDK
  • Select "Writer" tab
  • In barcode settings panel
    • Select "PDF417" barcode
    • Enter text "[)>01029922384001C00000110001598EMSYAC2011/12LBNABCMIAMIFLABC ABC063Z0111ZABCABC12Z404509699514ZABC15Z3006021Z022Z023Z1234567824Z09K7890" as barcode value
    • See generated barcode image and let me know result
Best regards, Alexander
Alex
Site Admin
Posts: 2428
Joined: Thu Jul 10, 2008 2:21 pm

Re: Barcode PDF417 error

Post by Alex »

Hi Burhan,
Just to clear few things there are 2 api sets available in the lib for to set barcode data either through BarcodeWriter.Settings.ValueItems
OR
BarcodeWriter.Settings.Value.

which one should be used for barcode PDF417 as both are working in POC I created from sample code from SDK.
and in the demo app the EciCharacterEncoder & EciCharacterEncoding are used which one is default for PDF417 barcode.

just need some clarification on above properties as demo app has lots of options that make me wonder which one is default.
The WriterSettings.Value property allows to set the barcode value:
https://www.vintasoft.com/docs/vsbarcod ... Value.html
Property uses optimization algorithm for 2D barcodes to reduce matrix size.

If you want to disable optimization and you know correct value items in barcode value, use the WriterSettings.ValueItems property:
https://www.vintasoft.com/docs/vsbarcod ... Items.html
The WriterSettings.Value property is igonored if WriterSettings.ValueItems property is used.

Please see example for WriterSettings.ValueItems property here:
https://www.vintasoft.com/docs/vsbarcod ... mBase.html

Best regards, Alexander