Bug 84046 - non-interactive printing of documents via DCOP
Summary: non-interactive printing of documents via DCOP
Status: RESOLVED FIXED
Alias: None
Product: koffice
Classification: Applications
Component: general (show other bugs)
Version: 1.3.1
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: KOffice Bug Wranglers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-26 21:36 UTC by Dik Takken
Modified: 2009-10-29 23:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dik Takken 2004-06-26 21:36:18 UTC
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.
Comment 1 Brad Hards 2004-06-28 12:25:54 UTC
Is it enough that it prints using whatever is the default printer / printer settings?
Comment 2 Dik Takken 2004-06-28 12:51:56 UTC
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?
Comment 3 Kurt Pfeifle 2007-01-24 22:09:49 UTC
How to fetch a list of printer names:

  lpstat -h cups-server -p
  lpstat -p                   # defaults to "-h localhost"
Comment 4 Thomas Zander 2009-10-29 23:07:31 UTC
We have command line based printing now, I consider that a solution to the problem.