Net::CUPS::IPP.3pm

Langue: en

Autres versions - même langue

Version: 2009-07-30 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Net::CUPS::IPP - 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 );
 
 

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

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

SUPPORT

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

AUTHOR

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.