File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCM Java EE 6 Enterprise Architect Exam Guide
this week in the
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
rocket mass heater
subject: Printing from Excel Sheet
create a excel sheet fom java and jsp
WA #1.....word association
handling excel sheet with java
Copying a sheet from an excel file to another excel file using Apache POI
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014