Wrox Programmer Forums
|
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 10th, 2007, 09:34 AM
Registered User
 
Join Date: Apr 2005
Posts: 352
Thanks: 14
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rupen
Default hiding footer.

How do i hide footers, as it shows webaddress, url in print preview....??

Rupen Anjaria.:)
------------------
We CAN'T avoid problems, but can solve it.
 
Old April 10th, 2007, 06:56 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

Im fairly sure the code is printer specific. I ended up getting the SOE changed to remove these annoying pieces of information. In case you are not aware how to do it manually; within your printer page setup view remove the syntax inside the headers and footers area. It looks something like:

&w&bPage &p of &p (header)
&u&b&d (footer)

Wind is your friend
Matt
 
Old April 10th, 2007, 07:06 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Matt is correct. There is no way to physically force this on the user or to change the settings since they reside on IE. If you need this functionality there is an activeX control out there that will do this for you.

That control can be found here: http://www.meadroid.com/scriptx/intro62.asp

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========
 
Old April 12th, 2007, 08:18 AM
Registered User
 
Join Date: Apr 2005
Posts: 352
Thanks: 14
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rupen
Default

mat, what is SOE???

Rupen Anjaria.:)
------------------
We CAN'T avoid problems, but can solve it.
 
Old April 12th, 2007, 06:07 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

I mostly work in strict Standard Operating Environments (SOE) - A luxury in may ways however can make you a bit lazy in relation to cross borwser compatible code. My biggest problem was not so much the header and footer output but the 20mm margins on all of my end users machines, as you can imagine this reduces a large amount of printable real estate. Of course users can still change these values back, very few do I found.

I have had two print specific objectives recently. Its not only the browser setting but the printer its self also. You never know what type/quality of printer users will send pages to. I had to put many risk conditions in my response to the clients request for services. EG. This SOE I work in does not allow background colors turned on, I have a .exe which can alter this setting however when a user logs off/on these chnages are reversed. As you can imagine no BG colors makes for some fairly random printing on occasion.

Wind is your friend
Matt





Similar Threads
Thread Thread Starter Forum Replies Last Post
The footer doesn't appear Tecris BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 February 21st, 2010 05:39 PM
Footer only for last page XSLTUser XSLT 0 December 27th, 2007 04:34 PM
Hiding Footer Arsi CSS Cascading Style Sheets 2 April 13th, 2007 06:55 PM
Can't see footer Bud BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 6 August 25th, 2006 04:28 AM
header footer zaman1111 JSP Basics 0 July 28th, 2005 05:00 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.