Hi,

I was wondering if anyone had any good ideas
for "batch" printing of reports via an EJB.
What I mean by batch is that a report would
be generated via some business logic, and
the result would get printed directly to
a printer (via a printer queue JNDI env prop)
with no user interraction.

Is this a bad idea?  Is this possible?  I was
thinking I could do this in a SSB.

A couple of ideas thus far:

1) Open a connection to lp/lpr - this is
how Sun's java impl does it

2) use java2d to create to PrinterJob
(isn't this overkill for a simple text report)
of course, this still uses #1 to do the dirty work

3) use ipp with cups and use the Http* classes

What are other people doing?

TIA,
Glenn

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

Reply via email to