Google

NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7">

printer_write

(no version information, might be only in CVS)

printer_write -- プリンタへデータを書き込む

説明

bool printer_write ( resource handle, string content)

content を直接プリンタに書き込み、成功時に TRUE、失敗した場合にFALSEを返します。

handle は、プリンタへの有効なハンドルであ る必要があります。

例 1printer_write() の例

$handle = printer_open();
printer_write($handle, "Text to print");
printer_close($handle);