File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other JSE/JEE APIs and the fly likes PrinterException: No Spool File Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "PrinterException: No Spool File" Watch "PrinterException: No Spool File" New topic

PrinterException: No Spool File

hernan silberman

Joined: Nov 20, 2001
Posts: 27
Hi there...
I've had a difficult time investigating this problem and I'm starting to convince myself that it's a problem with the underlying printer configuration on my computer. Any insight is most appreciated.
I'm using the Java Print API on a Redhat 7.1 system (Blackdown VM 1.4.0_01) and I'm getting the attached exception when my job goes to print.
Any ideas what might be wrong? The same code executes fine on another host configured similarly. I'm at a loss about how to investigate
this exception.
java.awt.print.PrinterException: No spool file
at sun.print.PSPrinterJob$
at Method)
at sun.print.PSPrinterJob.endDoc(
at sun.print.RasterPrinterJob.print(
at sun.print.RasterPrinterJob.print(
at com.dw.stylereport.notes.ReportUtil.printReport(
at com.dw.stylereport.notes.AssetNotesReport.createReport(
at inetsoft.sree.BasicReplet.generate(
at inetsoft.sree.RepletEngine.generate0(
at inetsoft.sree.RepletEngine.generate(
at inetsoft.sree.internal.SmartRepository.generate(
at inetsoft.sree.web.ServletRepository$
I agree. Here's the link:
subject: PrinterException: No Spool File
It's not a secret anymore!