how can I obtain selected printer name?
"Wright, Brian D." <[email protected]> Mon, 25 Jul 2005 11:21:10 -0400
| Newsgroups | gmane.comp.gnome.print |
|---|---|
| Message-ID | <[email protected]> |
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: '[email protected]' > 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.