By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,676 Members | 1,763 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,676 IT Pros & Developers. It's quick & easy.

printing through browsers

P: n/a
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
Share this Question
Share on Google+
22 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a

"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

P: n/a
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

P: n/a
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

P: n/a

"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

P: n/a
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

P: n/a
"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

P: n/a
"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.