Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > How to set print orientation in IE6?

Reply
Thread Tools

How to set print orientation in IE6?

 
 
Gary
Guest
Posts: n/a
 
      11-09-2007
Hi All,

Below is the script i use to invoke IE6 print preview function. Is
there any property to set print orientation?

var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0
CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
WebBrowser.ExecWB(7, 1);

 
Reply With Quote
 
 
 
 
Bart Van der Donck
Guest
Posts: n/a
 
      11-09-2007
Randy Webb wrote:

> Gary said the following on 11/9/2007 1:38 PM:
>
>> Is there any property to set print orientation?

>
> Yes. It is on the print window. And no, you can't set it with script.


While not directly meant to influence portrait/landscape mode, there
is a (IMHO) clever creative CSS-hack under Win/IE5.5+:

http://home.tampabay.rr.com/bmerkey/...cape-test.html

--
Bart

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting 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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Change print orientation by website Nevets Steprock ASP .Net Web Services 3 05-05-2005 07:42 PM
Change print orientation by website Nevets Steprock ASP .Net Web Controls 3 05-05-2005 07:42 PM
Change print orientation by website Nevets Steprock ASP .Net 3 05-05-2005 07:42 PM
<FORM METHOD="post" onSubmit="return fieldcheck()" name="orientation" action="http://ws-kitty.BU.edu/AT/survey/orientation/script/write.asp" language="JavaScript"> Joeyej ASP .Net 0 06-04-2004 07:55 PM



Advertisments