Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

HTML to PDF automatic conversion

ebmaurerebmaurer Member Posts: 2
Hi,

Anybody knows a script or function to convert automatically online a html page to pdf?

Should be like this: I have a online reservation system where clients receive at the end the reservation voucher in html style. I would like to have shown instead of the html page a pdf voucher document.

How can I do this?

Thanks
«1

Comments

  • JonathanJonathan Member Posts: 2,914
    Hi,

    : Anybody knows a script or function to convert automatically online a
    : html page to pdf?
    :
    If you're willing to cough up some cash then:-

    http://www.suite101.com/article.cfm/perl/108695

    Also, search.cpan.org with search for HTML PDF gives some interesting results, such as
    http://search.cpan.org/~autrijus/PDF-FromHTML-0.12/lib/PDF/FromHTML.pm

    Rather than going from HTML, you might consider a PDF template that you just fill in; this module helps with that.
    http://search.cpan.org/~larslund/PDF-Reuse-0.33/Reuse.pm

    Jonathan

    ###
    for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
    (tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
    /(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");

  • rtrrtr Member Posts: 3
    Another solution:

    import officetools.OfficeFile;
    ...
    FileInputStream fis = new FileInputStream(new File("test.html"));
    FileOutputStream fos = new FileOutputStream(new File("test.pdf"));
    OfficeFile f = new OfficeFile(fis,"localhost","8100", true);
    f.convert(fos,"pdf");

    All possible convertions:
    html --> pdf
    doc --> pdf, html, txt, rtf
    xls --> pdf, html, csv
    ppt --> pdf, swf
    from dancrintea.ro/html-to-pdf/
  • fchivufchivu Member Posts: 4
    You can try the [link=http://www.winnovative-software.com]html to pdf[/link] converter from http://www.winnovative-software.com. You can build a simple web service with the development library and call that html to pdf web service from any application.
  • fchivufchivu Member Posts: 4
    You can try the [link=http://www.winnovative-software.com]HTML to PDF converter[/link] from http://www.winnovative-software.com . It's a .NET library but you can easily create a web service to call from your PHP application.
  • ppantppant Member Posts: 5
    [size=2]You can also try WKHTMLTOPDF
    http://code.google.com/p/wkhtmltopdf/
    This is open source and also supports CSS. It can be easily called through Perl as a batch process and perl script can be run through cron.

    [/size][color=Green][/color]
  • ppantppant Member Posts: 5
    This post has been deleted.
  • inman2787inman2787 Member Posts: 1
    I recommend this converter to you. ([link=http://www.softwarebbs.com/wiki/4Videosoft_PDF_to_HTML_Converter]PDF to HTML Converter[/link])
    Convert your PDF files to HTML using the PDF to HTML converter and easily integrate resulting HTML files in your existing web site structure.
    How interesting...

    Maybe I can actually do some of the crazy things I get handed!

    Suhweet.
  • fchivufchivu Member Posts: 4
    try this [link=http://www.evopdf.com]HTML to PDF[/link] converter.
  • lotusverylotusvery Member Posts: 3
    I've heard there are some PDF converter program that can convert any formats related to PDF, you may search the internet and get what you want. and if you have finished it, you can change your PDF files into a flash book with the Kvisoft flip book software for easier reading: http://www.kvisoft.com/flipbook-maker/
  • lotusverylotusvery Member Posts: 3
    I've heard there are some PDF converter program that can convert any formats related to PDF, you may search the internet and get what you want. and if you have finished it, you can change your PDF files into a flash book with the Kvisoft flip book software for easier reading: http://www.kvisoft.com/flipbook-maker/
«1
Sign In or Register to comment.