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. 可以从不同的 PECL 页面(选择适合自己 PHP 版本的库)取得未绑定的 PECL 扩展:» PECL for PHP 4.3.x» PECL for PHP 5.0.x » PECL Unstable

运行时配置

这些函数的行为受 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.
有关 PHP_INI_* 常量进一步的细节与定义参见php.ini 配置选项

资源类型

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

预定义常量

Table of Contents