Anton Graham <[EMAIL PROTECTED]> writes:

> Submitted 19-Nov-00 by Pixel:
> 
> > does "printerdrake -lpr" suits your need?
> 
> This was pretty much what i was looking for :)

ok

> 
> > maybe you could have printtool symlinked to printerdrake that would be lpr be
> > default?
> 
> This didn't seem to work, as it did the cups thing again.

no, not implemented yet. Well "implemented" is a bit gross for:

===================================================================
diff -u -r1.9 printerdrake
--- printerdrake        2000/10/03 16:33:05     1.9
+++ printerdrake        2000/11/19 14:58:03
@@ -38,6 +38,7 @@
 $::isStandalone = 1;
 
 my $printer; eval { $printer = printer::getinfo('') };
+$0 eq 'printtool' and $printer->{mode} = 'lpr';
 /-lpr/ and $printer->{mode} = 'lpr';
 /-cups/ and $printer->{mode} = 'CUPS';
 $printer->{mode} ||= 'CUPS'; #- assume this default if nothing found.
===================================================================

or something like this...

Reply via email to