Re: Print button that prints a named page

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Stefan B Rusynko (sbr_enjoy_at_hotmail.com)
Date: 03/19/05


Date: Sat, 19 Mar 2005 12:42:20 -0500

Sorta w/ JavaScript (not globally supported)
See http://www.developer.irt.org/script/73.htm

-- 
_____________________________________________
SBR @ ENJOY (-:              [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!"  (-;
To find the best Newsgroup for FrontPage support see:
  http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________
"Murray" <forums@HAHAgreat-web-sights.com> wrote in message news:e6b04PJLFHA.1392@TK2MSFTNGP10.phx.gbl...
|> Is that possible?
|
| Nope.
|
| -- 
| Murray
| ============
|
| "Michael" <Michael@discussions.microsoft.com> wrote in message
| news:21607524-D6D5-432E-AE78-2B9D172E1831@microsoft.com...
| > Does this script print the page on which the button is placed?
| >
| > In my case the button is placed on a page.. and in the page I have  a
| > frame
| > with a document in the frame that is opened and shown. I would like to
| > make
| > the button print the document in the frame.>
| >
| > Thnx for the help
| > Michael
| >
| > "Murray" wrote:
| >
| >> And, it's likely that the print javascript will fail in IE/Mac.  This is
| >> about 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 -
| >>
| >> Print this
| >>
| >>
| >>
| >> -- 
| >> Murray
| >> ============
| >>
| >> "Steve Easton" <admin@95isalive.com> wrote in message
| >> news:etQfMq9KFHA.2764@tk2msftngp13.phx.gbl...
| >> >A page needs to be "opened" to print it.
| >> >
| >> >
| >> > -- 
| >> > Steve Easton
| >> > Microsoft MVP FrontPage
| >> > 95isalive
| >> > This site is best viewed..................
| >> > ..............................with a computer
| >> > "Michael" <Michael@discussions.microsoft.com> wrote in message
| >> > news:53E975D7-FDA6-4491-B8DB-8FFD647B0671@microsoft.com...
| >> >> Hi,
| >> >>
| >> >> I have via a java script a button that prints the page where the
| >> >> button
| >> >> is
| >> >> placed. I need a button that prints another webpage, ie the button is
| >> >> placed
| >> >> on one page and once clicked on it, it prints another page with a
| >> >> certain
| >> >> name.
| >> >>
| >> >> Thnx
| >> >> Michael
| >> >
| >> >
| >>
| >>
| >>
|
| 

Quantcast