You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2019/02/06 07:47:00 UTC

[jira] [Created] (PDFBOX-4456) PrintPDF doesn't support 1:1 printer name matching

Tilman Hausherr created PDFBOX-4456:
---------------------------------------

             Summary: 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
             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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org