Net::CUPS::IPP(3pm)

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.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 8 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11
  8. 12
  9. 13

Author

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

From libnet-cups-perl 0.64-3+b3 in Debian 13 (Trixie). Parsed by carta from the page's man source.