|
From: Mike Scott on 29 Mar 2008 06:56 Neil Ellwood wrote: > > Theo Markettos wrote: > >> Is there any tool that makes a decent job of printing HTML? I'm >> thinking of something that can be set to print in two columns (say), >> sensibly split up text between pages, decide when images need scaling >> so they'll fit on the page and all sorts of other printing-related >> decisions. >> >> Browsers are usually hopeless. Firefox doesn't even provide a Print >> Preview >> option. Mostly they print too big or with far too much whitespace, >> resulting in a simple page appearing as half a dozen sheets at least >> one or >> two having superfluous stuff on them. (Of course, not many sites >> provide > I use Iceweasel in debian (just a rename of firefox) and if you look > under 'file' the drop down list contains 'page set up' 'print preview' > and 'print'. I don't find a problem. Firefox seems to work well enough. But is there any way of getting a web page printed from the command line or a script? The OP's request smacks of wanting to print without user intervention. -- Mike Scott (unet <at> scottsonline.org.uk) Harlow Essex England
From: Big and Blue on 29 Mar 2008 07:59 Mike Scott wrote: > > Firefox seems to work well enough. But is there any way of getting a web > page printed from the command line or a script? The OP's request smacks > of wanting to print without user intervention. Could try: wget ... -o - | html2ps -- Just because I've written it doesn't mean that either you or I have to believe it.
From: Ian on 29 Mar 2008 09:29 On 29 Mar, 08:45, Mike Civil <m...(a)duncodin.org> wrote: > In article <1fc29e29-5576-4878-978b-d28ac2e9a...(a)m34g2000hsc.googlegroups.com>, > > Ian <ian.gro...(a)btinternet.com> wrote: > >I wish there was a way, though, of telling Firefox which pages in the > >print preview to print. Every time I want an EasyJet booking I end up > >with about five sheets of adverts as well, for example. > > How about working out which pages you want from the preview and then > entering the page numbers (or range) into the Print Range part of the > Print dialogue? Granted it's not seamless but it seems to work. EasyJet bookings only seem to be one "page", though spread over many "sheets", so I don't get that option. Ian
From: Mike Scott on 29 Mar 2008 10:51 Big and Blue wrote: > > > Mike Scott wrote: >> >> Firefox seems to work well enough. But is there any way of getting a >> web page printed from the command line or a script? The OP's request >> smacks of wanting to print without user intervention. > > Could try: > > wget ... -o - | html2ps > > Which won't catch images or frames or..... -- Mike Scott (unet <at> scottsonline.org.uk) Harlow Essex England
From: jasee on 29 Mar 2008 13:06
Ian wrote: > On 28 Mar, 16:36, LR <l...(a)privacy.net> wrote: >> Theo Markettos wrote: >>> Browsers are usually hopeless. Firefox doesn't even provide a >>> Print Preview option. >> >> Strange. FF 2.0.0.13 does "Page Setup" and "Print Preview". > > I wish there was a way, though, of telling Firefox which pages in the > print preview to print. Every time I want an EasyJet booking I end up > with about five sheets of adverts as well, for example. Highlight the selection you want to print, then print the selection (radio button) |