array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'function.ps-open-file.php', 1 => 'ps_open_file', ), 'up' => array ( 0 => 'ref.ps.php', 1 => 'PS 関数', ), 'prev' => array ( 0 => 'function.ps-new.php', 1 => 'ps_new', ), 'next' => array ( 0 => 'function.ps-open-image-file.php', 1 => 'ps_open_image_file', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'ja', 'path' => 'reference/ps/functions/ps-open-file.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL ps >= 1.1.0)
ps_open_file — 出力用のファイルを開く
ディスク上に新しいファイルを作成し、PostScript ドキュメントをその中に書き込みます。ps_close() が呼ばれると、ファイルは閉じられます。
psdoc
ps_new() が返す、postscript ファイルのリソース ID。
filename
postscript ファイルの名前。
filename
が渡されなかった場合、
ドキュメントはメモリ内に作成され、内容は直接ブラウザに出力されます。