> I need to build a capability where I can print to a local printer from
> a web app where there is no user interaction required.
[quoted text clipped - 10 lines]
> thx
> Sara
Hmm... Well, if the webapp is on the same machine that the printer is
connected to, then you just print normally.
Actually, I think all you would need to do is configure the printer in
any case, and print normally.
I know there are printing capabilities in Java, take a look in the API
documents.
Oliver Wong - 20 Dec 2006 20:25 GMT
>> I need to build a capability where I can print to a local printer from
>> a web app where there is no user interaction required.
[quoted text clipped - 17 lines]
> I know there are printing capabilities in Java, take a look in the API
> documents.
The keywords "no user interaction", "applet" and "print" raises a
warning for me. I think the applet would invoke a security exception unless
the user interacts by saying "Yes, I am willing to let this applet I got off
the network have control over my printer."
If this is for a LAN, I think the OP would have more luck writing this
as a (possibly webstarted) application than as an applet.
- Oliver