Well, I am not an expert on printing issues, so probably it is as difficult for 
me as it is for you. The code snippets came from a class that I created some 
time ago and that seemed to work for me.  I remember that it took me some time 
to get it working at all. The original version of this code dates from the time 
that there was no javax.print package, so before java 1.4. (I never succeeded 
to get javax.print classes to really work for me). Maybe you should have a look 
at the complete code and try to find if there are essential differences with 
your code.

Here is the code:

http://www.pbjar.org/docs/src/org/pbjar/games/swing/PrintAction.java

If you want to see it in action, go to:

http://www.pbjar.org/webstartdemo.html

and try the Sudoku solver. In the options menu it has the print action.

In the code, forget about the I18nInstaller. That is just to get dynamic 
internationalization, and I don't think that is bothering you at this moment. :)

Good luck!
[Message sent by forum member 'pietblok' (pietblok)]

http://forums.java.net/jive/thread.jspa?messageID=241288

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to