There is no browser method to print a page, since this would become a security hole. If you know that the users of your CGI are local then you can print it out to specific printers if you wish from within the CGI and not HTML. Otherwise, you can provide a button that allows the user view a "printer-friendly" page with all extra junk removed so that it can be printed nicely.
AgentM Systems nor Nasca Enterprises nor
Bone::Easy nor Macperl is responsible for the
comments made by
AgentM. Remember, you can build any logical system with NOR.