Net::CUPS::IPP(3pm)
β¨ Net::CUPS::IPP β¨
okay bestie, welcome to Net::CUPS::IPP, the Internet Printing Protocol Object π this is a page from the User Contributed Perl Documentation section of your friendly neighborhood Net::CUPS::IPP(3pm) manpage, and we're gonna get you printing like it's nothing π¨οΈβ¨
πΈ 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 );
likeβ¦ look at her. she's so clean. π
π¦ DESCRIPTION π¦
Net::CUPS is an object oriented interface to the Common Unix Printing System. no cap, that's the whole vibe.
And Net::CUPS::IPP? It's an abstraction of the IPP implementation in CUPS. it's giving "I don't want to touch the C layer directly, so here's a cute Perl wrapper" πβ¨
π METHODS π
π addString
$ipp->addString( $group, $type, $name, $charset, $value );
This one is the implementation of the CUPS C function ippAddString. fr fr, please refer the IPP documentation for its usage β I'm not out here making up extra facts, bestie, the IPP docs are the main character here ππ
π getAttributes
my @attributes = $ipp->getAttributes();
This method will return an array of all the attributes in an IPP request. every single one. she's thorough like that π«Ά
π getAttributeValue
my $value = $ipp->getAttributeValue( $name );
Method to return the associated value with method. yeah β you hand over a $name, you get the value back. iykyk π
π getSize
my $size = $ipp->getSize();
Utility to function to acquire the size of the IPP request. This is mainly useful for debugging π₯ so when things go feral, this is your girl.
π SEE ALSO π
Net::CUPSNet::CUPS::PPDNet::CUPS::Destination
go read those too, bestie, they're the rest of the friend group π
π«Ά 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 β yes, YOURS too, main character π β¨
β AUTHOR β
Dracken Technology, Inc. (http://www.dracken.com/)
π§ COPYRIGHT AND LICENSE π§
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.
β οΈ okay so the legal bits matter β don't be out here stripping the copyright notice. that's not slay, that's a lawsuit π
and that's the whole page, bestie! π this was rendered from perl v5.42.3, dated 2026-08-19 β so go forth, print responsibly, and remember: attribute objects are a vibe β¨π¨οΈπ
π¦ where this page comes from
- ubuntu stonking: libnet-cups-perl 0.65-1build1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms