downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

printer_list> <printer_end_page
[edit] Last updated: Fri, 17 May 2013

view this page in

printer_get_option

(PECL printer SVN)

printer_get_optionRecupera la configurazione della stampante

Descrizione

mixed printer_get_option ( resource $handle , string $opzione )

La funzione recupera il valore di configurazione per il parametro opzione. Il parametro handle deve indicare un handle valido di stampante. Vedere la funzione printer_set_option() per avere l'elenco dei parametri che sono disponibili; in aggiunta possono essere recuperate le informazioni sui parametri:

  • PRINTER_DEVICENAME restituisce il nome della device della stampante.
  • PRINTER_DRIVERVERSION restituisce la versione del driver della stampante.

Example #1 Esempio di utilizzo di printer_get_option()

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


add a note add a note User Contributed Notes printer_get_option - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites