As far as I am aware (and bear in mind that I could very well be wrong) HSSF is 
an API that allows you to generate Excel spreadsheets and does not have any 
support for printing. I managed to get around exactly the same problem by using 
OLE but this is a far from perfect solution as it caused almost as many 
problems as it solved; it is however one possible solution.

I know there is a tool that someone wrote that is a wrapper around JNI, making 
it far more easy to use external applications in a way that mimics Microsoft's 
COM model. I cannot remember the name at the moment but will have a dig around 
on my PC as I seem to remember testing it sometime in the past.

kruce lee <[EMAIL PROTECTED]> wrote: Hi everybody
How to print a excel file automatically when I get the file path or resource.
Can someone give me a snippet.
Any help would be highly appreciated
kruce.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/



                
---------------------------------
Get your email and more, right on the  new Yahoo.com 

Reply via email to