Jump to content
xisto Community
Sign in to follow this  

Printing In Java how to print ???

Recommended Posts

hi negativezero,

yeah, you can directly connect to a printer and print from a java program. For this purpose you need to use Java Printing API. The class that controls all is PrinterJob. Other classes like Book are to be used for rendering the page. There are a number of tutorials available on the web for the same. just google them.

Two useful links are :
1. http://www.javaworld.com/

2. http://forums.xisto.com/no_longer_exists/

Just go throught the tutorial and try it out. Would not be very difficult once you get an idea of how the classes are used and what functionality is provided by the API.


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.