File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other JSE/JEE APIs and the fly likes Javax.comm api, Printer info Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Javax.comm api, Printer info" Watch "Javax.comm api, Printer info" New topic

Javax.comm api, Printer info

kirty nahar

Joined: May 02, 2002
Posts: 11
Dear Friends
Can any one tell me that using javax.comm api how can I obtain the information about printer. I know connecting to parallel port & all, what I want is my prog should give me information as to name of printer, no of pages printed in todays date etc.
Kindly let me know if there's some other api used for this..
Joel McNary

Joined: Aug 20, 2001
Posts: 1824

Welcome to JavaRanch! We hope that you enjoy your stay and that we can help you in whatever way we can. While we don't have many rules here, one that we do have is our Naming Policy. Please edit your display name to comply.
In answer to your question, you should look at the javax.print package

Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
I agree. Here's the link:
subject: Javax.comm api, Printer info
It's not a secret anymore!