[wx-dev] New printing code for GTK+ in CVS
Alex Bligh
alex at alex.org.uk
Sun Oct 21 14:34:48 PDT 2007
--On 21 October 2007 23:04:34 +0200 Robert Roebling <robert at roebling.de>
wrote:
> Am I right that what you really only need is the printer
> name after invoking wxPrintDialog. Looking at the source,
> it seems that wxGtkPrintNativeData::Transfer() doesn't
> set the printer name but
>
> http://developer.gimp.org/api/2.0/gtk/GtkPrintSettings.html#gtk-print-set
> tings-get-printer
>
> can probably be used for that. Is that all you need?
I have to admit to it being a good while since I looked at it, but I think
I need a little bit more than the printer name. Specifically, I need all the
stuff that can be configured in the GnomePrint UI - for instance the number
of copies. Dark in the recesses of memory is also a feeling the GTK Print
UI actually offers some unhelpful (meaning duplicative) stuff as well.
One thing GTK Print would be very useful for is reading paper sizes and
printable areas, which (as I'm sure you know) is not nice under GnomePrint.
Alex
More information about the wx-dev
mailing list