By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,032 Members | 825 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,032 IT Pros & Developers. It's quick & easy.

Any Printing Problem

P: n/a
Hello All,
We have a java application including applets, servlets and ejbs. Users
can get reports and print them directly from applets. Our print
methods uses PrinterJob and Graphics2d, imports java.awt.print.*, and
implements Printable.
Each report has different amount of data on a page, so we are using
Graphichs.setFont() with different font sizes , ie. some reports
prints in font size of 5.

The only plugin version I can use without any printing problem is
1.3.1_01. This plugin is quite old, and is started limiting us. I have
downloaded plugin 1.4.2_03 recently, and there are still some problems
when using hp pcl5e and pcl6 printers. Then, I tried to use
docprintjob and docflavor to print pdf and txt files. Then it produced
exceptions. It only accepts AUTOSENSE docflavor.

So, I am really wondering that if I am the only one who could not
print correctly from java ... I am confused about java printing. What
are they trying to do ; make the printing so complex that some lucky
guys can print and others find new programming languages for
theirselves.
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.