Forum und email

Printer Functions


These functions are only available under Windows 9.x, ME, NT4 and 2000. They have been added in PHP 4.0.4.


This » PECL extension is not bundled with PHP.

Windows users must enable php_printer.dll inside of php.ini in order to use these functions. Unbundled PECL extensions may be downloaded from: »

Runtime Configuration

The behaviour of these functions is affected by settings in php.ini.

Printer configuration options
Name Default Changeable Changelog
printer.default_printer "" PHP_INI_ALL Available since PHP 4.0.6. Removed in PHP 4.1.1.
For further details and definitions of the PHP_INI_* constants, see the php.ini directives.

Resource Types

This extension defines handles to a printer connection, to a brush, to a font and to a pen.

Predefined Constants

Table of Contents