Hi,
I need to build an applet ( it will be signed, so no worry with security issues ) that prints a lot of invoices, they have few images...
How could I do this in java?
edit:
Oh, I was almost forgeting... it doesn't have to be a report, just something that I can print and can have images...
thanks!!
Comments
: I need to build an applet ( it will be signed, so no worry with
: security issues ) that prints a lot of invoices, they have few
: images...
: How could I do this in java?
: edit:
: Oh, I was almost forgeting... it doesn't have to be a report, just
: something that I can print and can have images...
:
: thanks!!
The easiest way is to implement the Printable interface. This gives you a Graphics object, which represents the paper to be printed.
See: http://java.sun.com/javase/6/docs/api/java/awt/print/Printable.html