Version: 1.3.1 (using KDE KDE 3.2.2) Installed from: Compiled From Sources OS: Linux I would like to be able to print an open document via DCOP, in a non-interactive way. I need it to write shell scripts that can auto-generate documents and send them to a printer.
Is it enough that it prints using whatever is the default printer / printer settings?
I would prefer being able to specify a printer name. There is one problem though. It seems like it isn't possible to fetch a list of printer names via DCOP... I don't see any DCOP enabled kdeprint process running. Any ideas on how to fetch a list of printer names?
How to fetch a list of printer names: lpstat -h cups-server -p lpstat -p # defaults to "-h localhost"
We have command line based printing now, I consider that a solution to the problem.