lazarus/components/printers
paul 664e34e4a6 components: fix compilation
git-svn-id: trunk@23707 -
2010-02-15 11:41:02 +00:00
..
carbon Printers: Carbon, Remove useless ValidatePageFormat, from Dmitry, issue #14381 2009-08-19 16:39:09 +00:00
design Changed remaining translation files encoding to UTF-8 2009-07-27 19:26:45 +00:00
images Printers4lazarus images: drawed printer smaller in image for TPageSetupDialog and TPrinterSetupDialog 2007-12-18 15:00:03 +00:00
lib renamed README files to README.txt 2006-07-21 18:31:15 +00:00
qt Qt: removed qt-4.3 workaround 2009-11-30 09:21:42 +00:00
samples Printers, added TPrinter.FileName property, based on patch from mtournay, issue #13718 2009-07-07 05:09:52 +00:00
unix Printers, added TPrinter.FileName property, based on patch from mtournay, issue #13718 2009-07-07 05:09:52 +00:00
win32 components: fix compilation 2010-02-15 11:41:02 +00:00
Makefile Printers(cups), fix printer orientation problem (issue #13488), advanced options in printer properties dlg, started pagesetup dlg, etc. 2009-04-13 16:15:27 +00:00
Makefile.fpc Printers(cups), fix printer orientation problem (issue #13488), advanced options in printer properties dlg, started pagesetup dlg, etc. 2009-04-13 16:15:27 +00:00
osprinters.pas rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt 2008-07-22 09:48:15 +00:00
printer4lazarus.lpk printers: fixed compilation on windows. 2009-04-13 18:01:32 +00:00
printer4lazarus.pas IDE: build modes: draw mode groups 2009-12-20 23:52:13 +00:00
printersdlgs.lrs Printers4lazarus images: drawed printer smaller in image for TPageSetupDialog and TPrinterSetupDialog 2007-12-18 15:00:03 +00:00
printersdlgs.pp Qt: removed qt-4.3 workaround 2009-11-30 09:21:42 +00:00
readme.txt Printers4Lazarus: initial implementation of native Carbon printing, use -dNativePrint to try it 2007-12-01 15:12:29 +00:00

Printer4Lazarus package
=======================

This package adds some components.
  TPrinterSetupDialog - for update properties of selected printer
  TPrintDialog        - for select and/or update an printer before printing
  TPageSetupDialog    - to select margins (currently only under Windows)

Win32:
  Native implementation 
 
  Notes:
  1.  TPrinter.CanRenderCopies return information if printer driver is able to print more then one copy at once. 
      Not all printers drivers support that feature (n that case programmer should print document requested times)

  2.  TPrintDialog.Options indicate which controls should be visible in dialog. 
      TPrintDialog.PrintToFile indicate that output will be redirected to file.
      
  3.  Known Issue: After adjusting resolution using Printer.AdvancedProperties. The DevMode structure
      shows the change correcly, but getting the value through Printer.XDPI the value is the old one.
      However after using the PrintSetup dialog, it returns the correct value. Other changes like
      the selected paper are correctly modified after AdvancedProperties, ... (?).

  
  
Linux and Mac OS X (gtk):
  Yous must install CUPS and libcups v1.1.19 or more.

Mac OS X (Carbon):
  Uses CUPS by default. You can use native implementation by adding compiler switch -dNativePrint.

  Notes: TPrinterSetupDialog is not supported.


FAQ: 
  Q: If I use Printers unit, the call of printer object generate an exception "Access Violation".
  A: Add in uses clause of your project, osPrinters.