プリンタ 関数
PHP Manual

printer_get_option

(No version information available, might be only in CVS)

printer_get_optionプリンタ設定データを取得する

説明

mixed printer_get_option ( resource $printer_handle , string $option )

この関数は、option の設定値を取得します。

パラメータ

printer_handle

printer_handle には、プリンタへの有効なハンドルを指定する必要があります。

option

取得可能な設定については printer_set_option() を参照ください。それに加えてさらに以下の設定も取得可能です。

  • PRINTER_DEVICENAME プリンタのデバイス名を返します。
  • PRINTER_DRIVERVERSION プリンタドライバのバージョンを返します。

返り値

option の値を返します。

例1 printer_get_option() の例

<?php
$handle 
printer_open();
echo 
printer_get_option($handlePRINTER_DRIVERVERSION);
printer_close($handle);
?>


プリンタ 関数
PHP Manual
[お役立ちリンク集]

NPO法人の設立(東京・大阪) 東京や大阪などNPO法人を設立する場合の注意点等を紹介

不動産・賃貸・マンション 不動産・賃貸・マンションに関する用語集です。

堺市の入院・内科

大阪の賃貸探し 大阪で賃貸を探している方は大阪ホームへ

東京の賃貸マンション 東京で賃貸を探すなら東京賃貸.orgへ