473,604 Members | 2,513 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Suppress Print Information when printing a web page

I do some web page maintenance for the K-12 district I work for. I'm
writing some pages so users can print schedules and such. Is there a way to
keep the browser from printing the page title, file name, page number and
date?
Aug 9 '05 #1
3 2867
set that via css using the media="print" attribute on your stylesheet
link
http://www.alistapart.com/articles/goingtoprint/

Aug 9 '05 #2
JimO wrote:
I do some web page maintenance for the K-12 district I work for. I'm
writing some pages so users can print schedules and such. Is there a way to
keep the browser from printing the page title, file name, page number and
date?

It is in the browsers' file -> page setup options. You can't control
these settings with JavaScript.

--
Rob
Aug 9 '05 #3
Thanks guys.
"RobG" <rg***@iinet.ne t.auau> wrote in message
news:42******** *************** @per-qv1-newsreader-01.iinet.net.au ...
JimO wrote:
I do some web page maintenance for the K-12 district I work for. I'm
writing some pages so users can print schedules and such. Is there a way to keep the browser from printing the page title, file name, page number and date?

It is in the browsers' file -> page setup options. You can't control
these settings with JavaScript.

--
Rob

Aug 11 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1530
by: michaaal | last post by:
I am developing an Intranet application for a business. I would like to be able to print out certain bits of information just as regular applications do. I realize that this is a little more difficult, and after doing research it seems that the best way to print is to use JavaScript's "window.print();" command. The only problem I have with this is that #1 - it prints the address and date at the bottom of the page #2 - it prints the...
0
2198
by: Marshal | last post by:
(This question applies to the AxWebBrowser in .NET 1.x, but 2.0 would be interesting to know about as well) Hi... What's the easiest way to suppress the page header and footers that get printed from Internet Explorer... The page header shows the document name, page number, and the footer shows the URL location... I've read about Print Templates, CSS settings, and so forth... What's the
1
5697
by: hamil | last post by:
I am trying to print a graphic file (tif) and also use the PrintPreview control, the PageSetup control, and the Print dialog control. The code attached is a concatination of two examples taken out of a Microsoft book, "Visual Basic,Net Step by Step" in Chapter 18. All but the bottom two subroutines will open a text file, and then allow me to use the above controls, example 1. The bottom two subroutines will print a graphic file, example...
7
9510
by: Neil Jarman | last post by:
Hi, I would like to allow users to print a page, but I want to suppress the header and footer that appear by default. I gather its done with a style sheet. Please advise. Many Thanks,
9
2723
by: Scott M | last post by:
I'm printing a directory of about 500 multi-page tifs to a high speed printer and the spooler process is killing me!!! here is a little code..... Public Function PrintImage(ByVal SourceFile As String) As Boolean Try
5
6451
by: Raman | last post by:
Hello friends, I want to print an ID card. I have one Windows Form that contains front and back side. The printer is printing both front and back side at a time. I am trying to send both sides at a time. But it is printing front side on one card and back side on second card. I want to print both sides in a same card.
0
1322
by: Emby | last post by:
Hi, I am aware that the "Printing" dialog displayed by a PrintDocument during the invocation of the doc.Print method can be suppressed by setting the doc's PrintController property to an instance of StandardPrintController. But I would like to suppress the "Printing" dialog when the doc is rendered in a PrintPreviewControl - does anyone know how to accomplish this? Thanks, Emby
0
1496
by: Emby | last post by:
Hi, I am aware that the "Printing" dialog displayed by a PrintDocument during the invocation of the doc.Print method can be suppressed by setting the doc's PrintController property to an instance of StandardPrintController. But I would like to suppress the "Printing" dialog when the doc is rendered in a PrintPreviewControl - does anyone know how to do that? Thanks,
2
9951
by: Brad Pears | last post by:
I have a vb.net 2005 application and am using the print preview screen. This screen has a printer icon on it that the user can use to print the document currently being viewed. It uses the default printer settings to print. I wanted the print preview to appear the same for all users (i.e. a default page size of 8.5x14 (legal) and portrait mode). Many users have different printers as their default (plotters etc..) and I found that various...
0
7997
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7929
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8406
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
6737
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5441
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3906
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3954
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2433
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1522
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.