Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Tue, 28 Mar 2006 11:58:02 -0800,    group: microsoft.public.inetsdk.programming.scripting.jscript        back       


Print a page from Internet Explorer   
Hello 

I need your help.  I 'm printting a page with the function window.print()  
using JavaScript embeded into  .Net C# page.   But I have a problem, when I 
print the page I don't want it print the number page, ex:  Page 1/1.

How Do I print the page without a number page ??? 

The users use the application from  different places through interbet 
explorer.

Rene
date: Tue, 28 Mar 2006 11:58:02 -0800   author:   Rene

Re: Print a page from Internet Explorer   
I could be wrong, but I'm not sure there is a way to control that using 
jscript, because it is a setting in the browser, not the individual page. I 
do not have experience with stuff like ActiveX, so maybe there is a way to 
change the setting using that or some other technology that actually runs on 
the client's machine, but I don't think you can do it using 
jscript/javascript.
-- 
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/

"Rene"  wrote in message 
news:4773AF61-980A-4323-92F6-6D8830D90809@microsoft.com...
> Hello
>
> I need your help.  I 'm printting a page with the function window.print()
> using JavaScript embeded into  .Net C# page.   But I have a problem, when 
> I
> print the page I don't want it print the number page, ex:  Page 1/1.
>
> How Do I print the page without a number page ???
>
> The users use the application from  different places through interbet
> explorer.
>
> Rene
date: Tue, 4 Apr 2006 23:28:20 -0400   author:   Nathan Sokalski

Re: Print a page from Internet Explorer   
There was a way to do this until ie5.5 using TEMPLATEPRINTER.  But when
they saw that it could actually allow IE web devs to actually do something
useful they promptly destroyed it's ability to function...

heres a free component that may get you where you need to go...
http://www.htmlprinting.com/download.htm

theres also scriptx.
http://www.meadroid.com/scriptx/

hth,

D.

Nathan Sokalski wrote:
> I could be wrong, but I'm not sure there is a way to control that using 
> jscript, because it is a setting in the browser, not the individual page. I 
> do not have experience with stuff like ActiveX, so maybe there is a way to 
> change the setting using that or some other technology that actually runs on 
> the client's machine, but I don't think you can do it using 
> jscript/javascript.
date: Fri, 28 Apr 2006 00:57:36 -0700   author:   dNagel

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us