Gentoo Archives: gentoo-user

From: felix@×××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Converting HTML to PDF or PS -- DCOP Q now
Date: Wed, 28 Nov 2007 16:43:30
Message-Id: 20071128163716.GA24046@crowfix.com
1 On Tue, Nov 27, 2007 at 10:07:10PM +0000, Neil Bothwick wrote:
2 > On Tue, 27 Nov 2007 13:53:10 -0800, felix@×××××××.com wrote:
3 >
4 > > These web pages use Javascript; some render so-so without javascript,
5 > > some don't render at all well. What I would like is some firefox (or
6 > > Konqueror or ...) command line option to render the page and save it
7 > > as any other format -- jpg, pdf, ps, doesn't matter.
8 >
9 > You could probably do this with a shell script that loads Konqueror with
10 > the given URL and send it DCOP command(s) to print.
11
12 I have been fooling around with this and following some of the google
13 treasure, and it is a decent substitute for the nice simple command
14 line options that I want. But it has a few problems:
15
16 1. The 'print' DCOP command pops up the print menu and requires at
17 least one click. I can set the print type (to PDF file) and the
18 default file name ahead of time, but I still have to click on
19 "Print".
20
21 2. When I pass it the URL to display, it returns immediately, and I
22 have to insert a sleep to wait before sending the print command.
23 Is there any way to find out when the page is complete?
24
25 3. If I put in a one minute pause to allow even the slowest web sites
26 to fully load, that limits how many of these URLs I can process.
27 Is there any way to run multiple konqueror sessions at once?
28
29 #1 is a real show stopper. The others are merely annoying.
30
31 --
32 ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
33 Felix Finch: scarecrow repairman & rocket surgeon / felix@×××××××.com
34 GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
35 I've found a solution to Fermat's Last Theorem but I see I've run out of room o
36 --
37 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Converting HTML to PDF or PS -- DCOP Q now Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] Converting HTML to PDF or PS -- DCOP Q now YoYo Siska <yoyo@××××××.sk>