This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "PrinterException: No Spool File" Watch "PrinterException: No Spool File" New topic
Author

PrinterException: No Spool File

hernan silberman
Greenhorn

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.
Thanks...
hernan
--------------------------------------
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
 
Similar Threads
Printing problem in Unix
Printing in Unix
Printing from an applet on a Mac
Print Problem...
sun.awt.windows.WPrinterJob._startDoc HANGS FOREVER