Convert-ing ebook epub to PDF ( or any other format)

Show table of contents

Sometimes you might want to convert ebooks from one format to the other.

Either because your ebook works better with a format or you want to print them to a certain size with margins.. etc.  For example Nook has epub support for searching words in dictionary, while PDF doesn't work well.. sometimes I might convert a book to get the extra features.

You can install Calibre which supports a variety of formats and options:

  • DejaVu .djvu
  • Comic Book Archives .cbr, .cbz, .cb7, .cbt, .cba
  • Mobi .mobi
  • Amazon Kindle .azw
  • And others including Epub, pdf.. etc
sudo apt-get install calibre

 

For example to have an even margin and make it pretty with a A4 size, use the following command. You can wrap a for loop around it and make it convert all your ebooks!

ebook-convert YourBook.epub "YourOutputBook.pdf" --pdf-page-numbers --paper-size a4 --pretty-print --margin-left 72 --margin-right 72 --margin-top 72 --margin-bottom 72

 

Subscribe to my newsletter


What are your thoughts?

All comments are moderated and must adhere to the terms of service.

You might enjoy these similar articles:

Subscribe to my newsletter!