Install libnet-cups-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libnet-cups-perl
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.