A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Other JSE/JEE APIs
Printing from Excel Sheet
Joined: Nov 02, 2005
Aug 22, 2006 03:04:00
AS per my requirement I need to print the data from
api (not with AWT and swing).
Joined: Mar 22, 2005
Aug 22, 2006 03:27:00
If you don't mind a hackish solution:
save the file to be printed to a well-known filename, e.g. "tmp.xls"
use the Runtime class to start Excel with a particular file, e.g. "printing.xls"
"printing.xls" should contain a macro that opens "tmp.xls" and prints it
Obviously this method has a number of limitations and drawbacks, but it will get the job done.
Ping & DNS
- my free Android networking tools app
I agree. Here's the link:
subject: Printing from Excel Sheet
Copying a sheet from an excel file to another excel file using Apache POI
handling excel sheet with java
WA #1.....word association
create a excel sheet fom java and jsp
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014