Re: print - portrait or landscape



Dr J R Stockton wrote:
The OP is using an intranet, where the browser will always be Internet
Explorer 6 or 7 (what about IE 8 etc.?). Therefore, ISTM that he will
really be using JScript.

He may also be using VBScript. The programming language really does not
matter; the APIs accessible with it are.

Web page
<http://msdn.microsoft.com/en-us/library/system.drawing.printing.pageset
tings.landscape(VS.71).aspx> contains

NET Framework Class Library
...
[JScript]
public function get Landscape() : Boolean;
public function set Landscape( Boolean);

which rather suggests that the OP may be able to do it. Possibly an HTA
would be needed.


<FAQENTRY> To say explicitly in FAQ 1.2 end that, in JScript, more
routines are accessible.

That would be wrong. It is _not_ a language feature.


PointedEars
--
Anyone who slaps a 'this page is best viewed with Browser X' label on
a Web page appears to be yearning for the bad old days, before the Web,
when you had very little chance of reading a document written on another
computer, another word processor, or another network. -- Tim Berners-Lee
.



Relevant Pages

  • Re: JS 1.7 support: Who has it, etc.?
    ... always part of the MSHTML DOM API. ... JScript 5.0, and the MSDN Library documentation clearly distinguishes ... it is useful for everyday programming as new *language features* ... No, I am talking about the *programming language*, JScript. ...
    (comp.lang.javascript)
  • Re: Alternative to FOR EACH
    ... Look documentation for your programming language or at least write what is ... JScript uses Enumerator object for this purpose ... > for VBScript, but also for another programming language. ... > Set colDrives = objFSO.Drives ...
    (microsoft.public.scripting.vbscript)
  • Re: Creating tables alternating with text in Word using JScript
    ... This is the only line in all of your code that is specific to jscript. ... to/receiving from the COM object to account for the programming language ... This email account is my spam trap so I ...
    (microsoft.public.scripting.jscript)
  • Re: accesing a database through odbc
    ... I'm new using Jscript. ... I'm customizing some fields in microsoft CRM, ... programming language. ...
    (microsoft.public.scripting.jscript)
  • Re: IsDate("2 A") = True ?
    ... This is only really equivalent when X contains an actual boolean value (i.e. ... X in JScript to get ... the desired effect - that's probably astonishing when first seen but ... VBscript, I think, has just the one unary ...
    (microsoft.public.scripting.vbscript)

Loading