Create PDF from web page

crud3w4re's Avatar
Newbie Member
The programmer should be familar with C++ / C, Java, Perl, PHP, Linux

I want a command line utility that will create a PERFECT PDF from a URL. There are many open source tools and libraries available, but none of them will create a PDF that LOOKS THE SAME AS WHAT YOU SEE IN A BROWSER.

THE PDF MUST LOOK JUST LIKE THE BROWSER.

This means that the tool must understand HTML, CSS 2.0, Frames, etc...

One suggestion I received was to pull the rendering engine from Mozilla and wrap some code around it so that it can be called from the command line.

We will use a perl script to pass a single URL or a list of URLS and the name of the output file to your program. The program needs to then fetch the web pages, fetch the stylesheet, fetch the images, and render the PDF to a file. (If more than one URL is given, the each URL starts on a new page. Long web pages can span more then one page in the PDF.)

Another application is to have the program work as a web service. When the user of our website clicks a button, the program will be passed the URL as a CGI variable and needs to just return the PDF data so that it is downloaded to the users desktop.

To summarize.

1) From command line - receive URL or URLs and output filename. Create perfect PDFs from the URL or URLs and save to file.

2) Be availbe to be called from PHP or CGI so that the PDF is streamed back as download to t he browser.

We ENVIRONMENT IS LINUX, APACHE, PERL, C++, JAVA, AND PHP

I'm running Linux on a remote server.

My budget is around $100-$175 area
0
coolwin173's Avatar, Join Date: Feb 2008
Go4Expert Member
still there are openings