2008-02-18 19:04:03 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2008-03-01 23:32:30 -05:00
|
|
|
// Name: unixprinting.h
|
2008-02-18 19:04:03 -05:00
|
|
|
// Purpose: topic overview
|
|
|
|
// Author: wxWidgets team
|
2010-07-13 09:29:13 -04:00
|
|
|
// Licence: wxWindows licence
|
2008-02-18 19:04:03 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2008-03-12 04:50:42 -04:00
|
|
|
/**
|
2008-02-19 08:28:24 -05:00
|
|
|
|
2008-03-01 23:32:30 -05:00
|
|
|
@page overview_unixprinting Printing Under Unix (GTK+)
|
|
|
|
|
|
|
|
Printing under Unix has always been a cause of problems as Unix does not
|
|
|
|
provide a standard way to display text and graphics on screen and print it to a
|
|
|
|
printer using the same application programming interface - instead, displaying
|
|
|
|
on screen is done via the X11 library while printing has to be done with using
|
|
|
|
PostScript commands. This was particularly difficult to handle for the case of
|
|
|
|
fonts with the result that only a selected number of application could offer
|
|
|
|
WYSIWYG under Unix. Equally, wxWidgets offered its own printing implementation
|
|
|
|
using PostScript which never really matched the screen display.
|
|
|
|
|
2013-10-01 13:09:02 -04:00
|
|
|
Since GTK+ 2.10, support for printing has been added to GTK+ itself and
|
|
|
|
beginning with wxWidgets 2.9, GTK+ printing is used by default (i.e. unless
|
2016-10-20 15:47:37 -04:00
|
|
|
<tt>\--without-gtkprint</tt> was explicitly used when configuring the library).
|
2013-10-01 13:09:02 -04:00
|
|
|
Support for GTK+ print is detected dynamically, i.e. during the run-time: if it
|
|
|
|
is found, printing will be done through GTK+, otherwise the application will
|
|
|
|
fall back to the old PostScript printing code. This allows the applications
|
|
|
|
built with wxWidgets to still work on the very old systems using GTK+ earlier
|
|
|
|
than 2.10.
|
2008-03-01 23:32:30 -05:00
|
|
|
|
|
|
|
*/
|