Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8315113

Print request Chromaticity.MONOCHROME attribute does not work on macOS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • client-libs
    • OS: macOS
      JDK: 11.0.19

    • Cause Known
    • os_x

      Steps to reproduce:

      - Run the attached PrintGrayscale sample which uses Chromaticity.MONOCHROME attribute to print a monochrome page on macOS
      ------------
              PrintRequestAttributeSet attr = new HashPrintRequestAttributeSet();
              attr.add(Chromaticity.MONOCHROME);
              ...
              PrinterJob job = PrinterJob.getPrinterJob();
              job.print(attr);
      ------------

      ------------
      > java PrintGrayscale
      Default service: IPP Printer : HP Ink Tank 110 series
      Print with chromaticity: monochrome
      ------------

      The page is printed as color instead of monochrome.

            alexsch Alexandr Scherbatiy
            alexsch Alexandr Scherbatiy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: