[comp.sys.att] Problems with line printer on a unixpc

tkacik@rphroy.UUCP (Tom Tkacik) (06/27/88)

I just reconnected my printer to my unixpc after about a year of
non-use.

When I tried to print sonething, nothing came out (no suprise there :-)).
But I was never able to get anything to work.

lpstat -r said that the scheduler is not running.

Invoking lpsched did not seem to help.
Neither did enable or accept.
I tried to reset the printer form the UA, but that did not help.
The /etc/rc file seems to start the lp system, but rebooting did not help.

Can anyone tell me what I am missing?  (Probably something simple.)

Thanks

Tom Tkacik
tkacik
gmr.com

lenny@icus.UUCP (Lenny Tropiano) (06/29/88)

In article <626@rphroy.UUCP> tkacik@rphroy.UUCP (Tom Tkacik) writes:
|>I just reconnected my printer to my unixpc after about a year of
|>non-use.
|>
|>When I tried to print sonething, nothing came out (no suprise there :-)).
|>But I was never able to get anything to work.
|>
|>lpstat -r said that the scheduler is not running.
|>
|>Invoking lpsched did not seem to help.
|>Neither did enable or accept.
|>I tried to reset the printer form the UA, but that did not help.
|>The /etc/rc file seems to start the lp system, but rebooting did not help.
|>
|>Can anyone tell me what I am missing?  (Probably something simple.)
|>

Probably just a stay lock file that is telling /usr/lib/lpsched not to
start the scheduler.  You might want to check the file:

$ ls -l /usr/spool/lp/SCHEDLOCK
-r--r--r--  1 lp      other         4 Jun 26 13:01 SCHEDLOCK 

If it is there and the scheduler is not running, you can remove it.

You might want to check to make sure there is a line in /etc/.cleanup
that reads:

rm -f /usr/spool/lp/SCHEDLOCK

Good luck,
Lenny
-- 
Paper-net: Lenny Tropiano          | @-net:         lenny@icus.UUCP
           ICUS Software Systems   | !-net:      ...att    \
           PO Box 1                |                boulder \
           Islip Terrace, NY 11752 |                talcott  !icus!lenny
Vocal-net: (516) 582-5525 [work]   |                pacbell /
           (516) 968-8576 [home]   |                sbcs   /
Telex-net: 154232428 ICUS          | Another-net:   attmail!icus!lenny