I think lpq is saying "connection refused" because the query is being 
forwarded to the lpd server on your JetDirect card, and the JetDirect is 
busy handling your print request.  If you want to look at the status of 
your print queue on the spooler, you can say "lpq -Phpdj730c@spooler", 
where "spooler" is the hostname of the spooler.

JetDirects will usually handle only one connection at a time, which 
accounts for telnet failing also.

Try talking to the JetDirect over port 9100, with lp=144.46.83.83%9100, 
instead of using the rm/rp notation used to talk to the lpd server on the 
JetDirect. 

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




[EMAIL PROTECTED] (Jun Zhang)
Sent by: [EMAIL PROTECTED]


03/22/2001 10:37 AM
Please respond to lprng

 
        To:     [EMAIL PROTECTED]
        cc: 
        Subject:        LPRng: HP Problem


Hi,
   I am using LPRng-3.7.4 and a printcap entry 
    hpdj750c:\
         :mx=0:\
         :sh:\
         :lp=:\
         :rm=144.46.83.83:\
         :rp=RAW:\
         :sd=/var/spool/lpd/%P

So there is no filters being used. I can print the first job
with JSUCC. While print is being done, lpq will tell me "connection 
refused". Now you cannot telnet to the printer. If I send another
job, after 7 retry its status will be Stalled. Same thing on a hpdj755cm.

I tried the send_data_first option, but no effect.

I don't understand why changing the originate_port from 721 731 to 512
1023 should make a difference. According to the HOW-TO, the latter is
the default, and it supposed to have solved the problem. If port 512 has
problem with the unix restriction (<1024), why the first job succeed?

Can somebody give me light?

Jun
__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at 
http://webmail.netscape.com/

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