wkhtmltopdf 因 --footer-center 参数而失败
wkhtmltopdf fails with --footer-center argument
我正在尝试使用 wkhtmltopdf 将文本插入页脚。
wkhtmltopdf ../input.html ../output.pdf --footer-center="My Text"
但它只是给我错误
Unknown long argument --footer-center=My Text
我试过很多方法
wkhtmltopdf ../input.html ../output.pdf --footer-center=My Text
wkhtmltopdf --footer-center="My Text" ../input.html ../output.pdf
wkhtmltopdf ../input.html --footer-center="My Text" ../output.pdf
但所有结果都在
Unknown long argument --footer-center=My Text
我正在使用 wkhtmltopdf 0.12.1 (with patched qt)
和man wkhtmltopdf
描述了--footer-center
参数
当然 input.html 已经存在于父目录中,如果我不添加 --footer-center 参数,一切都会完美无缺
而不是 =
参数值必须由 </code>(一个 space)分隔。</p>
<pre><code>wkhtmltopdf --footer-center "My Text" ../input.html ../output.pdf
并且有多个
wkhtmltopdf --footer-center "My Text" --footer-left "Left content" ../input.html ../output.pdf
我正在尝试使用 wkhtmltopdf 将文本插入页脚。
wkhtmltopdf ../input.html ../output.pdf --footer-center="My Text"
但它只是给我错误
Unknown long argument --footer-center=My Text
我试过很多方法
wkhtmltopdf ../input.html ../output.pdf --footer-center=My Text
wkhtmltopdf --footer-center="My Text" ../input.html ../output.pdf
wkhtmltopdf ../input.html --footer-center="My Text" ../output.pdf
但所有结果都在
Unknown long argument --footer-center=My Text
我正在使用 wkhtmltopdf 0.12.1 (with patched qt)
和man wkhtmltopdf
描述了--footer-center
参数
当然 input.html 已经存在于父目录中,如果我不添加 --footer-center 参数,一切都会完美无缺
而不是 =
参数值必须由 </code>(一个 space)分隔。</p>
<pre><code>wkhtmltopdf --footer-center "My Text" ../input.html ../output.pdf
并且有多个
wkhtmltopdf --footer-center "My Text" --footer-left "Left content" ../input.html ../output.pdf