1Net::CUPS::IPP(3) User Contributed Perl Documentation Net::CUPS::IPP(3)
2
3
4
6 Net::CUPS::IPP - Internet Printing Protocol Object
7
9 use Net::CUPS::IPP;
10
11 my $ipp = Net::CUPS::IPP->new( IPP_GET_JOB_ATTRIBUTE );
12
13 my $size = $ipp->getSize();
14
15 $ipp->addString( $group, $type, $name, $charset, $value );
16
18 Net::CUPS is an object oriented interface to the Common Unix Printing
19 System.
20
21 Net::CUPS::IPP is an abstraction of the IPP implementation in CUPS.
22
24 addString
25 $ipp->addString( $group, $type, $name, $charset, $value );
26
27 Implementation of the CUPS C function "ippAddString". Please refer
28 the IPP documentation for its usage.
29
30 getAttributes
31 my @attributes = $ipp->getAttributes();
32
33 This method will return an array of all the attributes in an IPP
34 request.
35
36 getAttributeValue
37 my $value = $ipp->getAttributeValue( $name );
38
39 Method to return the associated value with method.
40
41 getSize
42 my $size = $ipp->getSize();
43
44 Utility to function to acquire the size of the IPP request. This
45 is mainly useful for debugging.
46
48 Net::CUPS, Net::CUPS::PPD, Net::CUPS::Destination
49
51 Net::CUPS is currently maintained by Stefan Seifert <NINE@cpan.org>.
52 The Github repository for this project is at
53 <https://github.com/niner/perl-Net-CUPS>. Pull requests are welcome.
54
56 Dracken Technology, Inc. (http://www.dracken.com/)
57
59 Copyright (c) 2003-2005 David Hageman
60
61 Copyright (c) 2006-2009 Dracken Technology, Inc.
62
63 All rights reserved.
64
65 This library is free software; you can redistribute it and/or modify it
66 under the same terms as Perl itself, either Perl version 5.8.8 or, at
67 your option, any later version of Perl 5 you may have available.
68
69 CUPS, the Common UNIX Printing System, the CUPS logo, and ESP Print Pro
70 are the trademark property of Easy Software Products.
71
72
73
74perl v5.34.0 2021-07-22 Net::CUPS::IPP(3)