You are here

print

Printer, email and PDF versions

pdf出力モジュール

$ cd /tmp
$ wget  http://downloads.sourceforge.net/project/wkhtmltopdf/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb
$ sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb
$ wkhtmltopdf http://www.google.com test.pdf
$ which wkhtmltopdf
/usr/local/bin/wkhtmltopdf
$ cd /path_to_yoursite/sites/all/libraries/
$ sudo ln -s /usr/local/bin/wkhtmltopdf
$ sudo drush dl print
$ 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

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
Subscribe to RSS - print