Printing via Konqueror
Des Dougan
des at DouganConsulting.com
Wed Mar 17 06:45:14 GMT 2004
On Tue, 2004-03-16 at 19:29, James Richard Tyrer wrote:
> Des Dougan wrote:
> > In that other OS, I can select files, right click and select "Print"
> > (with the default application). Can I do this in Konq? I can't see a
> > menu option to allow me to do this.
>
> AFAIK, you can't do that in *NIX.
>
> It might be possible for you to set it up if (and only if) your application
> will print a file using the command line. But, this would be for each
> application, there is no general way to do it.
>
> If the application will print from the command line you need to add the
> command to the: 'desktop' file like it is for: "Eject":
>
> [Desktop Action Eject]
> Exec=/usr/bin/eject /dev/hdc
> Name=Eject
>
> [Desktop Entry]
> Actions=Eject
>
> So it would be something like this in the 'desktop' file for the menu:
>
> [Desktop Action Print]
> Exec="/usr/local/OpenOffice.org1.1.0/program/swriter" -p %F
> Name=Print
>
> [Desktop Entry]
> Actions=Print
>
> Where the: "Exec" needs to be the correct command for your application.
> This is for OpenOffice Writer. I haven't tried this but it should work.
James,
Thanks for your reply. I'd like to try your suggestion (OOo and Acrobat
are the two applications I'd most use this for); however, I have no
"desktop" file that I can find in my KDE environment, nor can I find a
reference in the online help. If you're referring to the *.desktop
config files, I don't have one that covers the Eject command (I'm
running SuSE 9, if that has an impact).
Des
--
Des Dougan, Principal
Dougan Consulting Group
Ph: 604-980-2848 Email: des at DouganConsulting dot com
www.DouganConsulting.com
Design - Implementation - Support
___________________________________________________
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
More information about the kde
mailing list