10

I really hate .epub format. I have tried several online and downloaded tools to convert some .epub books I have to PDF, but it still is unsatisfactory as the original page breaks are not preserved and the formatting always messes up, text is too big, fonts are lost, colors missing, graphics poorly preserve and sometimes fall on a page break, special symbols and non-English alphabets look like a botched OCR job, random chunks of text are inserted, etc. I have tried Calibre, Epubor, Zanzar, etc. The output always seems unusable.

My question: .epub files preserve the original page break locations, if I am not mistaken. Is there any .epub to .pdf converter that can simply break the PDF pages where the original print book broke the pages, and resize the text and graphics to fit (I am assuming .epub does NOT preserve the original text size data?). I want a PDF which looks as close to the original print book as possible, pulling upon any data which a .epub file might store about the original print book. I already have a .epub file, so I would rather not manually scan the entire book and compile to a PDF, if at all possible.

Calibre seems the most flexible of the various .epub to .pdf converters I have tried. If it is possible to do this by setting certain configuration settings with Calibre (or any other software).

EDIT: I have tried numerous .epub readers and Adobe Digital Editions, Sumatra PDF, and Calibre are the best I have tried by a longshot. However, only Calibre seems able to print those .epubs to a .pdf, or print .epubs at all! One big problem I have is that large images that take a whole page in the print book are broken down into chunks in the eBook, regardless of the font and margin size, even when the larger image would fit on screen! one! two! Same deal across e-readers.

10
  • 3
    EPUBs are basically just zipped up HTMLs. What's there to hate them so much anyway?
    – Karan
    Commented May 4, 2015 at 4:48
  • 1
    I do not like that all formatting is lost, that original page breaks are not preserved, and many other formatting issues as I mentioned above are also often present in the .epub format which are handled much better by .pdf
    – Nathanael
    Commented May 4, 2015 at 15:10
  • That only tells me it's a badly produced EPUB. I have lots that look just fine formatting-wise.
    – Karan
    Commented May 4, 2015 at 18:09
  • 1
    epub files generally only contain page breaks at the end of chapters - the whole point is you can resize the font to fit any screen and it will fill every page top to bottom. Adjusting the font size in the converted PDF with Calibre should get decent results but it will never have breaks in the exact place as a printed book.
    – baochan
    Commented May 4, 2015 at 19:54
  • 1
    @Karan interesting. Nope, no pirated .epubs. All of the ones I am working with were accessed directly from the publisher of the print books, legally. But I can believe they were compiled less-than satisfactorily, or through some automated process without checking the results. Unfortunately this has seemed to be the norm too often in my opinion, which I suppose is why I am partial to pdfs. For now, I guess I am stuck with what I have. I have found that epubreader for Firefox does a better job of displaying .epubs than even Adobe, in my experience.
    – Nathanael
    Commented May 6, 2015 at 19:26

4 Answers 4

5

I have now experimented with numerous, numerous tools to convert epub to pdf, but none do what I was hoping to accomplish. I have also experimented with numerous e-readers in general, hoping to display my files as I wanted them and then "print" them directly to a software pdf printer. The newest version of calibre's e-book reader allows printing directly to PDF. Unfortunately, those pdfs do not resemble the text as you are viewing it in the e-reader window. Regardless of the font size of the e-reader text, the pdf is built using font sizes specified elsewhere. This would be a suggestion for future releases of calibre to implement: print as-you-see-it from the e-reader window.

Of the various e-readers I used, epubreader extension for firefox is by far the best and most stable (calibre used up all 2GB of my ram before hanging and crashing multiple times). The display settings of epubreader allow great flexibility for displaying the text "as defined by the book settings," although the e-book settings do not always perfectly preserve the exact appearance of the print book. For all of its strengths, however, epubreader does not seem able to print to a pdf or to print from firefox at all. When I contacted support, I was referred to calibre.

As it stands, calibre is still the tool that comes closest to accomplishing my original goals. Hopefully future releases of calibre or epubreader will implement a print-as-you-see it option, allowing their ebook readers to double up as a live "print preview." Until then, I will have to make do with editing the epub raw data with calibre epub editor, and/ or building dozens of pdf books before I find the most acceptable settings for producing a suitable pdf.

1
  • For what it's worth, Calibre 2.82 on OS X produces (with all default settings) a fair representation of an epub as PDF, using the reader and print to PDF. Commented Apr 25, 2017 at 19:39
4

Maybe it's too late, but if anyone would be interested in future.

The best way I've so far found is add epub book to Calibre , then open up the book and print to pdf (bottom left button).

That way, I've achieved the best results with text-only book (dunno how pictures) compare to "convert option".

1
  • This works on Windows 11 and views as PDF in Adobe Acrobat
    – MT1
    Commented Nov 29, 2023 at 19:28
0

Look for a CHM that works to your desire -- given the mention of close to desired performance of Calibre I'd recommend XCHM (which works on ALL OSes )

3
  • Checked out XCHM, but not sure how it solves my problem. Is it even able to read .epub format? It is essentially just a reader for .chm help files? Is it able to display my .epub files breaking the pages at the original page breaks so I can at least print the .epub to a .pdf file?
    – Nathanael
    Commented May 4, 2015 at 15:15
  • Yes it can. While not planning to be a learn eformats 101 post, maybe reading the docs it comes with would help (not everything is one stop shop OR OOTB ready for all). Its what I and my clients use for reading epub/pdf/chm files for ALL sorts of subject material.. ----maybe you could give a screenshot of this malformatting so one of us could possible decipher if its the program or user-defined settings causing it. Commented May 4, 2015 at 15:39
  • I spent an afternoon experimenting with XCHM and reading the manual, and it does not appear to load .epub format at all, let alone allow me the flexibility to display the pages as mentioned. What CHM editor in particular do you and your clients use? I have tried several from this list with no success in loading .epub format or having flexibility to display the pages like this. I have also tried most of the e-readers from here
    – Nathanael
    Commented May 6, 2015 at 15:36
-1

Simply open the file can do a Ctrl+P. All the formatting of epub as you see it is preserved. It is printed as a PDF too. :)

1
  • 1
    That is suboptimal solution. I believe they want something that will work without manual labor.
    – bgoodr
    Commented Feb 8, 2020 at 16:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .