self.print() doesn't work on the Mac?

S

Simon Wigzell

self.print() or window.print() don't work on Mac OSX with Mac IE? Any work
around? I've googled this without luck and tried to find a mac or browser
compatibility newsgroup without luck. Any suggestions welcome!
 
R

Richard Cornford

Simon said:
self.print() or window.print() don't work on Mac OSX with Mac
IE? Any work around? I've googled this without luck and tried
to find a mac or browser compatibility newsgroup without luck.
Any suggestions welcome!

I had never actually noticed it before but according to my listings of
an example DOM an Mac IE 5.1 and 5.2 (OS 9 and 10 respectively) it
doesn't have a print method on the window object at all. Which could
easily be confirmed with code like - alert(typeof window.print) -, which
should alert "undefined" if the method doesn't exist (and "function" or
"object" otherwise).

If the method is unavailable then there is nothing you can do about it,
except make the offer of the opportunity to print the page conditional
on the existence of the method so as not to mislead users.

Richard.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,905
Latest member
Kristy_Poole

Latest Threads

Top