I noticed that when I switched to uni-di mode, the BusyWait() is not
called anymore.
BusyWait function had all my calls to OS to keep it alive.
Now, my keyboard (and screen) are not updated until the printer
finishes.
To fix this I added the OS calls to ToDevice() which fixed the problem
but I am wondering if this is the best place to put it.
Any suggestions?

Also, when the OS detects Escape key, I return JOB_CANCELED from
ToDevice() but it does not stop gracefully.
What is the proper way to cancel the job?
Martin


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Martin
Kajdas
Sent: Friday, August 31, 2007 2:10 PM
To: Suffield, David
Cc: hplip-devel@lists.sourceforge.net
Subject: Re: [HPLIP-Devel] Print errors and hangs using HPIJS with HP
DJ4160

That was it.
It was my bug; I already did call ResetIOMode but because of my bug it
did not execute properly.
After I fixed the bug, it skips the credit pacing like it suppose to and
it seems to work better and faster.

Amazingly, it worked 90% of the time and I did not suspect something
this critical being broken.

The problem is of course is understanding LDL and as far as I know the
spec is not released.
Is this so and why?

I will do some more testing and report any issues.
Martin


-----Original Message-----
From: Suffield, David [mailto:[EMAIL PROTECTED]
Sent: Friday, August 31, 2007 12:33 PM
To: Martin Kajdas
Cc: hplip-devel@lists.sourceforge.net
Subject: RE: [HPLIP-Devel] Print errors and hangs using HPIJS with HP
DJ4160

Credit pacing should not be enable for LDL. You are not running with
bi-di disabled. You need to look at the hpijs glue code and see how
bi-di is disabled (ie: see RestIOMode) before the printer job
instantiation.

-dave

------------------------------------------------------------------------
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
HPLIP-Devel mailing list
HPLIP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
HPLIP-Devel mailing list
HPLIP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-devel

Reply via email to