jimjawn on 30 Jun 2006 15:19:40 -0000 |
I'm not sure there is an easy way to do this. I remember trying to skip the print dialog window from _javascript_, but there wasn't a way to do it. I believe the rationale was primarly because if you can skip the print dialog and send something directly to a printer, even if it is a spool file, every tom, dick & harry would be sending print files to users pc's with advertisements for viagra. Since it looks like you only really want to print the html file, and you have access to the windows machine, you can try using windows scripting host: http://www.codecomments.com/archive300-2005-9-580340.html There are ways that you can render the HTML if you can embed a WebControl object... http://groups.google.com/group/microsoft.public.vb.general.discussion/browse_thread/thread/67b71663f8c362f6/f7ffb8ff5dd34859?lnk=st&q=skip+print+dialog&rnum=1#f7ffb8ff5dd34859 Not sure if that helps or not. But searching for windows scripting hosts scripts might be a better route than trying to skip the print dialog box. Otherwise, I think you'll have to click print. Jim On 6/30/06, George Gallen <
ggallen@slackinc.com> wrote:
___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|