[ 
https://issues.apache.org/jira/browse/PDFBOX-4456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16761960#comment-16761960
 ] 

Tilman Hausherr commented on PDFBOX-4456:
-----------------------------------------

I was too lazy this morning to copy and format the whole message. But your 
argument did convince me, obviously :)

Please test with the snapshot and give feedback (see also commit message, I did 
a bit more):

https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/2.0.14-SNAPSHOT/

> 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
>            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]

Reply via email to