[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnome-print
Subject:    Re: [gnome-print] cups and lpr
From:       Chema Celorio <chema () ximian ! com>
Date:       2002-07-11 1:39:02
[Download RAW message or body]

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



_______________________________________________
gnome-print maillist  -  gnome-print@ximian.com
http://lists.ximian.com/mailman/listinfo/gnome-print
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic