From: Romano Giannetti (romano@pimac2.iet.unipi.it)
Date: 01/07/93


From: romano@pimac2.iet.unipi.it (Romano Giannetti)
Subject: lpr/lpd suite bugs?
Date: Thu, 7 Jan 1993 15:27:16 GMT

Hi all.
I have installed lpr/lpd almost successfully; in particular, I have
managed to have a "ps" entry in /etc/printcap that emulates a
postscript printer calling gs and preparing a file for an bj10e of a
friend of mine that I can "cat" to /dev/lp1. I have some problem,
that I ask to you:

#1 When doing a lpq from my non-privileged account I have the message
   "Warning: daemon not present" or similar, but lpd is there, from
   the other "root" VC I have a "ps i ready and printing" , and all
   seems go well... permissions broken? But where?

#2 I have a plain ascii entry in the printcap, for when I have the
   printer connected; but if I make a wrong "lpr" when lp1 is not
   connected, ALL my VC's are filled of "lp1 off line" messages, and I
   can only do a "lprm" blindly to stop it. I have syslogd running; on
   the log file I see:
<timestamp> lpd[311] restarting lp
<timestamp> last message repeated 456 times
   It is a bug or a bad-used (by me) feature?

#3 lprm seem to be buggy: if there is one only job in the queue, it
   work well; if there are two or more jobs, whatever thing I try I
   obtain:
   <see down>: lp: Too many requests
   where in the place of <see down> there is an "apparently" random
   char (it is the same if you have the same files in the queue), and
   no files are removed. So what?

Thank you very mauch. If I have answer, or if I manage to make things
   work, I will post a summary here. (We need some more summary on
   c.o.l., I think...).

I am running 0.99pl1, loopback only tcp/ip, libc.so.4.2 (one of the latest
release).

-- 
***************************************************************************
* Romano Giannetti          * Dip.to di Ingegneria dell'Informazione      *
*                           * Elettronica, Informatica e Telecomunicazioni*
* romano@iet.unipi.it       * via Diotisalvi,2                            *
* giannetti@sssup1.sssup.it * Universita' di Pisa, I-56126 PISA, Italy    *
***************************************************************************