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::CUPS
  • Net::CUPS::PPD
  • Net::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 (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