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

Exact Format shuould applied when converting html to pdf

Hi,

When converting HTML to pdf,I need to apply same format of html i.e pagemargins,fonts,header size,footer font,footer size.


3 Replies

BP Bhuvaneswari P Syncfusion Team December 20, 2008 06:44 AM UTC

Hi Mathi,

Thank you for your interest in Syncfusion products.

I am afraid that I am unable to reproduce the issue since we are converting the HTML page into image then importing the image into the PDF document. So it should same as like HTML page.

The way it works:
HTML pages can be imported to PDF with the help of HtmlConverter which converts the HTML web page to image of type Bitmap or Metafile using MSHTML. MSHTML is a rendering library to render HTML documents.

Could you please provide your HTML page, IE version and Essential Studio version to produce the issue in our end, so that we can investigate more on this issue and provide a solution?

Best Regards,
Bhuvana




RA rajesh December 24, 2008 03:38 AM UTC

Hi Bhuvana,

Please copy the belows to notepad and save it as .html than convert it to pdf Format.

Coming to your regarding Versions

I.E 6.1
Syncfusion:5.1.1.47
----------------------------------------------










Sales Order---Locker








Girraj Inc.
1825 Walnut Hill Lane

Suite 110

Irving, London 75038

USA

Sales Order---Locker 









Order Date: 12/16/2008
Vendor Account Number: Carlsbad







Sell To:

24 Hour Fitness

Mike Teese

POB 2409

Carlsbad, California 92018

USA

Tel: 972-567-8474

Fax: 888-768-9849

Ship To:

24 Hour Fitness

Mike Teese

POB 2409

Carlsbad, California 92018

USA

Tel: 972-567-8474

Fax: 888-768-9849




We are pleased to submit the following proposal.The order will be fabricated per Hollman architectural specifications and approved elevations.
















Project Name:
Order Type: Standard











Hardware Finish: StandardChrome or Brass












  Quantity   Description   Unit Price   Price   Net Unit Price.   Gross Amount.




 












Applicable Charges: 0.00
Total Estimate: 2.95

 
















































Original Contract (LO-28306): 2.95
Total Contract: 2.95
I here by agree to all the following terms and amounts noted on this quote. I also am aware that this quote overrides all purchase orders and subcontracts unless noted differently in the sales quote.
Accepted by:

_____________________________________
Date:

_________________
Payment Terms: 50% Deposit, 50% at Delivery
(3% charge will apply if paid by credit card.)
Quoted By: Alex Hoang
Salesperson Phone No.: (972) 815-4064
Salesperson Email: alexh@hollman.com

 











----------------------------------------------
Best Regards
Mahesh




GM Geetha M Syncfusion Team December 24, 2008 04:42 AM UTC

Hi Mahesh,

Thank you for the details.

I was able to see the problem with our legacy version of PDF that is 5.1.1.47. But this issue is not reproducible in our new PDF. Could you please consider upgrading to the latest version?

You can get our latest version from the link below:
http://www.syncfusion.com/downloads/latestversion/default.aspx

You can check the output pdf file here.

Regards,
Geetha


Loader.
Live Chat Icon For mobile
Up arrow icon