PDF出力のカスタマイズ

このセクションは、OTRSの中のPDF出力に対する構成可能なオプションを扱います。

If you use the Print action from anywhere within the OTRS interface, it will generate a formatted PDF file. You can deactivate this by modifying the configuration parameter PDF to create HTML output instead.

You can adjust the look of the files generated by OTRS by creating your own logo and adding it to PDF::LogoFile. You can use PDF::PageSize to define the standard page size of the generated pdf file (DIN-A4 or Letter), and also PDF::MaxPage to specify the maximum number of pages for a pdf file, which is useful if a user generates a huge output file by mistake.

Perl CPANモジュールPDF::API2およびCompress::Zlibはpdfファイルの生成のためにインストールされなければいけません。多くのディストリビューションでは、それらはパッケージとして利用可能で、それぞれのパッケージ・マネージャーを使用して、容易にインストールすることができます。これが可能ではなかった場合、CPANでそれらをインストールしなければならない。Perlモジュールのインストールに関するさらに詳しい情報に関しては、"Perlモジュールの設置"セクションを参照してください。