]> git.saurik.com Git - wxWidgets.git/blame - docs/doxygen/overviews/unixprinting.h
compilation fix for pch-less build
[wxWidgets.git] / docs / doxygen / overviews / unixprinting.h
CommitLineData
15b6757b
FM
1/////////////////////////////////////////////////////////////////////////////
2// Name: unixprinting
3// Purpose: topic overview
4// Author: wxWidgets team
5// RCS-ID: $Id$
6// Licence: wxWindows license
7/////////////////////////////////////////////////////////////////////////////
8
9/*!
36c9828f 10
75b31b23 11 @page overview_unixprinting Printing under Unix (GTK+)
36c9828f 12
15b6757b
FM
13 Printing under Unix has always been a cause of problems as Unix
14 does not provide a standard way to display text and graphics
15 on screen and print it to a printer using the same application
16 programming interface - instead, displaying on screen is done
17 via the X11 library while printing has to be done with using
18 PostScript commands. This was particularly difficult to handle
19 for the case of fonts with the result that only a selected
20 number of application could offer WYSIWYG under Unix. Equally,
21 wxWidgets offered its own printing implementation using PostScript
22 which never really matched the screen display.
2a90143f 23
15b6757b
FM
24 Starting with version 2.8.X, the GNOME project provides printing
25 support through the libgnomeprint and libgnomeprintui libraries
26 by which especially the font problem is mostly solved. Beginning
27 with version 2.5.4, the GTK+ port of wxWidgets can make use of
28 these libraries if wxWidgets is configured accordingly and if the
29 libraries are present. You need to configure wxWidgets with the
30 @e configure --with-gnomeprint switch and your application will
31 then search for the GNOME print libraries at runtime. If they
32 are found, printing will be done through these, otherwise the
33 application will fall back to the old PostScript printing code.
34 Note that the application will not require the GNOME print libraries
35 to be installed in order to run (there will be no dependency on
36 these libraries).
2a90143f 37
36c9828f
FM
38 In version GTK+ 2.10, support for printing has been added to GTK+
39 itself. Beginning with version wxWidgets 2.9.X, the GTK+ port of
15b6757b
FM
40 wxWidgets can make use of this feature
41 if wxWidgets is configured accordingly and if the GTK+ version is = 2.10.
42 You need to configure wxWidgets with the @e configure --with-gtkprint
43 switch and your application will then search for the GTK+ print support
44 at runtime. If it is found, printing will be done through GTK+, otherwise the
45 application will fall back to GNOME printing support if it is available or,
46 if it isn't, to the old PostScript printing code.
47 Note that the application will not require a GTK+ version = 2.10
48 to be installed in order to run (there will be no dependency on
49 this version).
36c9828f 50
15b6757b 51 */
36c9828f
FM
52
53