wood burning stoves
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

Win a copy of Building Microservices this week in the Design forum!
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$PrinterSpooler.run(PSPrinterJob.java:658)
at java.security.AccessController.doPrivileged(Native Method)
at sun.print.PSPrinterJob.endDoc(PSPrinterJob.java:717)
at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1082)
at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:970)
at com.dw.stylereport.notes.ReportUtil.printReport(ReportUtil.java:56)
at com.dw.stylereport.notes.AssetNotesReport.createReport(AssetNotesReport.java:105)
at inetsoft.sree.BasicReplet.generate(BasicReplet.java:107)
at inetsoft.sree.RepletEngine.generate0(RepletEngine.java:566)
at inetsoft.sree.RepletEngine.generate(RepletEngine.java:548)
at inetsoft.sree.internal.SmartRepository.generate(SmartRepository.java:210)
at inetsoft.sree.web.ServletRepository$1.run(ServletRepository.java:1712)
I agree. Here's the link: http://aspose.com/file-tools
subject: PrinterException: No Spool File
It's not a secret anymore!