Net::CUPS::IPP3pm
Internet printing protocol object
Usage
use Net::CUPS::IPP;my $ipp = Net::CUPS::IPP->new( IPP_GET_JOB_ATTRIBUTE );my $size = $ipp->getSize();$ipp->addString( $group, $type, $name, $charset, $value );
Overview
Net::CUPS is an object oriented interface to the Common Unix Printing System.
Net::CUPS::IPP is an abstraction of the IPP implementation in CUPS.
Methods
addString-
$ipp->addString($group,$type,$name,$charset,$value);Implementation of the CUPS C function "ippAddString". Please refer the IPP documentation for its usage.
getAttributes-
my
@attributes=$ipp->getAttributes();This method will return an array of all the attributes in an IPP request.
getAttributeValue-
my
$value=$ipp->getAttributeValue($name);Method to return the associated value with method.
getSize-
my
$size=$ipp->getSize();Utility to function to acquire the size of the IPP request. This is mainly useful for debugging.
Support
Net::CUPS is currently maintained by Stefan Seifert <[email protected]>. The Github repository for this project is at <https://github.com/niner/perl-Net-CUPS>. Pull requests are welcome.
Copyright and license
Copyright (c) 2003-2005 David Hageman
Copyright (c) 2006-2009 Dracken Technology, Inc.
All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
CUPS, the Common UNIX Printing System, the CUPS logo, and ESP Print Pro are the trademark property of Easy Software Products.
Releases
9 releases since Debian 5.0 (Lenny); the text changed 8 times.