{
    "mode": "perldoc",
    "parameter": "Mail::Message::Convert::HtmlFormatPS",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Mail%3A%3AMessage%3A%3AConvert%3A%3AHtmlFormatPS/json",
    "generated": "2026-06-13T12:29:32Z",
    "synopsis": "use Mail::Message::Convert::HtmlFormatPS;\nmy $af = Mail::Message::Convert::HtmlFormatPS->new;\nmy $postscript = $af->format($body);",
    "sections": {
        "NAME": {
            "content": "Mail::Message::Convert::HtmlFormatPS - Convert HTML into PostScript\n",
            "subsections": []
        },
        "INHERITANCE": {
            "content": "Mail::Message::Convert::HtmlFormatPS\nis a Mail::Message::Convert\nis a Mail::Reporter\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Mail::Message::Convert::HtmlFormatPS;\nmy $af = Mail::Message::Convert::HtmlFormatPS->new;\n\nmy $postscript = $af->format($body);\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Translate an HTML/XHTML message body into a postscript body using HTML::FormatPS.\n\nExtends \"DESCRIPTION\" in Mail::Message::Convert.\n",
            "subsections": []
        },
        "METHODS": {
            "content": "Extends \"METHODS\" in Mail::Message::Convert.\n",
            "subsections": [
                {
                    "name": "Constructors",
                    "content": "Extends \"Constructors\" in Mail::Message::Convert.\n\nMail::Message::Convert::HtmlFormatPS->new(%options)\n%options which start with capitals are blindly passed to HTML::FormatPS. As of this writing,\nthat package defines BottomMargin, FontFamily, FontScale, HorizontalMargin, Leading,\nLeftMargin, PageNo, PaperHeight, PaperSize, PaperWidth, RightMargin, TopMargin, and\nVerticalMargin.\n\n-Option--Defined in            --Default\nfields  Mail::Message::Convert  <not used>\nlog     Mail::Reporter          'WARNINGS'\ntrace   Mail::Reporter          'WARNINGS'\n\nfields => NAMES|ARRAY-OF-NAMES|REGEXS\nlog => LEVEL\ntrace => LEVEL\n"
                },
                {
                    "name": "Converting",
                    "content": "Extends \"Converting\" in Mail::Message::Convert.\n\n$obj->format($body)\nPass an html/xhtml encoded body, and a plain text body is returned. Characters are\ntranslated into Latin1.\n\n$obj->selectedFields($head)\nInherited, see \"Converting\" in Mail::Message::Convert\n"
                },
                {
                    "name": "Error handling",
                    "content": "Extends \"Error handling\" in Mail::Message::Convert.\n\n$obj->AUTOLOAD()\nInherited, see \"Error handling\" in Mail::Reporter\n\n$obj->addReport($object)\nInherited, see \"Error handling\" in Mail::Reporter\n\n$obj->defaultTrace( [$level]|[$loglevel, $tracelevel]|[$level, $callback] )\nMail::Message::Convert::HtmlFormatPS->defaultTrace( [$level]|[$loglevel, $tracelevel]|[$level,\n$callback] )\nInherited, see \"Error handling\" in Mail::Reporter\n\n$obj->errors()\nInherited, see \"Error handling\" in Mail::Reporter\n\n$obj->log( [$level, [$strings]] )\nMail::Message::Convert::HtmlFormatPS->log( [$level, [$strings]] )\nInherited, see \"Error handling\" in Mail::Reporter\n\n$obj->logPriority($level)\nMail::Message::Convert::HtmlFormatPS->logPriority($level)\nInherited, see \"Error handling\" in Mail::Reporter\n\n$obj->logSettings()\nInherited, see \"Error handling\" in Mail::Reporter\n\n$obj->notImplemented()\nInherited, see \"Error handling\" in Mail::Reporter\n\n$obj->report( [$level] )\nInherited, see \"Error handling\" in Mail::Reporter\n\n$obj->reportAll( [$level] )\nInherited, see \"Error handling\" in Mail::Reporter\n\n$obj->trace( [$level] )\nInherited, see \"Error handling\" in Mail::Reporter\n\n$obj->warnings()\nInherited, see \"Error handling\" in Mail::Reporter\n"
                },
                {
                    "name": "Cleanup",
                    "content": "Extends \"Cleanup\" in Mail::Message::Convert.\n\n$obj->DESTROY()\nInherited, see \"Cleanup\" in Mail::Reporter\n"
                }
            ]
        },
        "DIAGNOSTICS": {
            "content": "Error: Package $package does not implement $method.\nFatal error: the specific package (or one of its superclasses) does not implement this\nmethod where it should. This message means that some other related classes do implement this\nmethod however the class at hand does not. Probably you should investigate this and probably\ninform the author of the package.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "This module is part of Mail-Message distribution version 3.012, built on February 11, 2022.\nWebsite: http://perl.overmeer.net/CPAN/\n",
            "subsections": []
        },
        "LICENSE": {
            "content": "Copyrights 2001-2022 by [Mark Overmeer <markov@cpan.org>]. For other contributors see ChangeLog.\n\nThis program is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself. See http://dev.perl.org/licenses/\n",
            "subsections": []
        }
    },
    "summary": "Mail::Message::Convert::HtmlFormatPS - Convert HTML into PostScript",
    "flags": [],
    "examples": [],
    "see_also": []
}