Grails, Java

HTML to PDF using PhantomJs and Grails

Converting an html or web page into a pdf is never easy and you might face similar problem in your project as well. There is  a solution that works out of the box for this problem and all you need is installing PhantomJs on your system and calling it from your Grails or Java code. Just follow below steps one by one and you are...

by Arpit Jain
Tag: phantomjs


Generate PDF in NodeJS using “node-phantom” module

PhantomJS is used to emulate browsers through command line, for generating PDFs, web page manipulation, headless testing and much more interesting stuff. Npm provides us a module called "node-phantom" which helps us to use PhantomJS in our NodeJS application in a non-fussy way. A prerequisite for using this module is, you must have...

by Sakshi Tyagi
Tag: phantomjs