in reply to Perl printing to HP 7855

G'day ardaniel,

Welcome to the Monastery.

[For future reference: Please put warning & error messages (as well as code and data) within <code>...</code> tags. This makes it easier to read and has some additional benefits, such as handling special characters. Thankyou.]

I didn't have Net::CUPS installed either; attempting to install resulted in the same error you've reported.

I don't actually want that module; however, here's the procedure to follow for this, and other modules, which require 3rd-party resources.

  1. Go to the CPAN page for the module: Net::CUPS
  2. At the top of the page you'll see
    "{author-link} / {distribution-link} / {module-name}".
    In this instance, {distribution-link} is Net-CUPS-0.64; follow that link.
  3. You're now at the distribution page. You'll see a number of links to various files: you're looking for either INSTALL or README. If both are present, you may need to read both of them. In this case, there's no INSTALL; so follow the README link.
  4. About halfway down you'll see DEPENDENCIES. This is a common section in README files with information about libraries, and so on, you may need to install. For Net::CUPS, it's pointing you to http://www.cups.org.
  5. You'll need to find downloads appropriate for your operating system. In general, aim to get the most recent. Not knowing what OS you're using; I'll leave you to work out the rest yourself.

— Ken