Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

printing html documentation

Status
Not open for further replies.

bluedragon2

IS-IT--Management
Jan 24, 2003
2,642
0
0
US
Does anyone know of any online documetation on the print command for html? What I am looking for are what options I have when printing to html.

Thanks

[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
how exactly are you trying to print the html doc?

Several ways are:

print << EndOfHtml;
<HTML>...

</HTML>
EndOfHtml

Or

print "Content-type: text/html \n\n";
print "<html>";
print ....."</html>";

Or

use CGI; (which is accessible via CPAN).
 
I am useing CGI. I have the page ready, just looking for options to make it look better...

[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
You make it look better by outputting different HTML. As I said in your thread on opening a window, Perl has no concept of what it's outputting, other than it's printing text.
 
You need to look @ the CGI module and then choose with option is best suited for your needs.

CGI :)standard) works for me as I don't have write any html code, as CGI does that for me.
 
Thaks for the information, I incorporated white spaces, |, and _ to create a nice output table.

Thanks

[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top