Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: Anyone here using wkHtmlToPdf?

$
0
0
Re: Anyone here using wkHtmlToPdf?
Web Connection 5.0
Re: Anyone here using wkHtmlToPdf?
02/06/2012
05:10:09 AM
3FD0B2XBL Show this entire thread in new window
Gratar Image based on email address
From:
To:
Attachments:
None
Rick, did you get this working?

There are no headers or footers by default. I'm using this to add page numbers:

--footer-center "Page [page] of [topage]"

BTW, I like the new look of the forum. Border radius and box shadow are cool stuff.

I'd REALLY like to see a preview button before I post tho.


I found out why my printing was smaller than my old pdf conversion. I was missing this: --disable-smart-shrinking

So this is what I'm using to create pdf's now:

[wkhtmltopdf --page-size letter --print-media-type --disable-smart-shrinking --title "] + tcPageTitle + [" file:///] + tcTempHtmlFileName + [ ] + tcTempPdfFileName


Viewing all articles
Browse latest Browse all 10393

Trending Articles