Other Convert epub to pdf program ?

To convert an epub to pdf i use online web.
But can it be done with a program ?
If you want to go full overkill GUI, there's

/usr/ports/deskutils/calibre

(Open an epub file and then "print" to PDF)

If you'd rather play with the command line, there's

/usr/ports/textproc/hs-pandoc

(pandoc My_Book.epub -o My_Book.pdf

There's probably other ways too and it's worth noting that epub is basically a zipped up web page which means the text will flow to suit your window/page size. Converting to PDF may not retain that flexibility.
 
You can use calibre's ebook-convert to do it. It's command line, no gui required.
ebook-convert mybook.epub mybook.pdf Lately, however, ebook-convert has been having hiccups for me, possibly because of python on FreeBSD being older. See https://forums.freebsd.org/threads/update-broke-calibres-ebook-covert-on-some-files.93543.
dgmm, thanks, I was unfamiliar with hs-pandoc.
 
Back
Top