bauhausjs / phantom-html2pdf

Node module to generate PDFs from HTML via PhantomJS
MIT License
112 stars 47 forks source link

Paper size options #3

Closed tpindel closed 10 years ago

tpindel commented 10 years ago

PR - added few lines of code which is passing paperSize options to converting method. Options naming follows phantomjs API reference: https://github.com/ariya/phantomjs/wiki/API-Reference-WebPage#papersize-object

JokingHero commented 10 years ago

I need that ASAP! PLS!

terehov commented 10 years ago

Thank you very much! :-)

tpindel commented 10 years ago

@terehov : Could you publish new version on NPM ?

terehov commented 10 years ago

I don't have access to this package yet. I just wrote Philipp to add me to this package.

tpindel commented 10 years ago

Thanks. Perfect

tpindel commented 10 years ago

Hello there. Any news regarding new version of package?

terehov commented 10 years ago

I was actually expecting that it already happened. Ok, I gonna publish it. Sry.

terehov commented 10 years ago

I just renamed the module (I think the new name should be more clear about what this module does) and published this new version: phantom-html2pdf

https://www.npmjs.org/package/phantom-html2pdf