Install libnet-cups-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libnet-cups-perl
Description:
Perl module for printing through CUPS
Net::CUPS is a Perl module that provides an object-oriented interface to the Common Unix Printing System (CUPS). It supports retrieving information such as names of all configured printers, authenticating with username/password credentials, and various other utilities for manipulating the CUPS daemon.
Homepage: https://metacpan.org/release/Net-CUPS
Version: 0.64-1
Section: universe/perl