> From [EMAIL PROTECTED] Mon May  6 13:56:31 2002
> Date:         Mon, 6 May 2002 22:58:31 +0300 (EET DST)
> From: Tuomas Toropainen <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: LPRng: Couple of issues with LPRng and ifhp
>
> Good evening everyone :)
>
> I'm using LPRng-3.8.10-1 and ifhp-3.5.7-1 compiled from source rpm's
> running on redhat 7.2 intel server with all redhat updates installed.
>
> Today i noticed that tc=entry option in ifhp.conf doesnt work. Or at least
> it doesnt work in this case. There is this printer entry 
> [ hp4500 hp8500 hp8550 ]
> by default in ifhp.conf. Then in the end of file, I created a new entry:
>
....
>
> And then thing that isnt lprng's fault. We have one HP CLJ 8500DN printer.
> When this printer has really cooled down (overnight) and is first time
> used after that, it takes quite a long time for it to warm up from
> powersave. Then, if waitend is used with ifhp, the printer prints job
> fine, but never returns pjl teoj (or whatever ifhp expects) to ifhp, and
> causes lprng to get stuck into "getting end using 'pjl job/eoj'". I have
> used as workaround waitend@ in that problem printer's ifhp definition.
> Weird bug, with waitend turned of it works fine. This hasnt occurred with
> any other printers we have.
>
>
> Patrick, can you comment the two first things? For now it seems like every
> time new fixed version comes out, something new is broken :/ As to my
> experience, LPRng-3.6.26-1 and ifhp-3.4.4-1 are the best working versions
> yet :)
>
>
> -Tuomas

The tc= [ xxx ] was not handled correctly, it appears.  It is now handled
correctly.  Will be in 3.5.9

The whole problem with doing something with printers is trying to test
this stuff on all of the (currently) 38 different releases of UNIX/Linux
whatever systems, and trying to get some degree of performance out
that works.

Also,  some of the printer network interfaces are just plain broken,
and I have tried to put in some general sanity checking and handling,
which in turn breaks something else.

For example:

There was one HP^H^HLexmark^H^H^H^H type of printer
that had the following habit:

send a print job via port 9100 to the printer
- if the printer was off line,  it would go into 'warmup'
If you closed the connection before the warmup was completed,
the printer would DISCARD the job.
You could not reconnect to the printer until it was warmed up,
And then the next job would print.

This was a bloody pain to trace down and find out why it was
doing this.  I forget who sat there with his/her morning coffee
and TCPDUMP and tracekd this down...  Soo.... do I put special code
into LPRng to test the status from printer
so that it would check to see if the printer was 'warmed up'?

OK, so I add more code... Now we discover that another model of ^&*(*&^(
printer will not warm up until is has received at least one (1) printable page.
(i.e.. - enough to trigger a 'print page' event to the print engine).
If you send, say, a job which does not have an entire page (1 line),
and do not close the connection,  then it will... not print... and
sits there NOT EVEN WARMING UP.

So now you have to determine what to do to tickle the printer to get it
to warm up...

Oh, yes, and then they revised the firmware so that one problem child
printer does not discard the job until it is printed...  but now you
discover that it does not return any status until you send it a whole page
(i.e. - like the second printer).

Sigh...

Patrick Powell

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