SUMMARY: lpadmin/enable weirdness..

From: Marcelo Maraboli (maraboli@disca.utfsm.cl)
Date: Wed Nov 27 1996 - 11:35:07 CST


hello folks..

boy this list is FAST...

i received an answer 20 mins after sending it...

Thanks to Stephen Harris for his solution..

which was that "enable" is a BASH command, and I should have
used "/usr/bin/enable lp" which worked ok.

Thanks..

regards..

> hello folks..
>
> i am trying to add a remote printer in an Ultra 170E with Solaris 2.5.1
> using lpadmin because the printer is attached to a Linux Box (BSD?).
>
> I use the "Answerbook" steps like the following..
>
> 1.- lpsystem -t bsd pangue.dcsc.utfsm.cl
> OK
>
> 2.- lpadmin -p lp -s pangue.dcsc.utfsm.cl -T unknown -I any
> OK
>
> 3.- accept lp
> OK
>
> 4.- enable lp
> ERROR
>
> "enable: lp: not a shell builtin"
>
> 5.- lpadmin -p lp -D "hp520 printer"
> OK
>
> 6.- lpadmin -d lp
> OK
>
> 7.- lpstat -t
>
> scheduler is running
> system default destination: lp
> system for lp: pangue.dcsc.utfsm.cl
> lp accepting requests since Wed Nov 27 12:37:55 CDT 1996
> printer lp disabled since Wed Nov 27 12:33:16 CDT 1996. available.
> new printer
>
> I send a printing job with "lpr" and it stays there...obviously because
> it is not "enabled"...
>
> why doesn't enable work ??
>
> Thanks..
>
> --
> Marcelo Maraboli R. |--| |-[]-| |--| C: uCapacitor
> | C I C | I: Electronic
> Jefe de Area de Redes (Network Administrator) | | Island
> Direccion Central de Servicios Computacionales |------()------| V: Voltage
> Federico Santa Maria University V + -
> Chile
> "Quantum Electronics"
> Phone: +56 32 665053 The Beginning of the New Electronic Age
> email:maraboli@dcsc.utfsm.cl "Quantum Electronics, That's COOL!"
> WWW : http://www.disca.utfsm.cl/~maraboli "Shut up, Beavis!"
> --------------------------------------------------------------------------/
>
>

-- 
Marcelo Maraboli R.                            |--| |-[]-| |--|  C: uCapacitor
                                               |   C  I   C   |  I: Electronic
Jefe de Area de Redes (Network Administrator)  |              |       Island
Direccion Central de Servicios Computacionales |------()------|  V: Voltage
Federico Santa Maria University                    V + -
Chile                                           
                                                "Quantum Electronics"       
Phone: +56 32 665053                   The Beginning of the New Electronic Age
email:maraboli@dcsc.utfsm.cl              "Quantum Electronics, That's COOL!"
WWW : http://www.disca.utfsm.cl/~maraboli       "Shut up, Beavis!" 
--------------------------------------------------------------------------/



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:17 CDT