WebEditor::OldFeatures::MakePS - create a postscript file from the site
use WebEditor::OldFeatures::MakePS; WebEditor::OldFeatures::MakePS::makeps($webeditor_oldcontroller_object, %args); WebEditor::OldFeatures::MakePS::makeps_send($webeditor_oldcontroller_object, %args);
This module provides the makeps function which create Postscript output from a web.editor site. It uses html2ps (available from http://user.it.uu.se/~jan/html2ps.html) to create the output from an intermediate auto-generated HTML page (which is generated by WebEditor::OldFeatures::MakeOnePageHTML).
See WebEditor::OldFeatures::MakeOnePageHTML for a description on HTML templates.
The makeps function arguments:
Specify an output file. If not set, then the output will be returned by the makeps function.
Create a TOC at the end of the document.
Use page numbers. Turned by default on if -toc is set.
-toc
The function also accepts -lang and -debug like makeonepagehtml.
-lang
-debug
The makeps_send function arguments are same as for makeps. This function automatically creates an HTTP header and prints the output to STDOUT.
Slaven Rezic.
To install WE::DB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WE::DB
CPAN shell
perl -MCPAN -e shell install WE::DB
For more information on module installation, please visit the detailed CPAN module installation guide.