Net::CUPS::IPP - Internet Printing Protocol Object
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 );
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.
$ipp->addString( $group, $type, $name, $charset, $value );
Implementation of the CUPS C function "ippAddString". Please refer the IPP documentation for its usage.
my @attributes = $ipp->getAttributes();
This method will return an array of all the attributes in an IPP request.
my $value = $ipp->getAttributeValue( $name );
Method to return the associated value with method.
my $size = $ipp->getSize();
Utility to function to acquire the size of the IPP request. This is mainly useful for debugging.
Net::CUPS is currently maintained by Stefan Seifert <NINE@cpan.org>. The Github repository for this project is at https://github.com/niner/perl-Net-CUPS. Pull requests are welcome.
Dracken Technology, Inc. (http://www.dracken.com/)
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.