PC Review


Reply
Thread Tools Rate Thread

Add a Print Button to a page

 
 
=?Utf-8?B?TWljaw==?=
Guest
Posts: n/a
 
      5th Feb 2005
Please can anyone tell me how to add a print button & icon to a Frontpage
page so when clicked, the user prints the page he is on, without needing to
go to the print button oon the main toolbar.
It may seem a very basic question, sorry!
 
Reply With Quote
 
 
 
 
Kathleen Anderson [MVP - FrontPage]
Guest
Posts: n/a
 
      5th Feb 2005
This script: http://javascript.internet.com/page-...dow-print.html
will bring up the print dialog box.

--
~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
web: http://www.spiderwebwoman.com/resources/
blog: http://msmvps.com/spiderwebwoman/category/321.aspx



"Mick" <(E-Mail Removed)> wrote in message
news:506223D8-B0B3-41F9-A2BE-(E-Mail Removed)...
> Please can anyone tell me how to add a print button & icon to a Frontpage
> page so when clicked, the user prints the page he is on, without needing
> to
> go to the print button oon the main toolbar.
> It may seem a very basic question, sorry!



 
Reply With Quote
 
=?Utf-8?B?TWljaw==?=
Guest
Posts: n/a
 
      5th Feb 2005
Kathleen, thank you very much, Mick

"Kathleen Anderson [MVP - FrontPage]" wrote:

> This script: http://javascript.internet.com/page-...dow-print.html
> will bring up the print dialog box.
>
> --
> ~ Kathleen Anderson
> Microsoft MVP - FrontPage
> Spider Web Woman Designs
> web: http://www.spiderwebwoman.com/resources/
> blog: http://msmvps.com/spiderwebwoman/category/321.aspx
>
>
>
> "Mick" <(E-Mail Removed)> wrote in message
> news:506223D8-B0B3-41F9-A2BE-(E-Mail Removed)...
> > Please can anyone tell me how to add a print button & icon to a Frontpage
> > page so when clicked, the user prints the page he is on, without needing
> > to
> > go to the print button oon the main toolbar.
> > It may seem a very basic question, sorry!

>
>
>

 
Reply With Quote
 
Murray
Guest
Posts: n/a
 
      5th Feb 2005
However it fails in Mac/IE5, I believe. As far as I know, this is the best
you can do -

Put this in the head of the document -

<script type="text/javascript">
function print_page(where){
var is_mac=(navigator.platform.indexOf("ac") != -1);
(document.all && is_mac)?
alert("Select \"Print\" from the menu") : where? where.window.print() :
window.print();
}
</script>

Put this in the body of the document -

<a href="javascriptrint_page()">Print this</a>



--
Murray

"Kathleen Anderson [MVP - FrontPage]" <(E-Mail Removed)> wrote in
message news:(E-Mail Removed)...
> This script: http://javascript.internet.com/page-...dow-print.html
> will bring up the print dialog box.
>
> --
> ~ Kathleen Anderson
> Microsoft MVP - FrontPage
> Spider Web Woman Designs
> web: http://www.spiderwebwoman.com/resources/
> blog: http://msmvps.com/spiderwebwoman/category/321.aspx
>
>
>
> "Mick" <(E-Mail Removed)> wrote in message
> news:506223D8-B0B3-41F9-A2BE-(E-Mail Removed)...
>> Please can anyone tell me how to add a print button & icon to a Frontpage
>> page so when clicked, the user prints the page he is on, without needing
>> to
>> go to the print button oon the main toolbar.
>> It may seem a very basic question, sorry!

>
>



 
Reply With Quote
 
=?Utf-8?B?TWljaw==?=
Guest
Posts: n/a
 
      7th Feb 2005
Murrar & Kathleen, many thanks to you both.
Mick

"Murray" wrote:

> However it fails in Mac/IE5, I believe. As far as I know, this is the best
> you can do -
>
> Put this in the head of the document -
>
> <script type="text/javascript">
> function print_page(where){
> var is_mac=(navigator.platform.indexOf("ac") != -1);
> (document.all && is_mac)?
> alert("Select \"Print\" from the menu") : where? where.window.print() :
> window.print();
> }
> </script>
>
> Put this in the body of the document -
>
> <a href="javascriptrint_page()">Print this</a>
>
>
>
> --
> Murray
>
> "Kathleen Anderson [MVP - FrontPage]" <(E-Mail Removed)> wrote in
> message news:(E-Mail Removed)...
> > This script: http://javascript.internet.com/page-...dow-print.html
> > will bring up the print dialog box.
> >
> > --
> > ~ Kathleen Anderson
> > Microsoft MVP - FrontPage
> > Spider Web Woman Designs
> > web: http://www.spiderwebwoman.com/resources/
> > blog: http://msmvps.com/spiderwebwoman/category/321.aspx
> >
> >
> >
> > "Mick" <(E-Mail Removed)> wrote in message
> > news:506223D8-B0B3-41F9-A2BE-(E-Mail Removed)...
> >> Please can anyone tell me how to add a print button & icon to a Frontpage
> >> page so when clicked, the user prints the page he is on, without needing
> >> to
> >> go to the print button oon the main toolbar.
> >> It may seem a very basic question, sorry!

> >
> >

>
>
>

 
Reply With Quote
 
Murray
Guest
Posts: n/a
 
      7th Feb 2005
You're welcome!

--
Murray

"Mick" <(E-Mail Removed)> wrote in message
news:3E3F6CDB-04FE-4DDC-A3A4-(E-Mail Removed)...
> Murrar & Kathleen, many thanks to you both.
> Mick
>
> "Murray" wrote:
>
>> However it fails in Mac/IE5, I believe. As far as I know, this is the
>> best
>> you can do -
>>
>> Put this in the head of the document -
>>
>> <script type="text/javascript">
>> function print_page(where){
>> var is_mac=(navigator.platform.indexOf("ac") != -1);
>> (document.all && is_mac)?
>> alert("Select \"Print\" from the menu") : where? where.window.print() :
>> window.print();
>> }
>> </script>
>>
>> Put this in the body of the document -
>>
>> <a href="javascriptrint_page()">Print this</a>
>>
>>
>>
>> --
>> Murray
>>
>> "Kathleen Anderson [MVP - FrontPage]" <(E-Mail Removed)> wrote in
>> message news:(E-Mail Removed)...
>> > This script:
>> > http://javascript.internet.com/page-...dow-print.html
>> > will bring up the print dialog box.
>> >
>> > --
>> > ~ Kathleen Anderson
>> > Microsoft MVP - FrontPage
>> > Spider Web Woman Designs
>> > web: http://www.spiderwebwoman.com/resources/
>> > blog: http://msmvps.com/spiderwebwoman/category/321.aspx
>> >
>> >
>> >
>> > "Mick" <(E-Mail Removed)> wrote in message
>> > news:506223D8-B0B3-41F9-A2BE-(E-Mail Removed)...
>> >> Please can anyone tell me how to add a print button & icon to a
>> >> Frontpage
>> >> page so when clicked, the user prints the page he is on, without
>> >> needing
>> >> to
>> >> go to the print button oon the main toolbar.
>> >> It may seem a very basic question, sorry!
>> >
>> >

>>
>>
>>



 
Reply With Quote
 
=?Utf-8?B?TWFyayBFLg==?=
Guest
Posts: n/a
 
      12th Jul 2007
Hmmm... Those links didn't work. If anyone reads this is there a new link
for that?

"Murray" wrote:

> You're welcome!
>
> --
> Murray
>
> "Mick" <(E-Mail Removed)> wrote in message
> news:3E3F6CDB-04FE-4DDC-A3A4-(E-Mail Removed)...
> > Murrar & Kathleen, many thanks to you both.
> > Mick
> >
> > "Murray" wrote:
> >
> >> However it fails in Mac/IE5, I believe. As far as I know, this is the
> >> best
> >> you can do -
> >>
> >> Put this in the head of the document -
> >>
> >> <script type="text/javascript">
> >> function print_page(where){
> >> var is_mac=(navigator.platform.indexOf("ac") != -1);
> >> (document.all && is_mac)?
> >> alert("Select \"Print\" from the menu") : where? where.window.print() :
> >> window.print();
> >> }
> >> </script>
> >>
> >> Put this in the body of the document -
> >>
> >> <a href="javascriptrint_page()">Print this</a>
> >>
> >>
> >>
> >> --
> >> Murray
> >>
> >> "Kathleen Anderson [MVP - FrontPage]" <(E-Mail Removed)> wrote in
> >> message news:(E-Mail Removed)...
> >> > This script:
> >> > http://javascript.internet.com/page-...dow-print.html
> >> > will bring up the print dialog box.
> >> >
> >> > --
> >> > ~ Kathleen Anderson
> >> > Microsoft MVP - FrontPage
> >> > Spider Web Woman Designs
> >> > web: http://www.spiderwebwoman.com/resources/
> >> > blog: http://msmvps.com/spiderwebwoman/category/321.aspx
> >> >
> >> >
> >> >
> >> > "Mick" <(E-Mail Removed)> wrote in message
> >> > news:506223D8-B0B3-41F9-A2BE-(E-Mail Removed)...
> >> >> Please can anyone tell me how to add a print button & icon to a
> >> >> Frontpage
> >> >> page so when clicked, the user prints the page he is on, without
> >> >> needing
> >> >> to
> >> >> go to the print button oon the main toolbar.
> >> >> It may seem a very basic question, sorry!
> >> >
> >> >
> >>
> >>
> >>

>
>
>

 
Reply With Quote
 
Alunjd
Guest
Posts: n/a
 
      3rd Dec 2009

This link does not work

"Kathleen Anderson [MVP - FrontPage]" wrote:

> This script: http://javascript.internet.com/page-...dow-print.html
> will bring up the print dialog box.
>
> --
> ~ Kathleen Anderson
> Microsoft MVP - FrontPage
> Spider Web Woman Designs
> web: http://www.spiderwebwoman.com/resources/
> blog: http://msmvps.com/spiderwebwoman/category/321.aspx
>
>
>
> "Mick" <(E-Mail Removed)> wrote in message
> news:506223D8-B0B3-41F9-A2BE-(E-Mail Removed)...
> > Please can anyone tell me how to add a print button & icon to a Frontpage
> > page so when clicked, the user prints the page he is on, without needing
> > to
> > go to the print button oon the main toolbar.
> > It may seem a very basic question, sorry!

>
>
>

 
Reply With Quote
 
Alunjd
Guest
Posts: n/a
 
      3rd Dec 2009
http://javascript.internet.com/snipp...nt-method.html

I cant see a way to edit


"Alunjd" wrote:

>
> This link does not work
>
> "Kathleen Anderson [MVP - FrontPage]" wrote:
>
> > This script: http://javascript.internet.com/page-...dow-print.html
> > will bring up the print dialog box.
> >
> > --
> > ~ Kathleen Anderson
> > Microsoft MVP - FrontPage
> > Spider Web Woman Designs
> > web: http://www.spiderwebwoman.com/resources/
> > blog: http://msmvps.com/spiderwebwoman/category/321.aspx
> >
> >
> >
> > "Mick" <(E-Mail Removed)> wrote in message
> > news:506223D8-B0B3-41F9-A2BE-(E-Mail Removed)...
> > > Please can anyone tell me how to add a print button & icon to a Frontpage
> > > page so when clicked, the user prints the page he is on, without needing
> > > to
> > > go to the print button oon the main toolbar.
> > > It may seem a very basic question, sorry!

> >
> >
> >

 
Reply With Quote
 
Ronx
Guest
Posts: n/a
 
      3rd Dec 2009
Edit what?
Just copy and paste as it says on the page.
--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.



"Alunjd" <(E-Mail Removed)> wrote in message
news:12B1215F-C2CB-44EF-808F-(E-Mail Removed)...
> http://javascript.internet.com/snipp...nt-method.html
>
> I cant see a way to edit
>
>
> "Alunjd" wrote:
>
>>
>> This link does not work
>>
>> "Kathleen Anderson [MVP - FrontPage]" wrote:
>>
>> > This script:
>> > http://javascript.internet.com/page-...dow-print.html
>> > will bring up the print dialog box.
>> >
>> > --
>> > ~ Kathleen Anderson
>> > Microsoft MVP - FrontPage
>> > Spider Web Woman Designs
>> > web: http://www.spiderwebwoman.com/resources/
>> > blog: http://msmvps.com/spiderwebwoman/category/321.aspx
>> >
>> >
>> >
>> > "Mick" <(E-Mail Removed)> wrote in message
>> > news:506223D8-B0B3-41F9-A2BE-(E-Mail Removed)...
>> > > Please can anyone tell me how to add a print button & icon to a
>> > > Frontpage
>> > > page so when clicked, the user prints the page he is on, without
>> > > needing
>> > > to
>> > > go to the print button oon the main toolbar.
>> > > It may seem a very basic question, sorry!
>> >
>> >
>> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Print one record on one page using a print button Chris Microsoft Access Getting Started 2 12th Jan 2010 05:38 PM
Print page - but not button =?Utf-8?B?V2F5bmUtSS1N?= Microsoft Frontpage 1 21st Mar 2007 06:32 PM
Button to print current page =?Utf-8?B?TWlrZUI=?= Microsoft Access Forms 1 16th Feb 2007 11:01 PM
Print button for another page? =?Utf-8?B?c2l4d2VzdA==?= Microsoft Frontpage 3 7th Nov 2005 12:10 AM
print button on one page that prints another page =?Utf-8?B?RHViX0xvdmU=?= Microsoft Frontpage 2 22nd Mar 2005 01:59 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:01 AM.