mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 08:16:04 +02:00
Printers: missing patch for custom size papers for linux
git-svn-id: trunk@63932 -
This commit is contained in:
parent
ebc3a1947b
commit
88bacf3d62
@ -67,7 +67,8 @@ type
|
||||
cpsPaperNameValid,
|
||||
cpsCopiesValid,
|
||||
cpsPaperRectValid,
|
||||
cpsResolutionValid
|
||||
cpsResolutionValid,
|
||||
cpsCustomPaperValid
|
||||
);
|
||||
TCUPSPrinterStates = set of TCUPSPrinterState;
|
||||
|
||||
@ -95,9 +96,11 @@ type
|
||||
fRawModeStream: TMemoryStream;
|
||||
FOutputFilename: string;
|
||||
fCachedResolution: TPoint;
|
||||
fCustomPaperWidth,fCustomPaperHeight: double;
|
||||
|
||||
function GetCupsRequest : Pipp_t;
|
||||
procedure DoCupsConnect;
|
||||
procedure DoCustomPaper;
|
||||
|
||||
private
|
||||
fCupsPapersCount: Integer;
|
||||
@ -126,6 +129,7 @@ type
|
||||
procedure DoSetPaperName(aName : string); override;
|
||||
function DoGetPaperRect(aName : string;
|
||||
var aPaperRc: TPaperRect): Integer; override;
|
||||
function DoSetPaperRect(aPaperRc: TPaperRect): boolean; override;
|
||||
function DoGetPrinterState: TPrinterState; override;
|
||||
function DoGetDefaultCanvasClass: TPrinterCanvasRef; override;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user