Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

cpan module to add a new printer in Linux

by Steve_BZ (Chaplain)
on May 24, 2012 at 11:46 UTC ( #972226=perlquestion: print w/ replies, xml ) Need Help??
Steve_BZ has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

Do you know if there is a cpan module to add a new printer in Linux? There are plenty of modules to adjust printer settings etc, but is there anything to detect a new printer plugged into the device and provide a simple wizard to add it?



Comment on cpan module to add a new printer in Linux
Replies are listed 'Best First'.
Re: cpan module to add a new printer in Linux
by daxim (Chaplain) on May 24, 2012 at 12:16 UTC

      Hi Daxim,

      Thanks for this. In fact, then, it looks as though the final architecture will be a mixture of:

      • Some udev stuff to detect when something is plugged in;
      • Some cups stuff to actually add it (or not);
      • Some or stuff to adjust the settings;

      I'll post when I get a better answer.



Re: cpan module to add a new printer in Linux
by jack123 (Acolyte) on May 24, 2012 at 12:26 UTC
    Please refer :

      How does Printer add the question of adding a new printer to the system printer definitions when plugging the device in? From reading the documentation, it only seems to handle the job of printing to devices known to lpd (or the OS), not the job of printer definitions and printer administration.

      What part of the module documentation did you think would allow Linux users to add new printers?

      "This module is intended to allow perl programs to use and query printers on any computer system capable of running perl. The intention of this module is for a program to be able to use the printer without having to know which operating system is being used."

      Is there a reason you continue to post bare URLs rather than use a link?

      Hi Jack,

      Well, the guys are right, but thanks all the same. Up to now I've been using Wx::Printer, so it will be interesting to see if is any more flexible/can be put to different uses.

      Nil illegitimi carborundum eh?



Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://972226]
Approved by kcott
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2015-10-09 10:55 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (239 votes), past polls