print a website with dcop?

Kevin Krammer kevin.krammer at
Wed Jan 14 11:49:57 GMT 2004

On Wednesday 14 January 2004 12:36, Michael Renner wrote:
> Moin,
> with dcop I want to open a browser window, open a URL and print the webpage
> as soon as it is loaded. But how?
> Opening the browser and loading the URL is no problem
> dcop konqueror-947 konqueror-mainwindow#1 openURL
> But how can I print controlled by dcop? And maybe select which printer to
> use? I found no function for this. Not with dcop, neither with kdcop.
> kprinter is installed, the cups server is working, so it works if I press
> the 'print' button.

You can activate print in Konqueror with
dcop konqueror-649 qt/KXMLGUILClient-KActionCollection/print activate
but I think it will still popup a dialog and I am not sure if it can be 
controlled by DCOP.

Maybe using something like html2ps is a 
better approach.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <>
-------------- next part --------------
This message is from the kde mailing list.
Account management:
More info:

More information about the kde mailing list