php man page for printer_get_option

Query: printer_get_option

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

PRINTER_GET_OPTION(3)							 1						     PRINTER_GET_OPTION(3)

printer_get_option - Retrieve printer configuration data

SYNOPSIS
mixed printer_get_option (resource $printer_handle, string $option)
DESCRIPTION
The function retrieves the configuration setting of $option.
PARAMETERS
o $printer_handle -$printer_handle must be a valid handle to a printer. o $option - Take a look at printer_set_option(3) for the settings that can be retrieved, additionally the following settings can be retrieved: o PRINTER_DEVICENAME returns the devicename of the printer. o PRINTER_DRIVERVERSION returns the printer driver version.
RETURN VALUES
Returns the value of $option.
EXAMPLES
Example #1 printer_get_option(3) example <?php $handle = printer_open(); echo printer_get_option($handle, PRINTER_DRIVERVERSION); printer_close($handle); ?> PHP Documentation Group PRINTER_GET_OPTION(3)
Related Man Pages
foomatic-ppdload(8) - redhat
enable(1) - sunos
disable(1) - sunos
printer_draw_rectangle(3) - php
printer_set_option(3) - php
Similar Topics in the Unix Linux Community
Rules for Homework &amp; Coursework Questions Forum
UNIX.COM 2017 Year End Summary
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
Status of UNIX.COM Forum Transformation
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun