[
https://issues.apache.org/jira/browse/PDFBOX-4456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr resolved PDFBOX-4456.
-------------------------------------
Resolution: Fixed
Assignee: Tilman Hausherr
Thanks for the feedback!
> PrintPDF doesn't support 1:1 printer name matching
> --------------------------------------------------
>
> Key: PDFBOX-4456
> URL: https://issues.apache.org/jira/browse/PDFBOX-4456
> Project: PDFBox
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 2.0.13
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Major
> Labels: PrintPDF, print, printing
> Fix For: 2.0.14, 3.0.0 PDFBox
>
>
> From Thorsten Schöning on the users mailing list:
> When using the argument "-printerName FreePDF" on the shell, one of
> the printers using an additional profile is used to actually print
> instead of the one I expected. The reason is that printer names are
> not matched 1:1 or using some glob syntax or whatever, but using
> "contains":
> {quote}if (printService[i].getName().contains(printerName)){quote}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]