02-09-2007, 08:54 AM | #1 |
Reticulator of Tharn
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
|
"Print" directly to a Reader from Firefox
I've got a hack set-up I think some other people here might be interested in. Using Firefox's built-in PostScript printer support -- which allows individual printers to have their own margin etc settings and a custom command run on the output -- I can "print" from Firefox and have the result droped onto my Reader as an appropriately-sized PDF. The process is currently Unix-y only, but someone sufficiently determined could probably produce one which works under Windows too.
I describe what I've done in more detail and provide scripts & settings in a post on my blog:Hope people find it useful! Last edited by llasram; 02-09-2007 at 08:55 AM. Reason: spelling errors |
02-09-2007, 03:04 PM | #2 |
Fully Converged
Posts: 18,170
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
|
I am going to try it. llasram, you mentioned a ruby script to convert Gutenberg to LaTeX on your website. Would you mind sharing it with us? I am still considering writing a script to convert BBCode to LaTeX for our weekly newsletter, and it would be nice to see some similar conversion scripts first.
|
Advert | |
|
02-09-2007, 03:09 PM | #3 |
creator of calibre
Posts: 44,321
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
As a browser independent method to convert html to PDF with support for CSS html2ps + ps2pdf looks useful.
http://user.it.uu.se/~jan/html2ps.html |
02-09-2007, 03:16 PM | #4 |
Fully Converged
Posts: 18,170
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
|
kovidgoyal, I have spent a couple of hours with html2ps. It's nice but there seems to be a major flaw in connection with the Sony Reader: Internal links don't seem to work. I posted more about it here. If you come up with a solution, I'd be a happy camper.
|
02-09-2007, 05:48 PM | #5 | |
Reticulator of Tharn
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
|
Quote:
It would be possible to make a Firefox extension which ultimately ran the current Web page through html2ps, but it (a) would need some extra work to operate properly on pages requiring credentialed access, (b) would lose / require re-writing current print feature support (e.g., print only selection), and (c) would be even less brower-independent. Making a CUPS (etc) driver which produced an appropriately sized & metadataed PDF and dumped it on the Reader would probably would garner the most source independence. But it would lose Firefox support -- a long standing mis-feature of Gecko's PostScript rendering engine is that it can only render to a pre-compiled list of fixed page sizes. My hack gets around this by setting large margins in Firefox's configuration and chopping the PS output down to the appropriate size. Anyway, I'm not saying my solution is perfect -- just the best one I've thought of so far for what I want to do. :-) P.S. Thanks muchly for libprs500! |
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Yep. It's official. Sony Reader has "ruined" books for me. A final "review." | WilliamG | Sony Reader | 48 | 01-14-2011 03:49 AM |
Transfer Web pages to Kindle - what do you use? "Print to MOBI" an option? | guiyoforward | Amazon Kindle | 8 | 09-06-2010 12:50 AM |
Call "print newspapers" as "snailpapers" because they arrive with news is 12 hrs old | taglines | Lounge | 4 | 02-05-2010 10:01 AM |
Using Mac OS X to "print" PDFs to ebooks... | kf6gpe | 0 | 01-03-2009 03:27 PM | |
"Print is Dead: Books in Our Digital Age" by Jeff Gomez | jasonkchapman | News | 15 | 10-18-2007 06:05 PM |