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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

HTML to PDF with Barcode

Thread ID:





108747 May 9,2013 05:15 PM UTC Jan 26,2014 02:44 PM UTC ASP.NET Web Forms (Classic) 8
Tags: PDF
Bryan Lewis
Asked On May 9, 2013 05:15 PM UTC

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.


Praveenkumar H [Syncfusion]
Replied On 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,

Replied On 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.

Praveenkumar H [Syncfusion]
Replied On 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,

Replied On 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?

Replied On August 23, 2013 06:38 AM UTC

sorry,this one code 39 barcode

Praveenkumar H [Syncfusion]
Replied On August 26, 2013 04:20 AM UTC

Hi Mariah,

Thank you for your update,

With Regards,

Eric Rosenblum
Replied On 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.

Praveenkumar H [Syncfusion]
Replied On 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,




This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon