From: Huub on
Hi,

I don't know if my problem is with Slackware 12 (server) or with
apsfilter.

Recently, I tried to add an Epson Stylus S21 on a Slackware server with a
downloaded official driver. However, it turns out to be a driver for
CUPS, which is not installed. So I removed the directory that was created
during the installation.
Now my problem is, that of the 2 already installed printers, only the
Star still works. The Stylus D88Plus doesn't get any data anymore. With
lprm I used to see all (once 4) installed printers, but this is what I
get now:

# lprm
ERROR: spool queue for 'missingprinter' does not exist on server
Kaapstad.hccnet.nl
check for correct printer name or you may need to run
'checkpc -f' to create queue
# lprm -a
no printers
/etc/apsfilter# ls -F
DeskJet520/ SETUP.cfg StylusD88Plus/ basedir@
DeskJet940C/ StarLC20/ apsfilterrc perf.log
/var/spool/lpd# ls -F
DeskJet520/ DeskJet940C/ StarLC20/ StylusD88Plus/

I already did "lpc reread", but that didn't solve it. Neither did a
server reboot and physically dis/reconnecting the printer help.

Can somebody please help me out?

From: Vlad D. Markov on
On 2010-02-12, Huub <v.niekerk_@_hccnet.nl> wrote:
> Hi,
>
> I don't know if my problem is with Slackware 12 (server) or with
> apsfilter.
>
> Recently, I tried to add an Epson Stylus S21 on a Slackware server with a
> downloaded official driver. However, it turns out to be a driver for
> CUPS, which is not installed. So I removed the directory that was created
> during the installation.
> Now my problem is, that of the 2 already installed printers, only the
> Star still works. The Stylus D88Plus doesn't get any data anymore. With
> lprm I used to see all (once 4) installed printers, but this is what I
> get now:
>
> # lprm
> ERROR: spool queue for 'missingprinter' does not exist on server
> Kaapstad.hccnet.nl
> check for correct printer name or you may need to run
> 'checkpc -f' to create queue
> # lprm -a
> no printers
> /etc/apsfilter# ls -F
> DeskJet520/ SETUP.cfg StylusD88Plus/ basedir@
> DeskJet940C/ StarLC20/ apsfilterrc perf.log
> /var/spool/lpd# ls -F
> DeskJet520/ DeskJet940C/ StarLC20/ StylusD88Plus/
>
> I already did "lpc reread", but that didn't solve it. Neither did a
> server reboot and physically dis/reconnecting the printer help.
>
> Can somebody please help me out?
>
Sounds to me like your printcap file or your spool directories are
amiss. Your printers should be defined in /etc/printcap. Is
there a printer named "missingprinter" printer defined in your
printcap? Are the others you expect defined in printcap?

If they aren't there, running the SETUP script would put them back.

If they are there, Does the spool directory exist:
:sd=/var/spool/lpd/lp:

If printcap is OK and the spool directories are there then maybe you
are now running CUPS? I kind of doubt that one.

If it is of help my printcap looks like this:

# APS1_BEGIN:printer1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
lp|ijs/DESKJET_990;r=300x300;q=medium;c=full;p=letter;m=auto:\
:lp=9100(a)192.168.1.60:\
:if=/usr/pkg/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/lp:\
:lf=/var/spool/lpd/lp/log:\
:af=/var/spool/lpd/lp/acct:\
:mx#0:\
:sh:
# APS1_END - don't delete this

lp -> send the print job to port 9100 on 192.168.1.60
if -> use apsfilter as the input filer
sd ->the spool directory
lf -> the log file, sometimes there is useful info there.
af -> never learned that one
mx -> no size limit

Good luck
 | 
Pages: 1
Prev: Problem with Network
Next: Alsa module problem ?