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

PrintJob: need ability to specify the printer to use, which tray, two sided, etc

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.1
    • client-libs
    • 2d
    • generic
    • generic



      Name: skT88420 Date: 05/06/99


      Would like the extension of the PrintJob method

      public static PrinterJob getPrinterJob()

      into

      public static PrinterJob getPrinterJob(URL printer)

      So we can specify the printer to use, of course it hasn't to be
      an URL, it could even be some Printer-class (preferable!).

      We need this feature, because we have to print lots of documents
      and they are of different types. Now our app has to select the
      printer automaticaly without prompting the user for it every time. It
      has even to select the printer tray. Therefore the getPrinterJob
      should take a Printer-instance as an argument, where the
      Printer-class defines a printer, the tray and other optional settings
      like double sided printing and so on.

      The old version of our app, written in DOS, was able to do all
      of this, we have it running in companies where 7 printers with
      until to 5 trays get managed. Of course our new version has to
      manage it also.

      This is a critical part of our application!

      Thanks
         Patrick
      (Review ID: 57751)
      ======================================================================

            Unassigned Unassigned
            skonchad Sandeep Konchady
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: