PHP 手冊
前一頁 |  | 下一頁

# printer_write

(no version information, might be only in CVS)

printer_write -- Write data to the printer

## Description

bool printer_write ( resource handle, string content )

Writes content directly to the printer. 成功回傳`TRUE`失敗回傳`FALSE`。

handle must be a valid handle to a printer.

範例 1. printer_write() example

`<?php $handle = printer_open(); printer_write($handle, "Text to print"); printer_close($handle); ?>`

前一頁 | 內容 | 下一頁
printer_start_page | 上一層 | Pspell Functions