[Cooker] AutoInstall Printers

2001-09-15 Thread David Eastcott

Hi,

Using tonight's cooker, I am getting an error message:

Can't locate object method "ask_from"  via package 
"install_steps_auto_install" ...  printerdrake.pm line 1329

regards
Dave




[Cooker] AutoInstall - Printers

2001-09-14 Thread David Eastcott

Hi,

Using tonight's Cooker;  Thanks for allowing driver selections again.

Auto install of a printer fails with error message:
warning: foomatic-configure failed at  ... printer.pm line 756.

Noticed a difference between the GUI based install and the auto install;  The 
GUI install has a couple extra messages prior to 'runing: foomatic-configure 
...' which the auto install does not:

foomatic-printjob -R -s cups -P Printer
ifconfig 127.0.0.1

If that helps any.

regards
Dave




Re: [Cooker] AutoInstall Printers Problem

2001-06-13 Thread François Pons

David Eastcott <[EMAIL PROTECTED]> writes:

> Yes, autoinstall only is OK with me.  I was not trying to rush you to add it, 
> just asking your opinion.
> 
> I do appreciate that you are going to added it.

It is already added in the CVS, but next upload only of DrakX will have it.


> Best regards
> Dave

Best Redards,

François.




Re: [Cooker] AutoInstall Printers Problem

2001-06-12 Thread David Eastcott

On Tuesday 12 June 2001 09:51, you wrote:
> David Eastcott <[EMAIL PROTECTED]> writes:
> > > > Any comment on the CUPSOPTION idea?
> > >
> > > I think I can do it for expert mode using cups. This will be done
> > > before end of week.
>
> After examining this, I let you just for autoinstall options, as there is
> some work done on printer configuration that may remove these works.

Are these changes in cooker now?  Or are you still working on them and they 
will come later?

>
> Is it ok for you, I update only your changes so that autoinstall have the
> options whereas other installation method do not have them (no gui).
>

Yes, autoinstall only is OK with me.  I was not trying to rush you to add it, 
just asking your opinion.

I do appreciate that you are going to added it.


>
> François.

Best regards
Dave




Re: [Cooker] AutoInstall Printers Problem

2001-06-12 Thread François Pons

David Eastcott <[EMAIL PROTECTED]> writes:

> > > Any comment on the CUPSOPTION idea?
> >
> > I think I can do it for expert mode using cups. This will be done before
> > end of week.

After examining this, I let you just for autoinstall options, as there is some
work done on printer configuration that may remove these works.

Is it ok for you, I update only your changes so that autoinstall have the
options whereas other installation method do not have them (no gui).

François.




Re: [Cooker] AutoInstall Printers Problem

2001-06-12 Thread David Eastcott

On Tuesday 12 June 2001 03:07, you wrote:
> David Eastcott <[EMAIL PROTECTED]> writes:
> > Any idea if or when the rhs-printfilters will be updated?  Or should this
> > problem be reported another?
>
> Whenever I will update rhs-printfilter, this will be soon as I have to
> update it with rh one, to see what they changed inside it and get some
> interresting stuff here.
>
> > Any comment on the CUPSOPTION idea?
>
> I think I can do it for expert mode using cups. This will be done before
> end of week.
>
> > best regards
> > Dave
>
> Best Regards,
>
> François.

Thanks.

Dave




Re: [Cooker] AutoInstall Printers Problem

2001-06-12 Thread François Pons

David Eastcott <[EMAIL PROTECTED]> writes:

> Any idea if or when the rhs-printfilters will be updated?  Or should this 
> problem be reported another?

Whenever I will update rhs-printfilter, this will be soon as I have to update it
with rh one, to see what they changed inside it and get some interresting stuff
here.

> Any comment on the CUPSOPTION idea?

I think I can do it for expert mode using cups. This will be done before end of
week.

> best regards
> Dave

Best Regards,

François.




Re: [Cooker] AutoInstall Printers Problem

2001-06-11 Thread David Eastcott

On Sunday 10 June 2001 08:14, you wrote:
> David Eastcott <[EMAIL PROTECTED]> writes:
> > Hi,
>
> Hi!
>
> Thanks you a lot for your patch, they will be integrated soon.
>
> Francois.

Noticed the latest cooker had the patches to printer.pm and install_steps.pm, 
Thanks.

Any idea if or when the rhs-printfilters will be updated?  Or should this 
problem be reported another?

Any comment on the CUPSOPTION idea?

best regards
Dave




Re: [Cooker] AutoInstall Printers Problem

2001-06-10 Thread François Pons

David Eastcott <[EMAIL PROTECTED]> writes:

> Hi,

Hi!

Thanks you a lot for your patch, they will be integrated soon.

Francois.




[Cooker] AutoInstall Printers Problem

2001-06-10 Thread David Eastcott

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 beHPDeskJet720
HP DeskJet 820 should beHPDeskJet820
HP DeskJet 1000   should beHPDeskJet1000

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}) : (),