how can I obtain selected printer name?

	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 gnome org'
> 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.

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