Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4456

PrintPDF doesn't support 1:1 printer name matching

    XMLWordPrintableJSON

    Details

      Description

      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":

      if (printService[i].getName().contains(printerName))

        Attachments

          Activity

            People

            • Assignee:
              tilman Tilman Hausherr
              Reporter:
              tilman Tilman Hausherr
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: