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

search for in the

printer_list> <printer_end_page
Last updated: Fri, 18 Jul 2008

view this page in

printer_get_option

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

printer_get_option — Recupera 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
There are no user contributed notes for this page.

printer_list> <printer_end_page
Last updated: Fri, 18 Jul 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites