467,074 Members | 970 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,074 developers. It's quick & easy.

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
  • viewed: 2498
Share:
22 Replies
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

16 posts views Thread by Geoff Cox | last post: by
6 posts views Thread by Alec | last post: by
reply views Thread by luca | last post: by
2 posts views Thread by Chris Beall | last post: by
16 posts views Thread by J. B. Moreno | last post: by
8 posts views Thread by CJM | last post: by
3 posts views Thread by LuTHieR | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.