News for hackers. Stuff that matters.
Re:CreatePDF.in: My two hour website to pdf project by gscott on Saturday July 24, 2010 @04:21AM (#1543331)
Uses latest start of the art technologies. ASP Classic, HTML with Tables. No abuse control at the moment (although I have set a CPU and bandwidth limit in IIS).

Has simple api where you can generate a PDF of a page. I have a client who needs this and I have been shoving it off to my own server but now I can just use this instead as a more generic solution. Supports saving the PDF in landscape.

Re:CreatePDF.in: My two hour website to pdf project by blueberry on Saturday July 24, 2010 @09:27AM (#1543599)
It doesn't even work with style sheets. Can you specify what it works with?
Re:CreatePDF.in: My two hour website to pdf project by defrex on Saturday July 24, 2010 @10:29AM (#1543692)
I believe "start of the art" is a pun, since he's using lame tech.
Re:CreatePDF.in: My two hour website to pdf project by gscott on Saturday July 24, 2010 @12:30PM (#1543937)
It was late I meant state of the art, teach to to write anything after midnight.
Re:CreatePDF.in: My two hour website to pdf project by blueberry on Saturday July 24, 2010 @10:52AM (#1543742)
Oh, OK that makes sense. Never heard of that before:)
Re:CreatePDF.in: My two hour website to pdf project by gscott on Monday August 02, 2010 @06:47PM (#1569388)
Turned out I had javascript, flash and some other things turned off. It uses Abcpdf component to create the pdf, I just found that a bunch of options are turned off by default.
Re:CreatePDF.in: My two hour website to pdf project by dpapathanasiou on Saturday July 24, 2010 @11:35AM (#1543850)
It worked pretty well with http://nytimes.com just now.
Re:CreatePDF.in: My two hour website to pdf project by wowfat on Saturday July 24, 2010 @06:40AM (#1543447)
how do you take the screenshot of the website? can this be used to make png / jpeg to get a thumbnails of websites?

Also finally how do you create pdf, is it some pdf printer?

Re:CreatePDF.in: My two hour website to pdf project by gmosx on Saturday July 24, 2010 @09:48AM (#1543624)
Which library is used to render the PDF file?
Re:CreatePDF.in: My two hour website to pdf project by xabi on Saturday July 24, 2010 @03:47PM (#1544259)
Re:CreatePDF.in: My two hour website to pdf project by tszming on Saturday July 24, 2010 @10:33AM (#1543699)
I doubt why you need "HTML Tidy for Linux"

:)

Re:CreatePDF.in: My two hour website to pdf project by gscott on Saturday July 24, 2010 @12:33PM (#1543941)
Something the w3c validator now offers, never noticed it before so I tried it out, my html is best just w3c never agrees with me.
Re:CreatePDF.in: My two hour website to pdf project by atomical on Saturday July 24, 2010 @10:04AM (#1543641)
I think webkit would be a better renderer.
Re:CreatePDF.in: My two hour website to pdf project by arpitnext on Saturday July 24, 2010 @07:26AM (#1543475)
I have created a bookmarklet. Try it here:

http://blog.arpitnext.com/tools/creat-pdf-bookmarklet.html

Re:CreatePDF.in: My two hour website to pdf project by adammichaelc on Saturday July 24, 2010 @01:29PM (#1544027)
Tried homevalueprotect.com Got back:

ABCpdf6.Doc.1 error '80004005'

Unable to render HTML. Unable to load page.

/index.asp, line 135

Re:CreatePDF.in: My two hour website to pdf project by apu on Saturday July 24, 2010 @04:43PM (#1544332)
I generally "print to pdf" if I want a pdf of a page, or use the firefox screengrab plugin to make png images of full page-length (super-awesome!):

https://addons.mozilla.org/en-US/firefox/addon/1146/

Re:CreatePDF.in: My two hour website to pdf project by arturadib on Saturday July 24, 2010 @09:19AM (#1543587)
Doesn't work with JavaScript.

Search Google for "browser testing" for some screenshot services that do.

Re:CreatePDF.in: My two hour website to pdf project by RiderOfGiraffes on Saturday July 24, 2010 @09:25AM (#1543593)
How does this compare with htmldoc?

http://www.htmldoc.org/

Re:CreatePDF.in: My two hour website to pdf project by dangrossman on Saturday July 24, 2010 @05:09PM (#1544381)
Doesn't look anything like how a browser renders it. I'll just use a PDF print driver.
Re:CreatePDF.in: My two hour website to pdf project by bokonist on Saturday July 24, 2010 @05:20PM (#1544401)
Not bad, needs more margins at the top and the bottom but otherwise looks quite good.
Re:CreatePDF.in: My two hour website to pdf project by johnrob on Saturday July 24, 2010 @02:06PM (#1544105)
I'd prefer a tool that did the exact opposite (without flash).
Re:CreatePDF.in: My two hour website to pdf project by _delirium on Saturday July 24, 2010 @05:04PM (#1544364)
Re:CreatePDF.in: My two hour website to pdf project by chunkyslink on Saturday July 24, 2010 @01:36PM (#1544046)
I got a blank pdf for www.engageinteractive.co.uk
Re:CreatePDF.in: My two hour website to pdf project by jacksoncarter on Saturday July 24, 2010 @09:14AM (#1543584)
Nice work. Doesn't work well with AJAX though.