7.85 Impression
7 Index des fonctions
Manuel PHP
. Introduction . Installation . Configuration à l'exécution . printer_abort . printer_close . printer_create_brush . printer_create_dc . printer_create_font . printer_create_pen . printer_delete_brush . printer_delete_dc . printer_delete_font . printer_delete_pen . printer_draw_bmp . printer_draw_chord . printer_draw_elipse . printer_draw_line . printer_draw_pie . printer_draw_rectangle . printer_draw_roundrect . printer_draw_text . printer_end_doc . printer_end_page ->printer_get_option . printer_list . printer_logical_fontheight . printer_open . printer_select_brush . printer_select_font . printer_select_pen . printer_set_option . printer_start_doc . printer_start_page . printer_write
|
7.85.24 printer_get_option()Lit les informations de configuration de l'imprimante[ Exemples avec printer_get_option ] CVS uniquement
mixed
printer_get_option (
resource
handle
,
string
option
)
printer_get_option
lit la configuration de l'option
option
.
handle
doit être une ressource d'imprimante valide.
Lisez la documentation de
printer_set_option
pour connaître
les valeurs possibles du paramètre
option
.
De plus, les valeurs options suivantes sont accessibles en lecture :
-
PRINTER_DEVICENAME
retourne le nom de device de l'imprimante.
-
PRINTER_DRIVERVERSION
retourne la version du pilote de l'imprimante.
Exemple avec printer_get_option |
<?php $handle = printer_open(); print printer_get_option($handle, PRINTER_DRIVERVERSION); printer_close($handle); ?>
|
|