We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

HTML to PDF with Barcode

Is it possible to include a Code39 barcode inside of an HTML to PDF conversion?  In another product that we replaced with Essential Studio, we were able to specify the font in CSS and the barcode would show in the final PDF.  Any way to do that with Essential Studio PDF on ASP.Net?  I would prefer not to create the barcode as an external image.

Thanks,
Bryan

8 Replies

PH Praveenkumar H Syncfusion Team May 16, 2013 07:07 AM UTC

Hi Bryan,

Thank you for using Syncfusion products,

Currently we are not supporting this feature , 

We have logged this as a feature request in our database.

We will implement this feature in any of our upcoming releases. We usually have an interval of at least three months between releases. The feature implementation would also greatly depend on the factors such as product design, code compatibility and complexity. We will update you when this feature has been implemented.

Please let us know if you have any concern,

With Regards,
Praveen




NO noodle June 26, 2013 03:12 AM UTC

 Im currently working barcode creating in C#.NET. with the support of barcode generating lib .It is possiable to integrate the feature described above in Essential Studio PDF with the support of barcode generating lib?

Forgive my noob question.


PH Praveenkumar H Syncfusion Team July 2, 2013 04:24 AM UTC

Hi Noodle,

Thank you for using Syncfusion products,

It is not possible to integrate the feature using given libraries 

Because we have to place the Barcode into pdf while converting Html to PDF . but the given library can create the barcode as image after we have to place image into final pdf.

Please let us know if you have any concern.

With regards,
Praveen


MA mariah August 23, 2013 06:36 AM UTC

i've never try to add barcode to pdf, but i've created code 39 in asp.net for my program, is it helpful for you?


MA mariah August 23, 2013 06:38 AM UTC

sorry,this one code 39 barcode


PH Praveenkumar H Syncfusion Team August 26, 2013 04:20 AM UTC

Hi Mariah,

Thank you for your update,

With Regards,
Praveen


ER Eric Rosenblum January 20, 2014 08:31 PM UTC

I don't have a code sample, but could you not add a textbox form field with the code 39 barcode font and then flatten the form?

So basically,
  1. Import HTML to PDF
  2. Add text box field to PDF
  3. Set Font and value of filed
  4. Flatten PDF with bar code.






PH Praveenkumar H Syncfusion Team January 26, 2014 02:44 PM UTC

Hi Eric,

Thank you for your update,

We can add the barcode after conversion of Html to pdf.

 PdfCode39Barcode barcode = new PdfCode39Barcode();
            // Setting height of the barcode
            barcode.BarHeight = 45;
            barcode.Text = "CODE39$";

Please find attached sample project.

Please let us know if you need further assistance.

With Regards,

Praveen



html_to_pdf_68069bf6.zip

Loader.
Live Chat Icon For mobile
Up arrow icon