Net::CUPS::IPP - Internet Printing Protocol Object


Net-CUPS documentation  | view source Contained in the Net-CUPS distribution.

Index


NAME

Top

Net::CUPS::IPP - Internet Printing Protocol Object

SYNOPSIS

Top

  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 );

DESCRIPTION

Top

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

Top

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.

SEE ALSO

Top

Net::CUPS, Net::CUPS::PPD, Net::CUPS::Destination

SUPPORT

Top

Support for this module and other software developed by Dracken Technology, Inc can be found at http://www.dracken.com/.

AUTHOR

Top

Dracken Technology, Inc. (http://www.dracken.com/)

COPYRIGHT AND LICENSE

Top


Net-CUPS documentation  | view source Contained in the Net-CUPS distribution.