You are here

Printer, email and PDF versions

Primary tabs

pdf出力モジュール

$ cd /tmp

$ sudo apt-get install wkhtmltopdf
$ wkhtmltopdf http://www.google.com test.pdf
$ which wkhtmltopdf
/usr/bin/wkhtmltopdf
$ cd /path_to_yoursite/sites/all/libraries/
$ sudo ln -s /usr/bin/wkhtmltopdf
$ drush en print_mail, print_ui, print_epub_phpepub, print_epub, print_pdf_dompdf, print_pdf_mpdf, print_pdf_tcpdf, print_pdf_wkhtmltopdf, print_pdf, print -y

admin/config/user-interface/print

font のインストール

$ sudo apt-get install console-setup fonts-droid fonts-inconsolata
$ sudo apt-get install msttcorefonts
$ wget http://webupd8.googlecode.com/files/install-google-fonts
$ sudo sh ./install-google-fonts

tags_module:

package: 
Printer, email and PDF versions