unixprinting.h 1.5 KB

123456789101112131415161718192021222324252627282930
  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name: unixprinting.h
  3. // Purpose: topic overview
  4. // Author: wxWidgets team
  5. // Licence: wxWindows licence
  6. /////////////////////////////////////////////////////////////////////////////
  7. /**
  8. @page overview_unixprinting Printing Under Unix (GTK+)
  9. Printing under Unix has always been a cause of problems as Unix does not
  10. provide a standard way to display text and graphics on screen and print it to a
  11. printer using the same application programming interface - instead, displaying
  12. on screen is done via the X11 library while printing has to be done with using
  13. PostScript commands. This was particularly difficult to handle for the case of
  14. fonts with the result that only a selected number of application could offer
  15. WYSIWYG under Unix. Equally, wxWidgets offered its own printing implementation
  16. using PostScript which never really matched the screen display.
  17. Since GTK+ 2.10, support for printing has been added to GTK+ itself and
  18. beginning with wxWidgets 2.9, GTK+ printing is used by default (i.e. unless
  19. <tt>--without-gtkprint</tt> was explicitly used when configuring the library).
  20. Support for GTK+ print is detected dynamically, i.e. during the run-time: if it
  21. is found, printing will be done through GTK+, otherwise the application will
  22. fall back to the old PostScript printing code. This allows the applications
  23. built with wxWidgets to still work on the very old systems using GTK+ earlier
  24. than 2.10.
  25. */