stiwl/php-print-ipp

一个库,用于通过 PHP 向本地或服务器上的打印机发送数据

dev-master / 1.1.x-dev 2015-11-03 14:53 UTC

This package is not auto-updated.

Last update: 2024-09-24 14:59:10 UTC


README

这是一个 http://www.nongnu.org/phpprintipp/ 的克隆

这是一个新的 PHP 类,至少需要 PHP5。该类在客户端实现了 Internet Printing Protocol。

版权

Copyright (C) 2005-2008, Thomas Harding.

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA

thomas.harding@laposte.net
Thomas Harding, 1 rue Raymond Vannier, 45000 ORLEANS, FRANCE

状态

Currently, it is able to print on an IPP server, parses server's response,
is able to cancel jobs, and do all REQUIRED and OPTIONAL operations from
RFC2911.

There is also a CUPS specific class, which performs CUPS specific
operations.

限制

- SSL/TLS works, but the integrated http backend is not capable of
  "upgrade".

文档

Complete documentation is in "./documentation", or in ./html,
depending you use tarball or Debian package.

来源

It is inspired by "PrintSendLPR", by Mick Sear, but there is no more code
of it in. If you search for a very basic print client, uses it :)
PrintSendLPR is available at http://www.phpclasses.org (license: LGPL).

测试

Usage examples are given in "TEST_PrintIPP.php".

You will find complete examples in ./examples or ./testfiles.

Test _data_ files are distributed under GPL, but the aboves
are under BSD License.

享受吧!

Thomas Harding.

Bitdeli Badge