hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : Is this even possible to remove??
Reply

Programming Discussion Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.
Forum Jump

Is this even possible to remove??

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 03-01-2005, 05:51 PM
GWDGuy GWDGuy is offline
Web Hosting Master
 
Join Date: Feb 2002
Posts: 771

Is this even possible to remove??


Okay I will try to 'splain this one and see if anyone has any ideas.

You know when you print a webpage the Title and Page 1 of X shows at the top of the page and then at the bottom the http://www.domain.com/pagename.htm and then the date shows at the bottom??

Is there a way to keep this from showing when printing off the web?


Robert

__________________
Light travels faster than sound, which is why some people appear bright until you hear them speak.

Reply With Quote


Sponsored Links
  #2  
Old 03-01-2005, 06:23 PM
krumms krumms is offline
Web Hosting Guru
 
Join Date: Feb 2003
Location: Brisbane, Australia
Posts: 270
use different css stylesheets for the print and screen media. When it comes time to print, the stylesheet should use display: none to hide the bits you don't want/need printed.

Reply With Quote
  #3  
Old 03-01-2005, 06:25 PM
GWDGuy GWDGuy is offline
Web Hosting Master
 
Join Date: Feb 2002
Posts: 771
the stylesheets will control what is on the actual page but the Title and page # and then the URL and date is put out by the browser isn't it?

We have run into a very strange situation where these things can not show up on the pages.

If you can point me to an example that would be great great great.


Robert

__________________
Light travels faster than sound, which is why some people appear bright until you hear them speak.

Reply With Quote
Sponsored Links
  #4  
Old 03-01-2005, 06:30 PM
krumms krumms is offline
Web Hosting Guru
 
Join Date: Feb 2003
Location: Brisbane, Australia
Posts: 270
Oh right I get what you mean: I'm pretty sure those options can only be modified by the end user, but good luck

Reply With Quote
  #5  
Old 03-01-2005, 06:36 PM
GWDGuy GWDGuy is offline
Web Hosting Master
 
Join Date: Feb 2002
Posts: 771
that is what I was afraid of.. This is a program written for an intranet type system so this is possible that they can update the info under page set up if it comes to that.


thanks

Robert

__________________
Light travels faster than sound, which is why some people appear bright until you hear them speak.

Reply With Quote
  #6  
Old 03-01-2005, 10:25 PM
Wullie Wullie is offline
Web Hosting Master
 
Join Date: Feb 2004
Location: Scotland
Posts: 2,830
Take a look at the following:

http://www.tek-tips.com/viewthread.cfm?qid=882172

I tested it last year when that post was first made and it worked, however it was last year so a patch may prevent it now.

Reply With Quote
  #7  
Old 03-01-2005, 10:32 PM
GWDGuy GWDGuy is offline
Web Hosting Master
 
Join Date: Feb 2002
Posts: 771
Very interesting.. I will give this a whirl and see what I can come up with.. thanks for the input

__________________
Light travels faster than sound, which is why some people appear bright until you hear them speak.

Reply With Quote
  #8  
Old 03-02-2005, 05:15 PM
nybble nybble is offline
Web Hosting Master
 
Join Date: Aug 2003
Posts: 643
I know exactly what you want but there are a few things to consider:

When you print it has margins, a header and a nice looking footer.

Try you may try you might but you will not find a way to do this
reliably using X/HTML pages.

Are there work arounds? Sure there is!
-You can generate the page in a .pdf form (if you use php check out
http://www.fpdf.org/)
-Flash offers a print function which does not show the header & footer
(if you use php check out "ming")

I am almost positive there are others. I am almost willing to bet that
all you will find is IE hacks and so on. If it's for an invoice or the
like some consider a PDF to be very crisp and professional.

But in short I would say no. Don't count on getting rid of it unless you just want turned off on your computer in which case you can find it in your browsers settings.

Reply With Quote
  #9  
Old 03-02-2005, 05:29 PM
Wullie Wullie is offline
Web Hosting Master
 
Join Date: Feb 2004
Location: Scotland
Posts: 2,830
Quote:
Originally posted by nybble

But in short I would say no. Don't count on getting rid of it unless you just want turned off on your computer in which case you can find it in your browsers settings.
You did read that this was for an Intranet, right?

Reply With Quote
  #10  
Old 03-02-2005, 05:31 PM
nybble nybble is offline
Web Hosting Master
 
Join Date: Aug 2003
Posts: 643
Quote:
Originally posted by Wullie
You did read that this was for an Intranet, right?
Can't say I did. :/

Reply With Quote
  #11  
Old 03-03-2005, 03:16 AM
Burhan Burhan is offline
Community Guide
 
Join Date: Jul 2003
Location: Kuwait
Posts: 5,100
If its for an intranet, and you can limit access from only IE, you can use custom print templates or MeadCo's ScriptX component (free) which allows for customization of printing.

__________________
In order to understand recursion, one must first understand recursion.
If you feel like it, you can read my blog
Signal > Noise

Reply With Quote
  #12  
Old 03-03-2005, 06:31 AM
GWDGuy GWDGuy is offline
Web Hosting Master
 
Join Date: Feb 2002
Posts: 771
I guess I used that word a little wrong.. It is a Internet based site on my remote server but it is being used in a controlled setting by people in one office only (not general public access). Only the people in the office will have access but of course if They want to log in from home or a clients office they can but it would still be limited to under 50 of the same users..

Sorry that was not the best way to describe. I will still look as that might solve some of the issue while they are in the office..


Thanks

Robert

__________________
Light travels faster than sound, which is why some people appear bright until you hear them speak.

Reply With Quote
  #13  
Old 03-03-2005, 01:57 PM
inkandpixel inkandpixel is offline
Newbie
 
Join Date: Apr 2004
Location: Fresno, CA
Posts: 19
If you go to File > Page Setup. From there you can remove the Header and Footer info. That should solve your problem. (I hope I read your question right)

__________________
Jerry Martin, Jr.
Ink & Pixel // Web Hosting & Design
Ink & Pixel Store // Personal Media Players [ MP3, MP4, WMA ] & More.

Reply With Quote
  #14  
Old 03-03-2005, 02:01 PM
GWDGuy GWDGuy is offline
Web Hosting Master
 
Join Date: Feb 2002
Posts: 771
Quote:
Originally posted by inkandpixel
If you go to File > Page Setup. From there you can remove the Header and Footer info. That should solve your problem. (I hope I read your question right)

Yeah that was the last option we looked at already.. The only problem then is it removes it for everything.

thanks for the input.. I actually just learned that while searching this issue so it is good to know.

Robert

__________________
Light travels faster than sound, which is why some people appear bright until you hear them speak.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Important changes to WHIR Networking Events Europe schedule Blog 2013-04-15 16:00:16
White House Opposes SOPA and PIPA, SOPA Vote Delayed Web Hosting News 2012-01-16 14:10:31
Bit lockers and the DMCA Blog 2011-12-15 17:14:36
Web Host Rackspace Launches Private Beta for MySQL Cloud Database Web Hosting News 2011-12-01 21:09:51
Saving Money while Collecting Money with Bill Ranta and Sayid Shabeer of Litle & Co Web Hosting News 2011-08-10 22:36:08


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?