lazarus/components/printers
2006-12-06 23:41:42 +00:00
..
design
lib
samples
unix added define to get a copy of cups print out 2006-12-06 23:41:42 +00:00
win32
Makefile
Makefile.fpc
osprinters.pas
printer4lazarus.lpk
printer4lazarus.pas
printersdlgs.lrs
printersdlgs.pp
readme.txt

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

This package add 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 :
  Yous must install CUPS and libcups v1.1.19 or more.

FAQ : 
  Q:If I use Printers unit, the call of printer object générate an exception "Access Violation"
  R:Add in uses clause of your project, osPrinters