X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f415cab9ef1433413a1a68a982ee9b17c5a8deda..c52b96359b639cda516615f9433d3b20b35443b5:/docs/latex/wx/tprint.tex diff --git a/docs/latex/wx/tprint.tex b/docs/latex/wx/tprint.tex index 20ad4d355b..db064e4927 100644 --- a/docs/latex/wx/tprint.tex +++ b/docs/latex/wx/tprint.tex @@ -23,6 +23,10 @@ In most cases, the only class you will need to derive from is A brief description of each class's role and how they work together follows. +For the special case of printing under Unix, where various different +printing backends have to be offered, please have a look at the +\helpref{Unix printing overview}{unixprinting}. + \subsection{\helpref{wxPrintout}{wxprintout}} A document's printing ability is represented in an application by a derived @@ -187,7 +191,6 @@ queries these data structures to get information like the printed page range wxPageSetupDialogData). - \section{Printing under Unix (GTK+)}\label{unixprinting} Printing under Unix has always been a cause of problems as Unix @@ -207,7 +210,7 @@ by which especially the font problem is mostly solved. Beginning with version 2.5.4, the GTK+ port of wxWidgets can make use of these libraries if wxWidgets is configured accordingly and if the libraries are present. You need to configure wxWidgets with the -{\it configure --with-gnomeprint} switch and you application will +{\it configure --with-gnomeprint} switch and your application will then search for the GNOME print libraries at runtime. If they are found, printing will be done through these, otherwise the application will fall back to the old PostScript printing code. @@ -215,6 +218,16 @@ Note that the application will not require the GNOME print libraries to be installed in order to run (there will be no dependency on these libraries). -It is expected that the printing code that is currently implemented -in the GNOME print libraries will be moved into GTK+ later. +In version GTK+ 2.10, support for printing has been added to GTK+ +itself. Beginning with version wxWidgets 2.9.X, the GTK+ port of +wxWidgets can make use of this feature +if wxWidgets is configured accordingly and if the GTK+ version is >= 2.10. +You need to configure wxWidgets with the {\it configure --with-gtkprint} +switch and your application will then search for the GTK+ print support +at runtime. If it is found, printing will be done through GTK+, otherwise the +application will fall back to GNOME printing support if it is available or, +if it isn't, to the old PostScript printing code. +Note that the application will not require a GTK+ version >= 2.10 +to be installed in order to run (there will be no dependency on +this version).