468,539 Members | 1,474 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,539 developers. It's quick & easy.

Any Printing Problem

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
0 3323

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Programatix | last post: by
reply views Thread by Programatix | last post: by
5 posts views Thread by Stefania Scott | last post: by
5 posts views Thread by C-Services Holland b.v. | last post: by
2 posts views Thread by Teemu | last post: by
2 posts views Thread by Sukh | last post: by
18 posts views Thread by Brett | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.