wkhtmltopdf以--footer center参数失败

wkhtmltopdf以--footer center参数失败,wkhtmltopdf,Wkhtmltopdf,我试图用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="

我试图用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
Im使用
wkhtmltopdf 0.12.1(带补丁qt)

manwkhtmltopdf
描述了
--footer center
参数


当然,input.html已经存在于父目录中,如果我不添加--footer center参数,而不是
=
,那么参数值必须用
分隔(一个空格),那么一切都可以正常工作

而且有多个

wkhtmltopdf --footer-center "My Text" --footer-left "Left content" ../input.html ../output.pdf
wkhtmltopdf --footer-center "My Text" --footer-left "Left content" ../input.html ../output.pdf