Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > javascript print() on Mac?

javascript print() on Mac?
Thread Tools
schwa
Mac Enthusiast
Join Date: Oct 1999
Location: Brooklyn, NY, USA
Status: Offline
Reply With Quote
Jul 10, 2003, 12:31 PM
 
I'm trying to code a page that prints onLoad (it's a report on our intranet). Using window.print() in javascript doesn't seem to work in IE or Safari.

Any suggestions?

TIA...
     
clam2000
Dedicated MacNNer
Join Date: Aug 2002
Status: Offline
Reply With Quote
Jul 10, 2003, 01:03 PM
 
isn't it
Code:
document.writeln("a string or a variable");
--will
     
Sharky K.
Mac Elite
Join Date: Oct 2001
Location: Europe
Status: Offline
Reply With Quote
Jul 10, 2003, 01:51 PM
 
Originally posted by schwa:
I'm trying to code a page that prints onLoad (it's a report on our intranet). Using window.print() in javascript doesn't seem to work in IE or Safari.

Any suggestions?

TIA...
So every-time someone looks at the page there will be an other print?

I am really curious. May I ask why?
     
   
Thread Tools
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 10:37 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,