Re: [gnome-print] cups and lpr



On Wed, 2002-07-10 at 09:01, Cláudio Roger wrote:
> hi its me again
> i already have some code querying cups for printers
> and it works.
> now my question is:
>     gnome-print-dialog-master can be alter?

We don't need to modify gnome-print-dialog, we need to add code to fetch
printers. See how the PDF & PS printers are fetched from XML files on
libgnomeprint head, we do the same but instead of fetching them from XML
files on disk, we query cups.
 
> and  what about add -lcups to gnomeprint Makfile? can  be done or do i 
> have to implement the all cups system from scratch because gnomeprint 
> policie doesn't allow dependencies of other libs to compile?

We will load modules for backends, so there is no need to add -lcups to
libgnomeprint, the modules will link to cups and we will g_module_open
them.

regards,
Chema






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]