Hi Dan, I can't speak for other Browsers, but MSIE can automatically open the Print Dialog - but the user still has to click 'Print'.
<body onload="window.print()"> Also, I dug out this old post of mine from the Witango-Talk Mail Archive at Ben's site: http://www.witango.ws "what I often do is have MSIE call an alternate TAF function that presents the contents of the currently displayed page - but with printer friendly formatting, minus buttons and other controls. The following are some code samples to do this with. <link id="prntLnk" rel="alternate" media="print" href="tangofile.taf?_function=print&recordKey=<@arg recordKey>" /> The 'link' element is particularily interesting. If MSIE (and some other browser?) finds this element present, then the print function will print the 'href' URL instead of the page shown in the browser." Hope this helps. Cheers... Scott Cadillac http://xml-extra.net [EMAIL PROTECTED] VP, Research and Development Plus International Corp. 604-460-1843 [EMAIL PROTECTED] http://www.plusinternational.com Vancouver, BC, Canada Does your company have an Enterprise Information Portal? Check out Salsa at www.plusinternational.com/flash/salsa.htm ----- Original Message ----- From: "Dan Stein" <[EMAIL PROTECTED]> To: "Multiple recipients of list witango-talk" <[EMAIL PROTECTED]> Sent: Wednesday, May 15, 2002 12:56 PM Subject: Witango-Talk: Print Records? > I need to print a found set of records I suspect it is at least partially a > JavaScript thing. > > After the find I would like the browser to just print out each record in the > found set using a format I set in the results page. > > Anyone have suggestions for the best approach and/or the JavaScript? > > > -- > Dan Stein > Digital Software Solutions > 799 Evergreen Circle > Telford PA 18969 > 215-799-0192 > 610-256-2843 > Fax 413-410-9682 > FMP,Tango, EDI,SQL 7 > [EMAIL PROTECTED] > www.dss-db.com > > > ________________________________________________________________________ > TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] > with unsubscribe witango-talk in the message body > ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body
