mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-25 13:43:15 +02:00
Printer, fix cups printer default paper, from C. Western, issue #15992
git-svn-id: trunk@23998 -
This commit is contained in:
parent
19a69132a3
commit
75952cf1f0
@ -844,7 +844,7 @@ begin
|
||||
begin
|
||||
Option := ppdFindOption(CupsPPD, PChar('PageSize'));
|
||||
Choice := Option^.choices;
|
||||
fCupsDefaultPaper := Choice^.choice;
|
||||
fCupsDefaultPaper := Option^.defchoice;
|
||||
c := 0;
|
||||
while (Choice<>nil) and (c<Option^.num_choices) do
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user