Quantcast
Channel: MobileRead Forums - Calibre
Viewing all articles
Browse latest Browse all 31491

HTML to PDF, printing page numbers

$
0
0
Just started using Calibre and it has been great so far. Sorry if this question has been answered elsewhere, I can't figure it out for the life of me.

I'm compiling a large HTML file then using Calibre via command line to convert it to a PDF. In order to publish it, I need the PDF to include page numbers on each page but they aren't showing. I've looked everywhere but I can't figure out how to get the page numbers to show.

Any thoughts? Below I've included the command I'm using to run Calibre.

Code:

xvfb-run ebook-convert public_html/pm4id.html public_html/pm4id.pdf --output-profile=default --smarten-punctuation --cover=public_html/Images/cover.jpg --margin-left=72 --margin-right=72 --margin-top=72 --margin-bottom=72 --pretty-print --level1-toc=//h:h1 --level2-toc=//h:h2

Viewing all articles
Browse latest Browse all 31491

Trending Articles