🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Printing from an HTML button?

#295
From: Makarand Kulkarni
Date: Tue, 12 Oct 1999 00:00
11 lines
1112 bytes
Olivier Maas wrote:

> I would like 2 know if it is possible to print a html page using an html
> button within the page.

This can be done with javascript using print()
<FORM>
 <INPUT TYPE="BUTTON" VALUE="Print Page" onClick="window.print();">
 </FORM>
This was not the right newsgroup to post to though.
--
Technical Details
Message-ID: <3803AC01.6DADCF65@cisco.com>
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-7-bit
X-Google-Thread: fa0ae,fbc93ffd074c328c
X-Google-Attributes: gidfa0ae,public
X-Google-Thread: 112333,fbc93ffd074c328c
X-Google-Attributes: gid112333,public
From: Makarand Kulkarni <makkulka@cisco.com>
Subject: Re: Printing from an HTML button?
Date: 1999/10/12
Message-ID: <3803AC01.6DADCF65@cisco.com>
X-Deja-AN: 535986057
Cache-Post-Path: sj-nntpcache-1.cisco.com!unknown@dhcp-j31-204.cisco.com
Content-Transfer-Encoding: 7bit
References: <380320A4.5B905E6D@at-lci.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: newsabuse@supernews.com
Organization: Cisco Systems
X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/)
MIME-Version: 1.0
Newsgroups: comp.lang.perl.misc,fr.comp.lang.perl