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

RFE: Provide option for displaying native print and page dialogs when using an AttributeSet

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 7
    • 7
    • client-libs
    • None
    • 2d
    • b20
    • generic
    • generic

        PrinterJob.printDialog() and PrinterJob.pageDialog() always display
        the windows native print dialog

        Conversely
        PrinterJob.printDialog(PrintRequestAttributeSet) and
        PrinterJob.pageDialog(PrintRequestAttributeSet)

        always display the cross-platform dialog.

        Many options such as Sides, Collation etc can be changed when using
        the native dialog, but there is no way for an interested application
        to query these, nor to specify them as defaults if using the native
        dialog.

        Internally we already have support for using attributes with
        the native dialog. In fact that's how all these options are stored.
        We also have an internal enum attribute class which we use to
        decide which dialog to display.

        We should promote it to API

              prr Philip Race
              prr Philip Race
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: