The Lazy Log
  • Home
  • About Me
Subscribe
Tagged

pdf

A collection of 2 posts

troubleshooting

How to resolve "Cannot create a QPixmap when no GUI is being used" when running wkhtmltopdf

Few days ago, I got a request from my customer to make changes to PDF exporting feature which involve putting watermark inside PDF file. The existing setup in the project was like this: all necessary information are presented in HTML file and then this HTML file is converted into PDF

  • xuanchien
xuanchien Sep 13, 2014 • 2 min read
rails

How to convert HTML views into PDF in Rails

One of the most popular programs to convert HTML to PDF is wkhtmltopdf. And in this post, I am going to show you how to use wicked_pdf gem to quickly export your views into PDF using this program. First, you would need to install wkhtmltopdf program in your platform

  • xuanchien
xuanchien Sep 6, 2014 • 1 min read
The Lazy Log © 2022
  • Data & privacy
  • Contact
Powered by Ghost