View Single Post
Old 10-07-2006, 07:08 PM   #12
Slava
Addict
Slava doesn't litterSlava doesn't litter
 
Slava's Avatar
 
Posts: 285
Karma: 129
Join Date: Sep 2006
Location: New England
Device: PRS-500 · iPad · K3
Here is an example of what you can do with cygwin, wget and hmtldoc

Steps 1 & 2 are only for Windows users

1. Get Cygwin
2. Select and install GCC and WGET options
3. Download htmldoc sources
4. If you plan to convert Russian html pages, you will need to download additional fonts.
5. Compile and install htmldoc

You will have to experiment with different pages and parameters. HTMLDOC seems to be quite picky about html, but it gives you some nice options.

Lets take Outbrash

Download the html first
Code:
wget -O outbrash.html http://www.outblush.com/women/home/
Now convert it to PDF
Code:
$ htmldoc --webpage  --gray --fontsize 14 --textfont helvetica --header . --footer . --left 2mm --right 2mm --top 5mm --bottom 5mm --size 5.24x6.69in -f outbrash.pdf outbrash.html
Attached Thumbnails
Click image for larger version

Name:	outbrash2reader.jpg
Views:	718
Size:	250.5 KB
ID:	1763   Click image for larger version

Name:	outbrashONreader.jpg
Views:	715
Size:	84.9 KB
ID:	1764  

Last edited by Slava; 10-07-2006 at 07:20 PM.
Slava is offline   Reply With Quote