πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.perl.misc
Article #293

Re: Printing from an HTML button?

#293
From: Philippe Mathis
Date: Tue, 12 Oct 1999 00:00
26 lines
1484 bytes
You can write in Java

 <form method="post">
 <p><input name="Taste" onclick="javascript:self.print();" type="button"
value="Imprimer cette page"></p></form>

si j'ai bien compris la question......
philippe@mathis.net
http://philippe.mathis.net
http://www.genlink.org



Olivier Maas a οΏ½crit:

> Hi,
> I would like 2 know if it is possible to print a html page using an html
> button within the page.
>
> I have several pages and I would like 2 have my own "print" button on
> the page (using jscript, VBscript, or perl... or anything else!!)
>
> thanks for your advice,
> could you please also reply to maas@ensae.fr
> blue skies and soft landings
> olivier
Technical Details
Message-ID: <38032A5C.CA2D1DBF@mathis.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <380320A4.5B905E6D@at-lci.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 112333,fbc93ffd074c328c
X-Google-Attributes: gid112333,public
X-Google-Thread: fa0ae,fbc93ffd074c328c
X-Google-Attributes: gidfa0ae,public
From: Philippe Mathis <philippe@mathis.net>
Subject: Re: Printing from an HTML button?
Date: 1999/10/12
Message-ID: <38032A5C.CA2D1DBF@mathis.net>
X-Deja-AN: 535786947
Content-Transfer-Encoding: 8bit
References: <380320A4.5B905E6D@at-lci.com>
To: maas@ensae.fr
Content-Type: text/plain; charset=iso-8859-1
X-Complaints-To: newsmaster@bluewin.ch
X-Trace: bw107zhb.bluewin.ch 939731680 21806 195.186.29.70 (12 Oct 1999 12:34:40 GMT)
Organization: Swisscom AG, the blue window
Mime-Version: 1.0
NNTP-Posting-Date: 12 Oct 1999 12:34:40 GMT
Newsgroups: comp.lang.perl.misc,fr.comp.lang.perl