Re: libgnomeprint cups backend vs libgnomecups

Colin Walters <[email protected]> Fri, 18 Jun 2004 14:47:16 -0400
Newsgroups gmane.comp.gnome.print
Message-ID <[email protected]>
On Fri, 2004-06-18 at 14:28, Danek Duvall wrote:
> On Fri, Jun 18, 2004 at 02:06:42PM -0400, Matthias Clasen wrote:
> 
> > Colin and I have been busy hacking the cups module in libgnomeprint to
> > make it use libgnomecups, which allows us to display and update printer
> > state information in the print dialog. 
> 
> So I'm not completely up on the complete printing architecture of GNOME, so
> this may be a stupid question, but why have both libgnomeprint and
> libgnomecups?  What purpose does it serve to abstract the CUPS API, and
> just the CUPS API, in a library?  

Two reasons:
1) It's a more GNOME-y API, using GObject, etc.
2) It implements polling.

> Would those abstractions or enhancements
> be better off in the CUPS API itself?

The polling could go into the CUPS API in theory.  But it'd be trickier
because CUPS can't directly use the glib mainloop, etc.

_______________________________________________
gnome-print-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-print-list
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBA0zizOIkJWWp2WGURAsuBAJ99UoTqHwY2xvjGcKslTOAcDT21bQCeN+RQ
kMB096KY+nv+4/Ma/trci+c=
=0XmV
-----END PGP SIGNATURE-----