logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

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

Description

       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.

Name

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

See Also

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

Support

       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.

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

See Also