1

I need to print an invoice from Java swing application in Unicode (Hebrew chars) and some graphic elements, logo, etc. What is appropriate way to do it?

  1. Format manually string (by the way how can I do it?) and send it to printer?
  2. Create JPanel and print it? JPanel shouldn't be visible only printable, can I implement it?

I prohibited to use external libraries for this task, otherwise I have implemented it by using DynamicReports. Thank you very much for any advise.

Anatoly
  • 5,056
  • 9
  • 62
  • 136
  • 1
    You can print JTable and JTextComponents using the [print method](http://docs.oracle.com/javase/tutorial/2d/printing/swing.html). – Stefan Jan 20 '14 at 09:36
  • 1
    Printing a JFrame and its components http://stackoverflow.com/questions/12764634/printing-a-jframe-and-its-components – Tusar Jan 20 '14 at 10:55

0 Answers0