printer_get_optionとは? わかりやすく解説

Weblio 辞書 > コンピュータ > PHP関数リファレンス > printer_get_optionの意味・解説 

printer_get_option

(PECL)
printer_get_option — プリンタ設定データを取得する

説明

mixed printer_get_option ( resource handle, string option )
この関数は、option の設定値を取得します。 handle は、プリンタの有効なハンドルである必要があります。 取得可能な設定については printer_set_option() を参照ください。それに加えてさらに以下の設定も取得可能です。
  • PRINTER_DEVICENAME プリンタのデバイス名を返します。
  • PRINTER_DRIVERVERSION プリンタドライバのバージョンを返します。

例 1861. printer_get_option() の例
<?php
$handle = printer_open();
echo printer_get_option($handle, PRINTER_DRIVERVERSION);
printer_close($handle);
?>




英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「printer_get_option」の関連用語

printer_get_optionのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



printer_get_optionのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
PHP Documentation GroupPHP Documentation Group
Copyright © 1997 - 2025 by the PHP Documentation Group.

©2025 GRAS Group, Inc.RSS