> From [EMAIL PROTECTED] Tue Mar 12 07:40:01 2002
> Date: Tue, 12 Mar 2002 14:56:45 +0100 (MET)
> From: Johan Bengtsson <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: LPRng: Optra problems again
>
> Hi,
>
> To quote my previous mail:
> "I managed to get pagecounting working accurately in duplex +
> enginesync mode with our
> Lexmark Optra S 2450 printers by using ps_term = stopduplex. Unfortunately
> it seems that ifhp hangs sometimes when using this method. The current
> printjob stalls and the printer has to be restarted. Or maybe it's
> the printers fault - what do I know...<sigh> "
>
> I still have the same problem. I've upgraded to ifhp 3.5.6.
> Below is the output from lpq -D1 -Peowyn. Maybe you can see if it's the
> printers who's screwing things up, or ifhp, or both....:
>

After looking through the debugging stuff (lots and lots of debugging stuff)
I suspect that you have some sort of weird 'multiple users of the same printer'
problem.

Here is what MIGHT (only a guess now) be happening:
a)  LPD connects to printer, starts sending job
    (actually, LPD connects, then forks IFHP which does
    the sending.
b)  While ifhp/lpd are sending job,  another user connects
    to printer.  The printer starts to accept the job from the
    user,  queueing it up to be handled next.
c)  LPD/ifhp finish printing job,  close connection.
d)  The other job is now started to be handled.
e)  LPD connects to printer, ifhp sends a a command
    to the printer to 'echo some status information indicating
    that you are finished with previous jobs'.
    The echo response does not come back because the printer
    does not process it until it finishes the other job.
f)  IFHP tries several times to get a response,  the printer
    accepts the command,  but does not respond.  Finally,
    IFHP gives up, exits with error code,  and then LPD
    gives up.

One solution to this is to make sure that only the LPD spooler
connects and send jobs to the printer.
Patrick Powell                 Astart Technologies,
[EMAIL PROTECTED]            9475 Chesapeake Drive, Suite D,
Network and System             San Diego, CA 92123
  Consulting                   858-874-6543 FAX 858-279-8424 
LPRng - Print Spooler (http://www.lprng.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.
-----------------------------------------------------------------------------

Reply via email to