mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-05 18:12:39 +02:00
65 lines
1.9 KiB
ObjectPascal
65 lines
1.9 KiB
ObjectPascal
{
|
|
***************************************************************************
|
|
osprinters.pas
|
|
------------
|
|
Printer object
|
|
Initial Revision : 09 Mars 2005
|
|
|
|
***************************************************************************
|
|
|
|
*****************************************************************************
|
|
* *
|
|
* This file is part of the Lazarus Component Library (LCL) *
|
|
* *
|
|
* See the file COPYING.modifiedLGPL, included in this distribution, *
|
|
* for details about the copyright. *
|
|
* *
|
|
* This program is distributed in the hope that it will be useful, *
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
|
|
* *
|
|
*****************************************************************************
|
|
|
|
Author: Olivier
|
|
|
|
Abstract :
|
|
Unit to centralize the implementation of Printer according to the target OS
|
|
|
|
history
|
|
09/03/2005 OG - Create
|
|
-----------------------------------------------------------------------------}
|
|
unit OSPrinters;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
interface
|
|
|
|
|
|
{$IFDEF UNIX}
|
|
{$IFDEF LCLCarbon}
|
|
{$I carbonprinters_h.inc}
|
|
{$ELSE}
|
|
{$I cupsprinters_h.inc}
|
|
{$ENDIF}
|
|
{$ENDIF}
|
|
|
|
{$IFDEF MSWindows}
|
|
{$I winprinters_h.inc}
|
|
{$ENDIF}
|
|
|
|
implementation
|
|
|
|
{$IFDEF UNIX}
|
|
{$IFDEF LCLCarbon}
|
|
{$I carbonprinters.inc}
|
|
{$ELSE}
|
|
{$I cupsprinters.inc}
|
|
{$ENDIF}
|
|
{$ENDIF}
|
|
|
|
{$IFDEF MSWindows}
|
|
{$I winprinters.inc}
|
|
{$ENDIF}
|
|
|
|
end.
|