If this is for an internal application for your company, you may be able to use the Java Print API and print from the server, but as everyone else has mentioned, you cannot have the browser start a print job without user interaction. You can use the JavaScript window.print() function to bring up the print dialog to prompt the user to complete the action. (*Chris*)
On Sun, Feb 20, 2011 at 9:37 AM, Brian Thompson <elephant...@gmail.com>wrote: > On Sun, Feb 20, 2011 at 10:18 AM, Dave Newton <davelnew...@gmail.com> > wrote: > > > I have no idea. Personally, I'd be a little surprised if it was > > possible to print from a website with *no* user interaction without > > using something like ActiveX, an applet, or *something*. > > > > Dave > > > > > > Indeed. Browsers restrict such functionality for very good reasons. If a > report needs to be run and then sent directly to the printer, writing a web > app is kind of using the wrong tool for the job, IMO. > > -Brian >