Prince printing example, URLs

This commit is contained in:
Vadim Makeev 2012-09-24 08:40:42 +02:00
parent 57fccda810
commit 37043defd1
1 changed files with 4 additions and 0 deletions

View File

@ -5,8 +5,12 @@ name=${file%.*}
echo 'Printing…' echo 'Printing…'
# http://code.google.com/p/wkhtmltopdf
wkhtmltopdf -T 0 -R 0 -B 0 -L 0 --page-width 1024px --page-height 640px --dpi 300 --print-media-type --quiet ${file} ${name}.pdf wkhtmltopdf -T 0 -R 0 -B 0 -L 0 --page-width 1024px --page-height 640px --dpi 300 --print-media-type --quiet ${file} ${name}.pdf
# http://princexml.com
# prince -i html5 ${file}
echo 'Finished.' echo 'Finished.'
# Usage example: sh print.sh index.html # Usage example: sh print.sh index.html