-
Enhancement
-
Resolution: Fixed
-
P3
-
1.4.0
-
None
-
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.
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.