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

Print page with non-printing return button

P: n/a
Hi there,

I have a print-only page that the user goes to in order to print their
document. The problem I have is that I need to have some sort of return
button/link but I don't want it to print as well. I thought about
incorporating some form of "hidden" link such as turning the document title
into a link without the underline. Unfortunately, the user wouldn't know it
was there.

Has anyone solved this problem?
Thanks,

Carlo.
Nov 19 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
When the user clicks to the print page, open it in a new browser version -
issue eliminated.

Or just have it print with the 'back' button. Not a big deal.

"carlor" <ca****@discussions.microsoft.com> wrote in message
news:15**********************************@microsof t.com...
Hi there,

I have a print-only page that the user goes to in order to print their
document. The problem I have is that I need to have some sort of return
button/link but I don't want it to print as well. I thought about
incorporating some form of "hidden" link such as turning the document
title
into a link without the underline. Unfortunately, the user wouldn't know
it
was there.

Has anyone solved this problem?
Thanks,

Carlo.

Nov 19 '05 #2

P: n/a
CSS allows you to specify a MEDIA type (screen/print) on an individual item
basis. There are a couple samples on my site, but you should be able to find
it easily enough on google as well.

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

"carlor" wrote:
Hi there,

I have a print-only page that the user goes to in order to print their
document. The problem I have is that I need to have some sort of return
button/link but I don't want it to print as well. I thought about
incorporating some form of "hidden" link such as turning the document title
into a link without the underline. Unfortunately, the user wouldn't know it
was there.

Has anyone solved this problem?
Thanks,

Carlo.

Nov 19 '05 #3

P: n/a
I guess window.onbeforeprint() & window.onafterprint() events will
help.. this works great in IE .. not sure about the compatibility

in window.onbeforeprint() , hide the button and window.onafterprint()
display it again..

the button actually doesnt get hidden-shown/blinks for the users eyes..
but this prevents from printing the button

http://msdn.microsoft.com/library/de...eforeprint.asp

or google onbeforeprint() for more help

Nov 19 '05 #4

P: n/a
Thanks. I'll have to give that a try. It sounds like it'll do the trick.

Carlo.

"sr**********@gmail.com" wrote:
I guess window.onbeforeprint() & window.onafterprint() events will
help.. this works great in IE .. not sure about the compatibility

in window.onbeforeprint() , hide the button and window.onafterprint()
display it again..

the button actually doesnt get hidden-shown/blinks for the users eyes..
but this prevents from printing the button

http://msdn.microsoft.com/library/de...eforeprint.asp

or google onbeforeprint() for more help

Nov 19 '05 #5

P: n/a
Thanks for the CSS tip.

"Curt_C [MVP]" wrote:
CSS allows you to specify a MEDIA type (screen/print) on an individual item
basis. There are a couple samples on my site, but you should be able to find
it easily enough on google as well.

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

"carlor" wrote:
Hi there,

I have a print-only page that the user goes to in order to print their
document. The problem I have is that I need to have some sort of return
button/link but I don't want it to print as well. I thought about
incorporating some form of "hidden" link such as turning the document title
into a link without the underline. Unfortunately, the user wouldn't know it
was there.

Has anyone solved this problem?
Thanks,

Carlo.

Nov 19 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.