• Bubble
  • Bubble
  • Line
Convert-ing ebook  epub to PDF ( or any other format)
Andrei Clinciu Article AUthor
Andrei Clinciu
  • 2013-05-23T21:14:00Z
  • 1 min to read

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


Ideas and comments

Andrei Clinciu
Andrei Clinciu

I'm a Full Stack Software Developer specializing in creating websites and applications which aid businesses to automate. Software which can help you simplify your life. Let's work together!

Building Great Software
The digital Revolution begins when you learn to automate with personalized software.

Find me on social media