Friday, July 18, 2014

Webkit Installation Steps

Go to the directory where you want to download webkit package. Run

  • sudo wget "http"://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.9.9-static-amd64.tar.bz2
  • sudo bunzip2 wkhtmltopdf-0.9.9-static-amd64.tar.bz2
  • sudo tar -xvf wkhtmltopdf-0.9.9-static-amd64.tar

Move this to /usr/bin/,

  • sudo mv wkhtmltopdf-amd64 /usr/bin/wkhtmltopdf
Go to Openerp -> Settings -> Technical -> Parameters -> System Parameters,
  • Click on "Create"
  • Type "webkit_path" in key
  • Give path "/usr/bin/wkhtmltopdf" in value 

No comments:

Post a Comment