Job.getOutputName method
getOutputName
String getOutputName()
Gets the name of the output file or the name of the spool-job (on Microsoft Windows printers).
Returns
The name of the output file or the name of the spool-job (on Microsoft Windows printers).