tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Bruce B. Platt" <bbp () comport ! com>
To: tru64-unix-managers
Subject: lp0: Daemon filter 'f' terminated (-1) Error Message
Date: Mon, 24 May 1999 19:05:16 +0000	[thread overview]
Message-ID: <96079042215899.tru64-unix-managers.marc@archive.invalid> (raw)

One of our printers, to which I have only remote access via dial-up
(arrgh), is now refusing to print on V4.0E.

It was printing earlier today, and those on site say they changed nothing.

I can spool a job using lpr -Plp0, for example, and that command returns
with no apparent error.  Yet looking at the lpr.log
file shows the following:

May 24 14:45:04 impact1 lpd[31558]: lpd started
May 24 14:45:45 impact1 lpd[31569]: lp0: Daemon filter 'f' terminated (-1)
May 24 14:45:45 impact1 lpd[31569]: lp0: filter/access error for dfA000impact1

and the job never prints.

lpstat shows:

# lpstat -t
System default destination: lp
Scheduler is running
Output for printer lp is sent to /dev/ttya04s
Output for printer lp1 is sent to /dev/ttya05s
lp:
        printer is on device '/dev/ttya04s' speed 9600
        queuing is enabled
        printing is enabled
        no entries
        no daemon present
lp1:
        printer is on device '/dev/ttya05s' speed 9600
        queuing is enabled
        printing is enabled
        no entries
        no daemon present
Requests on lp:
Mon May 24 14:45:45 1999: 
no entries

Requests on lp1:
Mon May 24 14:46:41 1999: 
no entries

looking at the status entry for the lpd for that printer reveals:

# more /var/spool/lpd/status
Mon May 24 14:45:45 1999: 

I redid the /etc/printcap entry since someone there was trying to suppress
burst pages, and thinking they may have inserted
a bad character by mistake, I re-created it;

/etc/printcap now reads:

# cat /etc/printcap
lp|lp0|0|lp|lp0|printer1:\
        :af=/usr/adm/lpacct:\
        :br#9600:\
        :ct=dev:\
        :fc#0177777:\
        :fs#023:\
        :if=/usr/lbin/lpf:\
        :lf=/usr/adm/lperr:\
        :lp=/dev/ttya04s:\
        :mx#0:\
        :of=/usr/lbin/lpf:\
        :pl#66:\
        :pw#132:\
        :sd=/usr/spool/lpd:\
        :sh:\
        :xc#0177777:\
        :xf=/usr/lbin/xf:\
        :xs#044000:
lp1|1|lp1|P1|p2|printer2:\
        :af=/usr/adm/lp1acct:\
        :br#9600:\
        :ct=dev:\
        :fc#0177777:\
        :fs#023:\
        :if=/usr/lbin/lpf:\
        :lf=/usr/adm/lp1err:\
        :lp=/dev/ttya05s:\
        :mx#0:\
        :of=/usr/lbin/lpf:\
        :pl#66:\
        :pw#132:\
        :sd=/usr/spool/lpd1:\
        :sh:\
        :xc#0177777:\
        :xf=/usr/lbin/xf:\
        :xs#044000:
# 

The printer is an old ribbon style impact printer, so the unknown printer
entry seemed find, and was working fine.

/usr/lbin/lpf is as follows:

# ls -l /usr/lbin/lpf
-rwxr-xr-x   1 bin      bin        24576 Nov 13  1998 /usr/lbin/lpf
# 

Any and all suggestions apprciated.  I will sumarized.

Thanks and regards,

Bruce


+--------------------------------------+
Bruce B. Platt, Ph.D.
Comport Consulting Corporation
78 Orchard Street, Ramsey, NJ 07446
Phone: 201-236-0505  Fax: 201-236-1335
bbp@comport.com, bruce@ bruce.platt@
OR, bruce@bbplatt.com

                 reply	other threads:[~1999-05-24 19:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox