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

javax.print lacks API to cancel a print job

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • client-libs
    • None
    • 2d
    • beta
    • sparc
    • solaris_7

      The javax.print API allows a print job to be created, submitted. monitored
      and to track cancellation of the print job, but not actually to request
      the cancellation.
      The Jini design on which this based allowed a job to support cancellation
      via optionally implementing an interface CancelablePrintJob which extended
      the PrintJob interface. A client could determine if the print job
      implemented this interface and if so cast and call its cancel method.
      If the cancel operation failed (eg the job was already printed) then a
      suitable exception would be thrown.
      Similar functionality should also be added to the javax.print API.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: