Find the answer to your Linux question:
Results 1 to 9 of 9
Hi folks, FC3 I'm looking for a software from Open Source converting .html to .pdf. My search found follows; denature-0.6.5 May 27, 2003 HTML_ToPDF - 11-24-2004: Version 3.3. They seem ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,804

    html to pdf converter


    Hi folks,

    FC3

    I'm looking for a software from Open Source converting .html to .pdf. My search found follows;
    denature-0.6.5 May 27, 2003
    HTML_ToPDF - 11-24-2004: Version 3.3.

    They seem a little bid out-of-date. Would you please give me some recommendation. TIA

    Besides I have pdftohtml and ps2pdf running on this box. Are there versatile converters having multiple functions and 2-ways rather than installing several software. Tks.

    BR
    satimis

  2. #2
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    OpenOffice 2.0

    http://openoffice.org
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  3. #3
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,804
    Hi antidrugue,

    Tks for your advice.

    I got it with its old version, opening .html file on OOWriter and exporting it as .pdf file.

    B.R.
    satimis

  4. #4
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    Works very well for me.

    Though I haven't found a way to make those .pdf as small as the original .html, or nearly as small.

    With OpenOffice you can make anything a .pdf, that's a nice feature.
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  5. #5
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,804
    Hi antidrugue,

    Works very well for me.
    It also works fine here. Except some distortion on graphics with text relocated/shifted. It needs further working to get the .pdf file looking excactly same as its original document-.html

    B.R.
    satimis

  6. #6
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    Hum...

    Which version of OpenOffice are you using?

    I'm pretty sure you would get better results with OpenOffice 2.0.

    I haven't had distorsion problem, ever...
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  7. #7
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,804
    Which version of OpenOffice are you using?
    version 1.1.3.

    I haven't upgraded it to version 2.0. Because I'm going to install FC4 on this box to replace the exist FC3.

    satimis

  8. #8
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,407
    I think abiword can do it too.
    Brilliant Mediocrity - Making Failure Look Good

  9. #9
    Just Joined!
    Join Date
    Sep 2007
    Posts
    1

    HTML to PDF Converter for .NET

    I think you can take the HTML to PDF converter library for .NET from HTML to PDF Converter library for .NET 2.0, PDF Merge, PDF Split, PDF Security, RTF to PDF Converter. BarCode for ASP.NET. Chart Control for ASP.NET or from HTML to PDF Converter library for .NET 2.0, PDF Merge, PDF Split, PDF Security, RTF to PDF Converter. BarCode for ASP.NET. Chart Control for ASP.NET. You can be build your own application or you can use the demo one.

    All the conversion can be done in a few lines for C# code:


    // Create the PDF converter. Optionally you can specify the virtual browser
    // width as parameter. 1024 pixels is default, 0 means autodetect
    PdfConverter pdfConverter = new PdfConverter();
    // set the license key
    pdfConverter.LicenseKey = "P38cBx6AWW7b9c81TjEGxnrazP+J7rOjs+9omJ3TUycauK+cL WdrITM5T59hdW5r";
    // set the converter options
    pdfConverter.PdfDocumentOptions.PdfPageSize = PdfPageSize.A4;
    pdfConverter.PdfDocumentOptions.PdfCompressionLeve l = PdfCompressionLevel.Normal;
    pdfConverter.PdfDocumentOptions.PdfPageOrientation = PDFPageOrientation.Portrait;
    pdfConverter.PdfDocumentOptions.ShowHeader = false;
    pdfConverter.PdfDocumentOptions.ShowFooter = false;
    // set to generate selectable pdf or a pdf with embedded image
    pdfConverter.PdfDocumentOptions.GenerateSelectable Pdf = selectablePDF;

    // Performs the conversion and get the pdf document bytes that you can further
    // save to a file or send as a browser response
    byte[] pdfBytes = pdfConverter.GetPdfFromUrlBytes(urlToConvert);

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •