View Single Post
Old 12-10-2012, 05:29 PM   #1
jbuckh
Junior Member
jbuckh began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2012
Device: none
HTML to PDF, printing page numbers

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
jbuckh is offline   Reply With Quote