John Layt johnlayt at
Sat Nov 3 17:31:53 GMT 2007

On Saturday 03 November 2007, Alex Merry wrote:
> On Saturday 03 Nov 2007, Kurt Pfeifle wrote:
> > I still think it is better to use something like "cupsdoprint" in
> > KDE3 than directly using the commandline print commands.
> I think you may be right.  It's a single file, and reasonably
> straightforward.  Currently, it uses dcop (which is no more) to ask
> kdeprintd (which is no more) for the CUPS password in case it is
> needed.  Other than that, it's just a simple command line utility to
> send stuff to cups.
> playground/base/kdeprint/libkdeprint/cups/cupsdoprint.c
> Alex

I had thought about that, but it then adds a compile time dependency on CUPS 
for every app that includes it, and each app would have to name it something 
different to prevent install clashes.  I wasn't sure the maintainers or 
packagers would be too happy about that.  Besides, we wouldn't get any extra 
features over using lp/lpr, QPrinter/QPrintDialog doesn't give us access to 
all the possible options we would like.



Send instant messages to your online friends 

More information about the kde-core-devel mailing list