<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>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>