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

List:       gnome-print
Subject:    how can I obtain selected printer name?
From:       "Wright, Brian D." <brian.wright () pw ! utc ! com>
Date:       2005-07-25 15:21:10
Message-ID: 81B2BC79D869FB45AF37810600970DEF0175EC3D () puswpe02 ! pwfl ! com
[Download RAW message or body]

	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.
_______________________________________________
gnome-print-list mailing list
gnome-print-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-print-list
[prev in list] [next in list] [prev in thread] [next in thread] 

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