Re: [gentoo-user] Re: Trying to automate HTML --- pdf

2008-01-29 Thread Neil Bothwick
On Mon, 28 Jan 2008 21:24:37 -0800, [EMAIL PROTECTED] wrote:

  $ konqueror http://url.com/page.html --output page.pdf
  
  It seems like a common enough thing to want to do.  
 
 I was astounded to not find such an option in either firefox or
 konqueror.

I think it would be more appropriate to include it in kprinter, but I
tried kprinter someurl and it couldn't handle HTML.


-- 
Neil Bothwick

There are some micro-organisms that exhibit characteristics of both
plants and animals.  When exposed to light they undergo photosynthesis;
and when the lights go out, they turn into animals.  But then again,
don't we all?


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Trying to automate HTML --- pdf

2008-01-29 Thread felix
On Tue, Jan 29, 2008 at 12:45:41PM +, Stroller wrote:
 On 29 Jan 2008, at 07:24, [EMAIL PROTECTED] wrote:
 Konqueror would be even harder, since the binary itself is less than
 5K and all the functionality presumably comes from the libs.

 That makes me imagine it might actually be _easier_, but I'm not a 
 practised programmer.

Except that if you change the libraries, everything which used those
libraries would also change.  I am trying to avoid that :-)

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Trying to automate HTML --- pdf

2008-01-29 Thread Stroller


On 29 Jan 2008, at 07:24, [EMAIL PROTECTED] wrote:

On Tue, Jan 29, 2008 at 05:49:19AM +, Grant Edwards wrote:


Here's your chance.  Add the feature to Firefox. ;)

...
Konqueror would be even harder, since the binary itself is less than
5K and all the functionality presumably comes from the libs.


That makes me imagine it might actually be _easier_, but I'm not a  
practised programmer.


Stroller.
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Trying to automate HTML --- pdf

2008-01-29 Thread William Kenworthy

On Tue, 2008-01-29 at 08:42 +, Neil Bothwick wrote:
 On Mon, 28 Jan 2008 21:24:37 -0800, [EMAIL PROTECTED] wrote:
 
   $ konqueror http://url.com/page.html --output page.pdf
   
   It seems like a common enough thing to want to do.  
  
  I was astounded to not find such an option in either firefox or
  konqueror.
 
 I think it would be more appropriate to include it in kprinter, but I
 tried kprinter someurl and it couldn't handle HTML.
 
 

Why not a pdf printer:

net-print/cups-pdf

This used to work well for me, though it was about 12 months ago.  A bit
clunky and the pdf files were dumped in a non-obvious place - hopefully
fixed now.

BillK



-- 
William Kenworthy [EMAIL PROTECTED]
Home in Perth!
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Trying to automate HTML --- pdf

2008-01-29 Thread Neil Bothwick
On Tue, 29 Jan 2008 21:31:28 +0900, William Kenworthy wrote:

  I think it would be more appropriate to include it in kprinter, but I
  tried kprinter someurl and it couldn't handle HTML.

 Why not a pdf printer:
 
 net-print/cups-pdf


Because you would still need something to render the web page before
printing. Kprinter should be able to do this using the same libraries as
Konqueror uses.


-- 
Neil Bothwick

You shall know the truth, and you shall freak.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Trying to automate HTML --- pdf

2008-01-28 Thread Justin Findlay
On AD 2008 January 27 Sunday 01:43:26 PM -0800, [EMAIL PROTECTED] wrote:
 I had some problems with some of the more complex web sites, so I
 didn't explore this much.  One thing I had tried was taking snapshots
 to jpeg pictures, but I had no way of telling when the page had
 finished loading.  Now that I have a working DCOP method of telling
 this, I will have to try the jpeg business again.  One problem with it
 is setting up a phony X enviornment that persists.  This is sure an
 odd project.

I don't think so.  What I think is odd is that you can't just say

$ konqueror http://url.com/page.html --output page.pdf

It seems like a common enough thing to want to do.


Justin
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Trying to automate HTML --- pdf

2008-01-28 Thread felix
On Mon, Jan 28, 2008 at 08:44:03PM -0700, Justin Findlay wrote:
 
 I don't think so.  What I think is odd is that you can't just say
 
 $ konqueror http://url.com/page.html --output page.pdf
 
 It seems like a common enough thing to want to do.

I was astounded to not find such an option in either firefox or
konqueror.  The html to pdf utilities are only good for the most basic
pages.  It does seem like an incredibly simple common idea, and one
that shouldn't need an X environment either.  Tell it pdf or ps, the
page size (A4, letter, legal, ...), color or b/w ... not much else.

Such a simple idea, and no way to do it.  It really surprised me.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: Trying to automate HTML --- pdf

2008-01-28 Thread Grant Edwards
On 2008-01-29, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 I don't think so.  What I think is odd is that you can't just say
 
 $ konqueror http://url.com/page.html --output page.pdf
 
 It seems like a common enough thing to want to do.

It's not that uncommon amon users.  It appears it's just not
something the _devs_ want to do.

 I was astounded to not find such an option in either firefox or
 konqueror.

Many people have been requesting that feature for _8_years_ in
the case of mozilla.  There are literally dozens of bugs filed
requesting this feature. It gets tossed back and forth from one
dev to another for a while, then somebody sets to the lowest
possible priority (IOW, put on the no, we're not going to do
it, but we won't admit it list).  After that, everybody just
sort of ignores it until somebody files yet another dup bug
requesting it. Apparenty the developers don't have any need for
the feature, so the requests just get ignored.

 Such a simple idea, and no way to do it.  It really surprised
 me.

Here's your chance.  Add the feature to Firefox. ;)

Or pay somebody else to...

-- 
Grant Edwards   grante Yow!  .. Everything
  at   isFLIPPING AROUND!!
   visi.com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Trying to automate HTML --- pdf

2008-01-28 Thread felix
On Tue, Jan 29, 2008 at 05:49:19AM +, Grant Edwards wrote:

 Here's your chance.  Add the feature to Firefox. ;)

I took a look at firefox; it looks like the GUI environment is a
pretty big part of things, and it wasn't at all obvious how to get
around that.  But then again, I only spent a half hour or so staring
at a lot of strange code.

Konqueror would be even harder, since the binary itself is less than
5K and all the functionality presumably comes from the libs.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: Trying to automate HTML --- pdf

2008-01-27 Thread Grant Edwards
On 2008-01-27, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Firefox doesn't print to pdf, however.

It'll print to postscript, and ps2pdf has always worked well
for me.

-- 
Grant Edwards   grante Yow! I represent a
  at   sardine!!
   visi.com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Trying to automate HTML --- pdf

2008-01-27 Thread felix
On Sun, Jan 27, 2008 at 09:26:33PM +, Grant Edwards wrote:
 On 2008-01-27, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  Firefox doesn't print to pdf, however.
 
 It'll print to postscript, and ps2pdf has always worked well
 for me.

I had some problems with some of the more complex web sites, so I
didn't explore this much.  One thing I had tried was taking snapshots
to jpeg pictures, but I had no way of telling when the page had
finished loading.  Now that I have a working DCOP method of telling
this, I will have to try the jpeg business again.  One problem with it
is setting up a phony X enviornment that persists.  This is sure an
odd project.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
gentoo-user@lists.gentoo.org mailing list