> I just want to load a txt file and then send a content to the printer
> without loading it to the JTextArea for example. So only from file to the
> printer !!
>
> thanks
Search for the Java Print Service API. It is not related to gui. There
is also a good but complicated library at ASF, the "apache FOP".
If you find something else intresting, please submit it here. I am
interested too.
Java provides three API for printing. Two ones introduced prior to 1.4 print
slowly generating big spool files.
Basically, you will need to paint your text on a printer canvas.
mike
- reply to the group, the email in 'from' is a 5p4mtr4p.
> I just want to load a txt file and then send a content to the printer
> without loading it to the JTextArea for example. So only from file to the
> printer !!
>
> thanks
Pablo Alvarez - 28 Mar 2005 09:52 GMT
howto i find this api? the name of the class?
thanks
sorry, i dont write inglish very well.
> Java provides three API for printing. Two ones introduced prior to 1.4 print
> slowly generating big spool files.
[quoted text clipped - 8 lines]
>>
>>thanks