Dear Try This

<SCRIPT Language="Javascript">
<!--
function printit(){
if (NS) {
    window.print() ;
} else {
    var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 
CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
    WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box    
WebBrowser1.outerHTML = "";
}
}
//-->
</script>

<SCRIPT Language="Javascript">
var NS = (navigator.appName == "Netscape");
var VERSION = parseInt(navigator.appVersion);
if (VERSION > 3) {
document.write('<FORM><INPUT TYPE="button" VALUE="Print this site" name="Print" 
onClick="printit()"></FORM>');
}</SCRIPT><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">





  ----- Original Message ----- 
  From: Erwin Rommel Felix 2000A 
  To: [email protected] 
  Sent: Monday, February 21, 2005 12:36 PM
  Subject: [AspClassicAnyQuestionIsOk] Printing in ASP


  I am planning to create a Print Button in my
  application but the problem is it is printing in
  portrait and it doesn't print everything. How can I
  create my Print button in such a way it will print in
  Landscape by default. Thank you very much.

  =====
  Erwin Rommel Y. Felix
  Tel. 8410111 loc. 11430
  Mobile 09185980706

  "Never outshine the Master Chicker"





              
  __________________________________ 
  Do you Yahoo!? 
  Meet the all-new My Yahoo! - Try it today! 
  http://my.yahoo.com 



        Yahoo! Groups Sponsor 
         
        Get unlimited calls to

        U.S./Canada
       
       


------------------------------------------------------------------------------
  Yahoo! Groups Links

    a.. To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
      
    b.. To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]
      
    c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 



[Non-text portions of this message have been removed]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to