Print the PDF file first and then use the barcode reader like Gunawan
said LOL

If you want to read the barcode from the PDF file without any reader
with your program...I suggest you add numerical string just under the
barcode which represents the content of your barcode which you have
generated. It is much easier to read the numerical form than the
barcode itself.

You can add the numerical text (When you generate the PDF file) under
your barcode for example like this

iTextSharp.text.pdf.Barcode128 code128 = new
iTextSharp.text.pdf.Barcode128();
code128.X = 0.75f;
code128.N = 1.5f;
code128.Size = 10f;
code128.ChecksumText = true;
code128.GenerateChecksum = true;
code128.TextAlignment = Element.ALIGN_CENTER;
code128.Baseline = 10f;
/* Height of the barcode (If I want barcode height to be 1,27 cm.
1,27 cm / 2,54 = 0,5 inch -> 0,5 inch * 72 = 36 points) */
code128.BarHeight = 36f;
code128.Code = strBarcode; // the code from some string variable
code128.CodeType = Barcode128.CODE_C;

Then implement the PDF reader. Which reads the PDF file and finds the
numerical string under the barcode and generates invoice or what
ever ..what you have planned that you barcode represents :)

----
Stefan Brandt
Helsinki, Finland

On 20 touko, 10:01, Gunawan Hadikusumo <[email protected]>
wrote:
> simple.... you just need a barcode reader....LOL
>
> On Wed, May 19, 2010 at 8:24 AM, shree <[email protected]> wrote:
> > Hello folks,
>
> > I am using itextSharp dll and by using this I have created pdf files
> > and also appended Barcode 128 to the pdf file.
> > now I want to read that Barcode from pdf file
>
> > Thanks & Regards,
> > Mr. Shrinivas M.

Reply via email to