Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: pdf tagging using barcodes
Started by cheedallarajesh at 11-07-2008 17:15. Topic has 3 replies.

Print Search « Previous Thread Next Thread »
  11-07-2008, 17:15
cheedallarajesh is not online. Last active: 12/16/2008 5:25:30 PM cheedallarajesh

Not Ranked
Joined on 11-06-2008
Posts 5
pdf tagging using barcodes
Reply Quote
Hi, I am trying to find a way to tag pdf documents with 2D Datamatrix barcode (on each page of the pdf document) so that when we get the pdf back from our clients thru fax (pdf printed and signed by our clients) then we can read the barcode and route it accordingly.

We are evaluating LeadTools pro for this. I am able to generate datamatrix barcode. But the code I was trying generates inconsistence rasterimage and barcode in it. I created a Raster Image using following code:
 RasterImage image = new RasterImage(RasterMemoryFlags.Conventional, 500, 500, 1, RasterByteOrder.Bgr, RasterViewPerspective.TopLeft, null, IntPtr.Zero, 0);
         
As the width/height is 500/500 and the barcode that I create using dynamic text varies in size and the resulted image looks pretty bad (a small portion of the image is barcode and rest is black).

Is there a way to create barcode image and insert into pdf document? If I could get a sample C# code would be much appreciated, or atleast point me to where to look for help.

Thanks,



   Report 
  11-09-2008, 11:38
Yasir Alani is not online. Last active: 11/16/2008 11:29:23 AM Yasir Alani



Top 10 Posts
Joined on 02-05-2007
Posts 311
Re: pdf tagging using barcodes
Reply Quote
I am not sure that I fully understand what you are doing.

How are you writing the barcode to the PDF file? Adding a new page to the file with the barcode? Or are you writing the barcode on one of the existing pages?

Please note that you cannot modify (inserting pages or modifying them) a PDF file that was not created using LEADTOOLS.
Yasir Alani
LEADTOOLS Technical Support
support@leadtools.com
   Report 
  11-10-2008, 10:26
cheedallarajesh is not online. Last active: 12/16/2008 5:25:30 PM cheedallarajesh

Not Ranked
Joined on 11-06-2008
Posts 5
Re: pdf tagging using barcodes
Reply Quote
I just want to add barcode to existing pdf document (one barcode on each page) which are not generated using lead tools.

   Report 
  11-11-2008, 7:59
Yasir Alani is not online. Last active: 11/16/2008 11:29:23 AM Yasir Alani



Top 10 Posts
Joined on 02-05-2007
Posts 311
Re: pdf tagging using barcodes
Reply Quote
This is possible, but you will need to load the PDF using LEADTOOLS, add the barcode, then save it to a new PDF file.

The resulting file will contain all-bitmap pages. This means if the original had searchable text or drawing objects, they will all be converted to raster bitmap pixels when loaded into LEADTOOLS. The PDF plug-in that works with our imaging toolkits only saves raster (bitmap image) PDF.

If you face problems with that, can you send me a sample PDF file along with the barcode string you want to add to it? You can post it here, or if you don't want to post the file here, send it to support@leadtools.com and mention this forum post. Please put the file in a ZIP or RAR file before posting or sending it.

Yasir Alani
LEADTOOLS Technical Support
support@leadtools.com
   Report 
Post
LEAD Support Fo... » LEAD/Axtel Barc... » Barcode » Re: pdf tagging using barcodes

Powered by Community Server, by Telligent Systems