Skip to content

Commit d61b997

Browse files
committed
-fixed an issue with the prefix
1 parent 4db4201 commit d61b997

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SkiSys.GS_Converter.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ function TGS_PdfConverter.Print(const InFiles: array of string;
367367
// set the printer device for windows
368368
if (Params.Device <> DEVICES_PRINTERS[MSWindowsPrinter]) then
369369
Params.Device := DEVICES_PRINTERS[MSWindowsPrinter];
370-
if (PrinterName.StartsWith('%printer%')) then
370+
if (not PrinterName.StartsWith('%printer%')) then
371371
Params.OutputFile := '%printer%' + Printername
372372
else
373373
Params.OutputFile := Printername;

0 commit comments

Comments
 (0)