Konqueror: Save HTML page as PDF

Kaspar Fischer fischerk at inf.ethz.ch
Tue Oct 16 23:41:51 BST 2007


Hi Albert,

Wow, many thanks for the fast reply! Very kind of you.

I'll try within the next few days to see if I can get it running.

Best,
Kaspar

P.S. For the sake of completeness, Volker's mail referenced below is
this: http://lists.kde.org/?l=kfm-devel&m=119256512211035&w=2

On 17.10.2007, at 00:33, Albert Cervera i Areny wrote:

> Hi Kaspar, I'd suggest you something similar to what Volker was  
> looking for.
> I attach a shell script that should do the trick. Unfortunately I  
> can't make
> it work as cups complains that no printer has been selected. Maybe  
> somebody
> else can tell us why this doesn't work.
>
> Another problem is how you know a page has been fully loaded. You  
> can look
> with dcop to see if there is any way to ask konqueror.
>
> Hope that helps!
>
> A Dimarts 16 Octubre 2007, Kaspar Fischer va escriure:
>> Dear all,
>>
>> I need to archive webpages for a library and for this need to save
>> HTML as PDF files. If possible, the page background and the layout
>> should be retained (of course, it will get resized to A4 and be split
>> into several pages - that's all fine).
>>
>> What would be the best approach to accomplish something like this?
>> A script (in bash or whatever) is what I need in the end.
>>
>> Is DCOP and kprinter a good starting point?
>> Or can Konqueror be called from the command line with appropriate
>> options?
>>
>> I have never used DCOP so am a little at a loss how to get started.
>>
>> Many thanks for any pointers!
>> Kaspar
>
>
>
> -- 
> Albert Cervera i Areny
> http://www.NaN-tic.com<konqui.sh>





More information about the kfm-devel mailing list