Printing: can't set printer through API

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: 8
    • Component/s: javafx

      When I set printer for printer job with printerJob.setPrinter() it still uses a default printer to print. However in printer job settings will be printer that was passed as a parameter.
      To reproduce:
      Run attached project
      From combobox select printer different from your default one. Do it two or more times. This is important because first time it creates job with a static constructor and then just set different printers to it
      Click "Print". It will print it's printer from job settings to the console.
      Check which it used for real. This will be default printer.

            Assignee:
            Philip Race
            Reporter:
            Aleksandr Sakharuk (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: