dcsimg
Printing from an Applet without showing the print dialog box
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Abhinav_Shukla
Posted On:   Monday, August 13, 2001 04:52 AM



I need to print to the local printer on a Win NT machine running IE 5.5 from an applet. The applet has to read files from specific URLs and then print them. These files are basically txt files. The problem is, multiple files have to be printed and the user cannot be expected to click ok on the print dialog box that pops up each time. Is there a way of printing without displaying the print dialog?




Security is not a problem as it is acceptable to give full permissions to the URL from where the Applet is loaded by making it a trusted site.

Re: Printing from an Applet without showing the print dialog box

Posted By:   John_Zukowski  
Posted On:   Monday, August 13, 2001 08:25 PM

If you check the AWT FAQ, you'll notice that there is no way to print without getting a dialog. I'm not sure about 1.4 though as I know they added some new features. As security isn't an issue, techically, this isn't an applet problem, but a general question of how do I print without showing the print dialog.
About | Sitemap | Contact