Hello-
I am hoping there is a way to print HTML documents from a perl script.
#!/usr/bin/perl -w
use strict;
use warnings;
print "Content-Type: text/html\n\n";
open HTML, "table_one.html" or die $!;
while( <HTML> ) {
print;
}
close HTML;
This displays the HTML code in the terminal window, but I need to
produce the rendered page on a printer.
Is there a module that will create printable HTML,
or maybe a system or exec command that will print the documents?
These are plain HTML tables, so I don't need beautiful formatting.
-John
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/