Well, if the Ricoh's lpd server is causing trouble, you can try connecting 
to port 9100 instead.
 
ricoh220:|Ricoh 220 Afficio:\
        :sh:lp=ricoh220%9100:\
        :af=acct:lf=log:\
        :sd=/var/spool/lpd/%P:

Phillip Griffith  (803) 952-8776
Information Technology Department
Westinghouse Savannah River Company




"Dion Gullotta" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]


02/27/2003 06:23 PM
Please respond to lprng

 
        To:     <[EMAIL PROTECTED]>
        cc: 
        Subject:        RE: LPRng: Printer taking a long time to be "found".


Hi,

I do get a delay there. Do you know what might be causing it? Here's the
strace output of that command

<snipped the top part>

getsockname(3, {sin_family=AF_INET, sin_port=htons(934),
sin_addr=inet_addr("192.168.39.129")}}, [16]) = 0
getsockopt(3, SOL_SOCKET, SO_LINGER, [0], [8]) = 0
setsockopt(3, SOL_SOCKET, SO_LINGER, [1], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
alarm(0)                                = 0
rt_sigaction(SIGALRM, {SIG_IGN}, {SIG_IGN}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [ALRM], [], 8) = 0
rt_sigaction(SIGALRM, {0x40077ea0, [], SA_INTERRUPT|0x4000000}, {SIG_IGN},
8) = 0
alarm(30)                               = 0
write(3, "\4auto1\n", 7)                = 7
rt_sigaction(SIGALRM, {SIG_IGN}, {0x40077ea0, [], SA_INTERRUPT|0x4000000},
8) = 0
alarm(0)                                = 30
read(3, "Printer status : Idle.(Energy Sa"..., 10239) = 41
read(3, "Online/Offline : Online.\n", 10239) = 25
read(3, "\n", 10239)                    = 1
read(3, "No Entries.\n", 10239)         = 12
read(3, "\n", 10239)                    = 1
read(3, "\r\n", 10239)                  = 2
read(3, "", 10239)                      = 0
close(****THIS IS THERE THE LARGE DELAY OCCURS***3)
= 0
open("/usr/share/locale/en_AU/LC_MESSAGES/LPRng.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/LPRng.mo", O_RDONLY) = -1 ENOENT 
(No
such file or directory)
write(1, "Printer status : Idle.(Energy Sa"..., 40) = 40
write(1, "\n", 1)                       = 1
write(1, "Online/Offline : Online.", 24) = 24
write(1, "\n", 1)                       = 1
write(1, "No Entries.", 11)             = 11
write(1, "\n", 1)                       = 1
write(1, "\r", 1)                       = 1
write(1, "\n", 1)                       = 1
close(3)                                = -1 EBADF (Bad file descriptor)
rt_sigprocmask(SIG_SETMASK, ~[], [], 8) = 0
close(3)                                = -1 EBADF (Bad file descriptor)
getpid()                                = 9959
_exit(0)                                = ?


As you can see it's looking for some nonexistant files. I don't have
LPRng.mo anywhere on my system, and I can't seem to find anywhere on the
internet that tells me what it's for.

Any help appreciated.. :)



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Friday, 28 February 2003 12:37
To: [EMAIL PROTECTED]
Subject: Re: LPRng: Printer taking a long time to be "found".


Try doing lpq [EMAIL PROTECTED]  If you see a delay with this command,
suspect the lpd server on
ricoh220.

Phillip Griffith  (803) 952-8776
Information Technology Department
Westinghouse Savannah River Company

----------------------------------------------------------------------------
-
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.
-----------------------------------------------------------------------------




-----------------------------------------------------------------------------
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