Bug 84046

Summary: non-interactive printing of documents via DCOP
Product: [Unmaintained] koffice Reporter: Dik Takken <kde>
Component: generalAssignee: KOffice Bug Wranglers <koffice-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 1.3.1   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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.