I want to convert a chm file to a pdf file. Calibre's command ebook-convert only converts the first 7 pages of the chm file into a pdf file, while the chm file has much more pages. How can I convert the whole chm file into a pdf file? Thanks.
Try converting the CHM to, say, EPUB, and then convert the EPUB to PDF.
The lame time-consuming method: open up the CHM, copy-paste the contents by hand in your favorite word processor of choice and then save it as PDF. If that's not possible, save as DOC and convert (or print) it to PDF.