lazarus/components/printers
2022-11-15 15:56:47 +01:00
..
carbon Printers: Fix spelling in printers.pas and printer4lazarus pacakage. Issue #37941, patch from Don Siders. 2020-10-17 16:42:16 +00:00
cocoa Printers: Fix spelling in printers.pas and printer4lazarus pacakage. Issue #37941, patch from Don Siders. 2020-10-17 16:42:16 +00:00
design updated makefiles, fixed compile fpdebug with fpc 3.2.2 2022-11-13 13:23:46 +01:00
images
languages Translations: French translation update by Gilles Vasseur, issue #39487 2021-11-26 03:47:29 +03:00
qt Qt: proper conversion from widestring. 2022-11-15 15:56:47 +01:00
samples Component demos and samples, a lot of general fixes. 2022-05-01 08:45:46 +00:00
unix Printers: Disable one more UI item in unix TPageSetupDialog. Issue #39021, patch by CudaText man. 2021-06-22 06:03:56 +00:00
win32 Qt/Qt5/Win32: fixed page size and name (qt) and page orientation mismatch under win32. Patch by Joeny Ang. issue #39449 2021-11-02 15:55:49 +01:00
Makefile udpated makefiles 2022-05-29 19:34:19 +02:00
Makefile.compiled
Makefile.fpc updated makefiles, fixed compile fpdebug with fpc 3.2.2 2022-11-13 13:23:46 +01:00
osprinters.pas Qt6: started printing support for Qt6. 2022-11-15 15:36:22 +01:00
printer4lazarus.lpk
printer4lazarus.pas
printer4lazstrconst.pas Printer4Lazarus: Improve Unix Print Dialogs. Issue #38027, patch from Joeny Ang. 2020-11-05 11:47:34 +00:00
printersdlgs.pp Qt6: started printing support for Qt6. 2022-11-15 15:36:22 +01:00
printersdlgs.res
readme.txt

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.