2

I have an epub file and want to convert it into a PDF file.

I am using ebook-convert as suggested in converting epub files to PDF format (version: ebook-convert (calibre 3.21.0))

I am looking for a parameter to set page numbers in the output pdf file.

Using the help function only states to use recipes:

--list-recipes  List builtin recipe names. You can create an e-book from a
              builtin recipe like this: ebook-convert "Recipe Name.recipe"
              output.epub

Looking at these recipes via the cli, I can find over 1600 recipes available on my computer.

But from this I do not know which is the right recipe that automatically generates page numbers in the PDF.

1 Answers1

0

To get the parameters for a specific format, type:

ebook-convert myfile.input_format myfile.output_format -h

To add page numbers, simply type:

ebook-convert myfile.epub myfile.pdf --pdf-page-numbers