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

RFE : PrinterJob.setPrintTo(int) & PrinterJob.setFileName(String)

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 1.4.0
    • 1.2.2
    • client-libs
    • None
    • 2d
    • beta
    • sparc
    • solaris_2.6

      New API request for the class java.awt.print.PrinterJob :

          /**
           * Print to Printer or Print to File.
           * static int PRINTER = 0;
           * static int FILE = 1;
           */
          public void setPrintTo(int type);

          /**
           * When printing to file set the file name.
           */
          public void setFileName(String name);


      Having these APIs would help save trees in automation testing.

      =============================

      It is now possible (as of merlin aka 1.4) to set a destination for a
      printerjob if a print service supports it.

      phil.race@eng 2000-11-15
      ==============================

            prr Philip Race
            blichtensunw Brian Lichtenwalter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: