-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: LovedJohnySmith
Message 2 in Discussion

Dude:-     You can ExecWB Property of Object for your requirement. Please have 
a look at the following example.,    1)<script defer> 
function SetPrintSettings() { 
// -- advanced features 
factory.printing.SetMarginMeasure(2) // measure margins in inches 
factory.SetPageRange(false, 1, 3) // need pages from 1 to 3 
factory.printing.printer = "HP DeskJet 870C" 
factory.printing.copies = 2 
factory.printing.collate = true 
factory.printing.paperSize = "A4" 
factory.printing.paperSource = "Manual feed"  
// -- basic features 
factory.printing.header = "This is MeadCo" 
factory.printing.footer = "Advanced Printing by ScriptX" 
factory.printing.portrait = false 
factory.printing.leftMargin = 1.0 
factory.printing.topMargin = 1.0 
factory.printing.rightMargin = 1.0 
factory.printing.bottomMargin = 1.0  }  
</script>  (2) 
<script language="javascript"> 
function printsetup(){ 
// setting 
wb.execwb(8,1); 
} 
function printpreview(){ 
// preview 
 wb.execwb(7,1);  }  
function printit() { 
if (confirm(''''Confirm?'''')) { 
wb.execwb(6,6) 
} 
} 
</script> 
</head> 
<body> 
<OBJECT classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"  height=0 id=wb 
name=wb width=0></OBJECT>  
<input type=button name=button_print value="Print" 
onclick="javascript:printit()">  
<input type=button?name=button_setup value="Page Setting"  
onclick="javascript:printsetup();">  
<input type=button?name=button_show value="Preview"  
onclick="javascript:printpreview();">  
<input type=button name=button_fh value="close"  
onclick="javascript:window.close();">    Hope this helps. 
Thanks, Smith http://spaces.msn.com/johnysmith

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to