Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: cpdf_open - Manual
[go: Go Back, main page]

PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net

search for in the

cpdf_output_buffer" width="11" height="7"/> <cpdf_newpath
Last updated: Tue, 31 Oct 2006
view this page in

cpdf_open

(PHP 3 >= 3.0.8, PHP 4, PHP 5 <= 5.0.4)

cpdf_open -- 新規 pdf ドキュメントをオープンする

説明

int cpdf_open ( int compression [, string filename [, array doc_limits]] )

cpdf_open() 関数は、新規 pdf ドキュメントを オープンします。最初の引数が 0 以外である場合、ドキュメントの圧縮が オンとなります。オプションの 2 番目のパラメータには、ドキュメントを 書き込むファイルを設定します。これを省略した場合、ドキュメントは メモリ上に作成され、cpdf_save_to_file() により ファイルに書き込むか、 cpdf_output_buffer() により 標準出力に書き込むかのどちらかの処理を行うことができます。

注意: 将来のバージョンの ClipPDF では、pdf ドキュメントを書きこむ他の 全ての関数の最初の引数として、この関数の返り値が必要となるでしょう。

ClibPDF ライブラリは、標準出力 (stdout) を表すファイル名として "-" をとります。ClipPDF の標準出力への出力は apache との 組み合わせでは動作しないため、PHP が apache モジュールとして コンパイルされている場合、この指定は動作しません。この問題は、 ファイル名の指定をスキップし、pdf ドキュメントを出力するために cpdf_output_buffer() を使用することにより 解決することができます。

cpdf_close() および cpdf_output_buffer() も参照ください。



add a note add a note User Contributed Notes
cpdf_open
There are no user contributed notes for this page.

cpdf_output_buffer" width="11" height="7"/> <cpdf_newpath
Last updated: Tue, 31 Oct 2006
 
 
show source | credits | sitemap | contact | advertising | mirror sites