Hi Dion,

This is with LPRng 3.8.3:

[pcx1839] ~ $ time lpq -Pr02ps10
Printer: [EMAIL PROTECTED] '2b_200_p1' (dest [EMAIL PROTECTED],spoolb)
 Queue: no printable jobs in queue
 Status: job 'cfA921pcx1839.desy.de' removed at 14:34:13.585
Printer: [EMAIL PROTECTED] 'Pha_4400 PS_2 4 A4 p Operators, 3975, test model'
 Queue: no printable jobs in queue
 Status: job '[EMAIL PROTECTED]' removed at 09:01:44
 Filter_status: (of) done at 09:01:44.586
lpq -Pr02ps10  0.06s user 0.00s system 34% cpu 0.175 total

[pcx1839] ~ $ time echo test | lpr -Pr02ps10
echo test  0.00s user 0.00s system 0% cpu 0.011 total
lpr -Pr02ps10  0.07s user 0.00s system 29% cpu 0.236 total


What does 'strace lpq -P<printer>' give back, with a delay as big as you
describe it it should be easy to figure out what's going on (?)

best regards
        ~christoph


-- 
/*   Christoph Beyer     |   Office: Building 2b / 23     *\
 *   DESY                |    Phone: 040-8998-2317        *
 *   - IT -              |      Fax: 040-8998-4060        *
\*   22603 Hamburg       |     http://www.desy.de         */


On Thu, 27 Feb 2003, Dion Gullotta wrote:

> First some specs.
>
> Redhat 7.3
> Dell Poweredge 1600SC print server.
> Ricoh "Afficio" 220 printer.
> LPRng-3.8.20
> No GUI stuff at all (so no gui printer config programs available)
>
> The problem i'm having is that when performing any printer functions it
> takes a long time for them to happen. It takes approx 10-12 seconds for any
> printer related thing to happen, on both workstations and the server. For
> example lpq, lpstat, printing, browsing the printers in windows explorer,
> viewing the printer properties in windows, viewing the printer queue in
> windows. For everything there's this 10 second delay. Everything prints just
> fine, but theres a 10 second delay which our users are getting annoyed with.
>
> Here's a copy of my /etc/printcap
>
> ricoh220:|Ricoh 220 Afficio:\
>         :sh:rp=auto1:rm=ricoh220:\
>         :af=acct:lf=log:\
>         :sd=/var/spool/lpd/%P:
>
> And the output of lpq
>
> Printer: [EMAIL PROTECTED] (dest [EMAIL PROTECTED])
>  Queue: no printable jobs in queue
>  Status: job '[EMAIL PROTECTED]' saved at 11:40:01.707
> Printer status : Idle.(Ready .)
> Online/Offline : Online.
> No Entries.
>
>
> Things i've tried:
> I can telnet to the printers name/ip address and the connection occurs
> almost instantly. This is on port 9100 or 151 or just the regular Telnet
> port (from which I end up at a Maintenance Shell). Pinging at about 1
> millisecond.
> I've tried putting the ip directly into the /etc/printcap but that had no
> effect.
>
> Can anyone possibly shed some light on what might be the cause of this?
> Thanks
>
>
> Dion Gullotta
> Far Edge Technology
>
> p. 02 99553640
> f. 02 99547994
> http://www.faredge.com.au
>
>
> -----------------------------------------------------------------------------
> YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
> The address you post from MUST be your subscription address
>
> If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
> or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
> to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
> with:                           | example:
> subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
> unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]
>
> If you have major problems,  send email to [EMAIL PROTECTED] with the word
> LPRNGLIST in the SUBJECT line.
> -----------------------------------------------------------------------------
>


-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to