Re: Printing code for specific pages
- From: "DavidF" <Nope@xxxxxxxxxx>
- Date: Tue, 9 Oct 2007 13:13:58 -0800
Javascript and java are two different things, and the user does not need to
have java installed. Try this snippet:
<A HREF="javascript:print(document)">print this page</A>
The problem you will have is that it will still just print the page, just as
if you used the print function in the browser. If you want a "print
friendly" page, then you have to create it as a separate html file, link to
it, and when the user goes there, they print from that page.
Post any follow up questions in the web newsgroup:
microsoft.public.publisher.webdesign and we will try to help you there.
DavidF
"alasariko" <alasariko@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D6735F13-9858-4C5B-91C7-72A941308AD0@xxxxxxxxxxxxxxxx
Mellisa,
I am aware of the print function within the browser. However I wanted to
add
a printer icon to a specific page and or text to give the user the
flexibility of printing specific text(s) (articles).
I think i might be able to come close to this by using the following code:
javascript:print()
The piece of code requires that java is installed. Therefore, I was
looking
for similar code that I will allow printing regardless if the end user has
java installed or not.
--
Alasariko
"Melissa" wrote:
"alasariko" <alasariko@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3FD63DD7-E435-497D-A20F-518349ED76E9@xxxxxxxxxxxxxxxx
I have created a web page, and in it I would like to add the abilitythe
for
visitor to click on a printer icon and print it (perhaps in plain textor
and
graphics). I've searched within Publisher 2007 and did not find
anything
related to this. Can someone suggest a solution? Thanks!!
--
Alasariko
The option is there in the browser itself.
Melissa
.
- Follow-Ups:
- Re: Printing code for specific pages
- From: alasariko
- Re: Printing code for specific pages
- References:
- Printing code for specific pages
- From: alasariko
- Re: Printing code for specific pages
- From: Melissa
- Printing code for specific pages
- Prev by Date: Re: PUB 2007-Thank you card, Store bought card printing issues
- Next by Date: Re: PUB 2007-Thank you card, Store bought card printing issues
- Previous by thread: Re: Printing code for specific pages
- Next by thread: Re: Printing code for specific pages
- Index(es):
Relevant Pages
|