473,387 Members | 1,597 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

printing through browsers

Hi,

I need to be able to print from a browser and thought that I would use the
media type "print" to create a printer layout. The problem that I have is
that I need to be able to suppress the page number and the URL that are
automatically printed with the page. Does anyone know if this is possible
and how to do that?

Thanks
Jul 20 '05 #1
22 2576
On Sun, 11 Apr 2004 19:06:07 GMT, "demetrius" <de*******@wi.rr.com>
wrote:
I need to be able to print from a browser and thought that I would use the
media type "print" to create a printer layout. The problem that I have is
that I need to be able to suppress the page number and the URL that are
automatically printed with the page. Does anyone know if this is possible
and how to do that?


Not as page author, no. You can do it as page reader if you use Mozilla.
I'm not sure if any other browsers support configuration of page headers
and footers.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 20 '05 #2
On Sun, 11 Apr 2004 19:06:07 GMT, "demetrius" <de*******@wi.rr.com>
wrote:
I need to be able to print from a browser and thought that I would use the
media type "print" to create a printer layout. The problem that I have is
that I need to be able to suppress the page number and the URL that are
automatically printed with the page. Does anyone know if this is possible
and how to do that?


Not as page author, no. You can do it as page reader if you use Mozilla.
I'm not sure if any other browsers support configuration of page headers
and footers.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 20 '05 #3
Unfortunately I thought that was probably the case, but thanks anyway.

"Stephen Poley" <sb******************@xs4all.nl> wrote in message
news:hp********************************@4ax.com...
On Sun, 11 Apr 2004 19:06:07 GMT, "demetrius" <de*******@wi.rr.com>
wrote:
I need to be able to print from a browser and thought that I would use themedia type "print" to create a printer layout. The problem that I have isthat I need to be able to suppress the page number and the URL that are
automatically printed with the page. Does anyone know if this is possibleand how to do that?


Not as page author, no. You can do it as page reader if you use Mozilla.
I'm not sure if any other browsers support configuration of page headers
and footers.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/

Jul 20 '05 #4
Unfortunately I thought that was probably the case, but thanks anyway.

"Stephen Poley" <sb******************@xs4all.nl> wrote in message
news:hp********************************@4ax.com...
On Sun, 11 Apr 2004 19:06:07 GMT, "demetrius" <de*******@wi.rr.com>
wrote:
I need to be able to print from a browser and thought that I would use themedia type "print" to create a printer layout. The problem that I have isthat I need to be able to suppress the page number and the URL that are
automatically printed with the page. Does anyone know if this is possibleand how to do that?


Not as page author, no. You can do it as page reader if you use Mozilla.
I'm not sure if any other browsers support configuration of page headers
and footers.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/

Jul 20 '05 #5
Stephen Poley <sb******************@xs4all.nl> wrote in
news:hp********************************@4ax.com:
On Sun, 11 Apr 2004 19:06:07 GMT, "demetrius" <de*******@wi.rr.com>
wrote:
I need to be able to print from a browser and thought that I would use
the media type "print" to create a printer layout. The problem that I
have is that I need to be able to suppress the page number and the URL
that are automatically printed with the page. Does anyone know if
this is possible and how to do that?


Not as page author, no. You can do it as page reader if you use
Mozilla. I'm not sure if any other browsers support configuration of
page headers and footers.


IE6 and Opera (7.22, but I'm pretty sure much older versions also allow
it).
Jul 20 '05 #6
Stephen Poley <sb******************@xs4all.nl> wrote in
news:hp********************************@4ax.com:
On Sun, 11 Apr 2004 19:06:07 GMT, "demetrius" <de*******@wi.rr.com>
wrote:
I need to be able to print from a browser and thought that I would use
the media type "print" to create a printer layout. The problem that I
have is that I need to be able to suppress the page number and the URL
that are automatically printed with the page. Does anyone know if
this is possible and how to do that?


Not as page author, no. You can do it as page reader if you use
Mozilla. I'm not sure if any other browsers support configuration of
page headers and footers.


IE6 and Opera (7.22, but I'm pretty sure much older versions also allow
it).
Jul 20 '05 #7
in post: <news:zG*******************@twister.rdc-kc.rr.com>
"demetrius" <de*******@wi.rr.com> said:
I need to be able to print from a browser and thought that I would use the
media type "print" to create a printer layout.


don't forget to warn the visitor or give them the option of not using
it. they may get a little upset if they expect what they see in their
window to print but get something else.

--
b r u c i e
Jul 20 '05 #8
in post: <news:zG*******************@twister.rdc-kc.rr.com>
"demetrius" <de*******@wi.rr.com> said:
I need to be able to print from a browser and thought that I would use the
media type "print" to create a printer layout.


don't forget to warn the visitor or give them the option of not using
it. they may get a little upset if they expect what they see in their
window to print but get something else.

--
b r u c i e
Jul 20 '05 #9
On Mon, 12 Apr 2004 07:56:39 +1000, brucie <sh**@bruciesusenetshit.info>
wrote:
in post: <news:zG*******************@twister.rdc-kc.rr.com>
"demetrius" <de*******@wi.rr.com> said:
I need to be able to print from a browser and thought that I would use
the
media type "print" to create a printer layout.


don't forget to warn the visitor or give them the option of not using
it. they may get a little upset if they expect what they see in their
window to print but get something else.


How is this most easily done? Without Javascript?
Jul 20 '05 #10
On Mon, 12 Apr 2004 07:56:39 +1000, brucie <sh**@bruciesusenetshit.info>
wrote:
in post: <news:zG*******************@twister.rdc-kc.rr.com>
"demetrius" <de*******@wi.rr.com> said:
I need to be able to print from a browser and thought that I would use
the
media type "print" to create a printer layout.


don't forget to warn the visitor or give them the option of not using
it. they may get a little upset if they expect what they see in their
window to print but get something else.


How is this most easily done? Without Javascript?
Jul 20 '05 #11
in post: <news:op**************@news.rcn.com>
Neal <ne*****@spamrcn.com> said:
I need to be able to print from a browser and thought that I would use
the media type "print" to create a printer layout.
don't forget to warn the visitor or give them the option of not using
it. they may get a little upset if they expect what they see in their
window to print but get something else.
How is this most easily done?
just link the document to itself with a querystring thrown on the end to
indicate to a server side script to change the CSS from the one you use
for the display to the one for print. if the visitor likes it they can
then hit their print button or their back button for the display version
and print it.
Without Javascript?


of course without JS.

--
b r u c i e
Jul 20 '05 #12
in post: <news:op**************@news.rcn.com>
Neal <ne*****@spamrcn.com> said:
I need to be able to print from a browser and thought that I would use
the media type "print" to create a printer layout.
don't forget to warn the visitor or give them the option of not using
it. they may get a little upset if they expect what they see in their
window to print but get something else.
How is this most easily done?
just link the document to itself with a querystring thrown on the end to
indicate to a server side script to change the CSS from the one you use
for the display to the one for print. if the visitor likes it they can
then hit their print button or their back button for the display version
and print it.
Without Javascript?


of course without JS.

--
b r u c i e
Jul 20 '05 #13
On 11 Apr 2004 20:48:44 GMT, Eric Bohlman <eb******@earthlink.net>
wrote:
Stephen Poley <sb******************@xs4all.nl> wrote in
news:hp********************************@4ax.com :
On Sun, 11 Apr 2004 19:06:07 GMT, "demetrius" <de*******@wi.rr.com>
wrote:
I need to be able to print from a browser and thought that I would use
the media type "print" to create a printer layout. The problem that I
have is that I need to be able to suppress the page number and the URL
that are automatically printed with the page. Does anyone know if
this is possible and how to do that?


Not as page author, no. You can do it as page reader if you use
Mozilla. I'm not sure if any other browsers support configuration of
page headers and footers.


IE6 and Opera (7.22, but I'm pretty sure much older versions also allow
it).


!! There was me looking for it under Preferences in Opera and concluding
it wasn't available. I suppose Print Options is indeed a more logical
place ...

If IE6 can do it as well, then I guess the OP can assume that most of
his audience have the facility available if they want it.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 20 '05 #14
On 11 Apr 2004 20:48:44 GMT, Eric Bohlman <eb******@earthlink.net>
wrote:
Stephen Poley <sb******************@xs4all.nl> wrote in
news:hp********************************@4ax.com :
On Sun, 11 Apr 2004 19:06:07 GMT, "demetrius" <de*******@wi.rr.com>
wrote:
I need to be able to print from a browser and thought that I would use
the media type "print" to create a printer layout. The problem that I
have is that I need to be able to suppress the page number and the URL
that are automatically printed with the page. Does anyone know if
this is possible and how to do that?


Not as page author, no. You can do it as page reader if you use
Mozilla. I'm not sure if any other browsers support configuration of
page headers and footers.


IE6 and Opera (7.22, but I'm pretty sure much older versions also allow
it).


!! There was me looking for it under Preferences in Opera and concluding
it wasn't available. I suppose Print Options is indeed a more logical
place ...

If IE6 can do it as well, then I guess the OP can assume that most of
his audience have the facility available if they want it.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 20 '05 #15
First, thanks to all for responding to my original question.

It looks like page footers, headers and page margins can be set manually in
most recent browsers but not with stylesheets. Does anyone know if it is
possible to control these with javascript. My assumption is that it is not
but it would be useful if that assumption turned out to be wrong.
Jul 20 '05 #16

"demetrius" <de*******@wi.rr.com> wrote in message
news:L9*******************@twister.rdc-kc.rr.com...
First, thanks to all for responding to my original question.

It looks like page footers, headers and page margins can be set manually in most recent browsers but not with stylesheets. Does anyone know if it is
possible to control these with javascript.
It isn't.
My assumption is that it is not
but it would be useful if that assumption turned out to be wrong.


Jul 20 '05 #17
First, thanks to all for responding to my original question.

It looks like page footers, headers and page margins can be set manually in
most recent browsers but not with stylesheets. Does anyone know if it is
possible to control these with javascript. My assumption is that it is not
but it would be useful if that assumption turned out to be wrong.
Jul 20 '05 #18
Thanks.

"Harlan Messinger" <h.*********@comcast.net> wrote in message
news:c5***********@ID-114100.news.uni-berlin.de...

"demetrius" <de*******@wi.rr.com> wrote in message
news:L9*******************@twister.rdc-kc.rr.com...
First, thanks to all for responding to my original question.

It looks like page footers, headers and page margins can be set manually

in
most recent browsers but not with stylesheets. Does anyone know if it is possible to control these with javascript.


It isn't.
My assumption is that it is not
but it would be useful if that assumption turned out to be wrong.

Jul 20 '05 #19

"demetrius" <de*******@wi.rr.com> wrote in message
news:L9*******************@twister.rdc-kc.rr.com...
First, thanks to all for responding to my original question.

It looks like page footers, headers and page margins can be set manually in most recent browsers but not with stylesheets. Does anyone know if it is
possible to control these with javascript.
It isn't.
My assumption is that it is not
but it would be useful if that assumption turned out to be wrong.


Jul 20 '05 #20
Thanks.

"Harlan Messinger" <h.*********@comcast.net> wrote in message
news:c5***********@ID-114100.news.uni-berlin.de...

"demetrius" <de*******@wi.rr.com> wrote in message
news:L9*******************@twister.rdc-kc.rr.com...
First, thanks to all for responding to my original question.

It looks like page footers, headers and page margins can be set manually

in
most recent browsers but not with stylesheets. Does anyone know if it is possible to control these with javascript.


It isn't.
My assumption is that it is not
but it would be useful if that assumption turned out to be wrong.

Jul 20 '05 #21
"demetrius" <de*******@wi.rr.com> wrote in
comp.infosystems.www.authoring.stylesheets:
First, thanks to all for responding to my original question.

It looks like page footers, headers and page margins can be set manually in
most recent browsers but not with stylesheets. Does anyone know if it is
possible to control these with javascript. My assumption is that it is not
but it would be useful if that assumption turned out to be wrong.


If you want to do that damn silly thing with Javascript, ask in a
Javascript group.

(Sorry to be harsh, but what makes you think you own my browser
settings?)

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #22
"demetrius" <de*******@wi.rr.com> wrote in
comp.infosystems.www.authoring.stylesheets:
First, thanks to all for responding to my original question.

It looks like page footers, headers and page margins can be set manually in
most recent browsers but not with stylesheets. Does anyone know if it is
possible to control these with javascript. My assumption is that it is not
but it would be useful if that assumption turned out to be wrong.


If you want to do that damn silly thing with Javascript, ask in a
Javascript group.

(Sorry to be harsh, but what makes you think you own my browser
settings?)

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #23

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

Similar topics

16
by: gb | last post by:
Hi All, Ive created a popup page using 'var openWindow = window.open("new","pop")' And added content using openWindow.document.write(" "); statements. But now I would like to be able to print...
16
by: Geoff Cox | last post by:
Hello, I publish some web pages using large fonts and would like to give the user the opportunity to print the pages using a smaller font. I believe that this is possible using different style...
6
by: Alec | last post by:
Hi, I am trying to print an HTML page from Internet Explorer and it always put the page title and page count at the top of the page. How can I disable printing page title and page count? Thanks.
0
by: luca | last post by:
Hallo, here is my big problem. I will soon realease a piece of software so I wrote some documentation. I needed an HTML page that worked OK on most browsers, so I came up with this: ...
2
by: Chris Beall | last post by:
I have a table (yes, it's a REAL table...) that is quite wide. Even with a small font selected, it won't fit on a portrait mode letter page. Rather than leave the user to figure out how to print it...
16
by: J. B. Moreno | last post by:
I read the faq, and it mentions that IE 4 on windows requires setting a printing option to allow background colors to be printed. Things change, life goes on, other browsers come into...
8
by: CJM | last post by:
What is the best way to force a page break when printing from a browser? A page in my application generates a series of tables which are usually less than will fit on a page of A4. Ideally I want...
6
by: J Ames | last post by:
I have an ASP.NET (VB) form that has two drop downs, a horizontal rule and a button. The button invokes a stored procedure and several tables are created on the page with data populated. I want...
3
by: LuTHieR | last post by:
Hi, I have an HTML document and would like to split it in pages for printing. It consist basically of many tables, and I would like that when I print it the output will be one table per physical...
8
by: Neo Geshel | last post by:
Greetings. BACKGROUND: My sites are pure XHTML 1.1 with CSS 2.1 for markup. My pages are delivered as application/xhtml+xml for all non-MS web clients, and as text/xml for all MS web...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.