Net::CUPS::IPP is an Internet Printing Protocol Object.
SYNOPSIS
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.
METHODS
addString
$ipp->addString( $group, $type, $name, $charset, $value );
Implementation of the CUPS C function "ippAddString". Please refer the IPP documenation 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.
Product's homepage
Requirements:
· Perl