Hi,

Been trying to auto install printers (8.0) and I have come across a few 
things.  I also looked at tonight's cooker files and they have the same 
things:

1.  AutoInstall of printers never occurs because:

install_steps.pm configurePriner has the line:
        foreach (keys %{$o->{printer}{configured} || {}}) {

and should be changed to:
        foreach (values %{$o->{printer}{configured} || {}}) {

and while there, the next line should be changed to:
            log::l("configuring printer queue $_->{QUEUE} for $_->{mode}");


2.  Installation of a Remote LPD printer using the 'lpr' system results in an 
incorrect /etc/printcap file.

printer.pm, configure_queue has:
        } elsif ($_->{TYPE} eq "REMOTE") {
            print PRINTCAP "\t:rm=$_->{REMOTEHOST}:\\\n";

and it should be:
        } elsif ($_->{TYPE} eq "LPD") {
            print PRINTCAP "\t:rm=$_->{REMOTEHOST}:\\\n";


3.  Only I would have this printer problem.... I have an HP-820C

Seems that the /usr/lib/rhs/rhs-printfilters/printerdb file has 3 printer 
definitions where the StartEntry:  is incorrectly formatted:

HP DeskJet 720     should be    HPDeskJet720
HP DeskJet 820     should be    HPDeskJet820
HP DeskJet 1000   should be    HPDeskJet1000

package installed is:  rhs-printfilters-1.76-3mdk


4.  Would be nice to add a new parameter for CUPS printers so that CUPS 
options could be passed into lpadmin.

eg.  'CUPSOPTIONS' => '-o Resolution=1200dpi -o Duplex=None'

minor change to printer.pm, configure_queue where lpadmin is run to add 

     $entry->{CUPSOPTIONS} ? (" ", $entry-{CUPSOPTIONS}) : (),


Reply via email to