how can I obtain selected printer name?

View: New views
1 Messages — Rating Filter:   Alert me  

how can I obtain selected printer name?

by Wright, Brian D. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

        I did not receive any responses to this previous question, but I
continue to struggle with this item.  I have figured out how to tell color
vs. black&white for a given printer name by using some CUPS library
routines.  So my new question is: how do I determine which printer was
selected in the Gnome Print Dialog?  I'm looking for something like a
gnome_print_config_get_XXXXXXXX() function that would return printer name.

>  -----Original Message-----
> From: Wright, Brian D.  
> Sent: Friday, May 27, 2005 4:18 PM
> To: 'gnome-print-list@...'
> Subject: printer type (color vs. black&white)?
>
> How can I tell if the user has selected a color printer or a
> black&white printer?  I want to call gnome_print_setrgbcolor() only if I
> am printing to a color printer.  I called gnome_print_config_dump(), but I
> don't see anything that tells me color vs. black&white.
_______________________________________________
gnome-print-list mailing list
gnome-print-list@...
http://mail.gnome.org/mailman/listinfo/gnome-print-list