PHP: printer_get_option - Manual

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: Sat, 27 Jan 2007

view this page in

# printer_get_option

(PECL)

printer_get_option -- Retrieve printer configuration data

## Description

mixed printer_get_option ( resource handle, string option )

The function retrieves the configuration setting of `option`. `handle` must be a valid handle to a printer. Take a look at printer_set_option() for the settings that can be retrieved, additionally the following settings can be retrieved:

- `PRINTER_DEVICENAME` returns the devicename of the printer.

- `PRINTER_DRIVERVERSION` returns the printer driver version.

Пример 1. printer_get_option() example

`<?php $handle = printer_open(); echo printer_get_option($handle, PRINTER_DRIVERVERSION); printer_close($handle); ?>`

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: Sat, 27 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST