michaelrsweet / htmldoc

HTML Conversion Software
https://www.msweet.org/htmldoc
GNU General Public License v2.0
206 stars 46 forks source link

remove page numbering from PDF #436

Closed beelzebubbles closed 3 years ago

beelzebubbles commented 3 years ago

Hi, I checked the documentation and could not find an answer.

I am getting the page number printed on all PDF pages (bottom right). The command at its simplest: htmldoc --webpage -t pdf -f test.pdf test.html The html file has no footer, header or special HTML comments.

How can I completely disable printing the page number?

michaelrsweet commented 3 years ago

@beelzebubbles Add the "--header ... --footer ..." options to disable the default header/footer strings.

beelzebubbles commented 3 years ago

Thanks a lot for the prompt response, to me it was not clear that --footer is 'enabled' and the default is "--footer ..1"