<div dir="ltr"><br><div class="gmail_quote">2011/10/30 Steve G. <span dir="ltr"><<a href="mailto:wordz2u@gmail.com">wordz2u@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)">Happy Halloween!<div><br></div><div>I have a large number of .htm files (text in English, Spanish or Hebrew with punctuation marks) which I want to convert to .pdf or PDF files, so I can read them on the Kindle.<div>
<br></div><div>I know how to do it manually - I open them in a browser, select Print-Print to file - PDF, give a name and print. But as I have several hundred files, it is not practical.</div><div><br></div><div>1. Is there a more automated, preferably command line, to take each file, and convert it to from filename.htm to filename.pdf, while keeping the file name?<br clear="all">
<div><br></div><div>2. Is there a way to control the output of the pdf file, so that the font size is adequate for the kindle (I do not have specs, so I will use trial and error), which has a small screen with a 600x800 resolution?</div>
<div><br></div><div>For the record, I tried a program called wkhtmltopdf (static version), and it works, but sticks rectangles between letters rather often. Printing from Firefox to PDF works, but is a manual process. Considering I have hundreds of files, it is impractical.</div>
<div><br></div><div>Thanks,</div><div><br></div></div></div></span></blockquote><div><br>Calibre (<a href="http://calibre-ebook.com/">http://calibre-ebook.com/</a>) will convert just about anything to just about anything, as long as there is no DRM involved. It also has a function for batch-conversions, although I've never used it (the batch conversion. I do use it to manage my eBook library and convert files singly). But the reviewers rave....<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><span style="font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);"><div>
<div><div></div><div>Z.</div></div></div></span><div><br></div><a href="http://www.words2u.net" target="_blank">http://www.words2u.net</a> - GPS points and tracks (mainly in Costa Rica)<br>
<br><a href="http://www.words2u.net/recipes" target="_blank">http://www.words2u.net/recipes</a> - Recipe collection<br>
<br>_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
<br></blockquote></div><br></div>