ali irawan
October 6th, 2009, 01:06 PM
I have a case that printing using Java API.
I build a simple application in Java, and deploy it on Tomcat (Linux)
When I test to print, with the specified PrintService
the print is attached to Windows computer
and has been recognized by linux
I do query the Print Service using java method.
PrinterJob.lookupPrintServices()
and get the print Service. then start to Print.
but it failed, and produce error "No Spool File"
then I test on Windows, using Tomcat too.
And it can print correctly without any errors.
Anyone can help what should I do ?
I build a simple application in Java, and deploy it on Tomcat (Linux)
When I test to print, with the specified PrintService
the print is attached to Windows computer
and has been recognized by linux
I do query the Print Service using java method.
PrinterJob.lookupPrintServices()
and get the print Service. then start to Print.
but it failed, and produce error "No Spool File"
then I test on Windows, using Tomcat too.
And it can print correctly without any errors.
Anyone can help what should I do ?