I tried to duplicate the problem and I do not think the problem is with
aborting the print.
It seems to abort fine (at least for now).
However, the problem is with the printer doing its stuff (cleaning?)
after the abort and after normal print also, when if I send another job
to it, it either keeps blinking or just hangs up.
I believe that the printer returns IDLE status when the new job is sent
because I test for it when I close the (previous) job.
I need to reset the computer and printer to recover.
Martin


-----Original Message-----
From: Martin Kajdas 
Sent: Tuesday, October 23, 2007 10:16 AM
To: Martin Kajdas; Cauligi, Raghothama S; Suffield, David
Cc: hplip-devel@lists.sourceforge.net
Subject: RE: [HPLIP-Devel] How to abort printing

I am sorry, but previous email was incorrect.
I exit both loops when SendRaster() returns any error > 0, so no NewPage
is called().
My guess is that something happens that breaks the printer communication
sequence and the printer or USB driver gets confused.
The latest HPIJS fixed many problems but I believe it is not completely
debugged.
Martin


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Martin
Kajdas
Sent: Tuesday, October 23, 2007 9:35 AM
To: Cauligi, Raghothama S; Suffield, David
Cc: hplip-devel@lists.sourceforge.net
Subject: Re: [HPLIP-Devel] How to abort printing

This is a statically linked app using HP's APDK specification so HPIJS
server (hpijs.cpp) is not used.
I checked my loop and I do exit page printing loop when SendRaster()
returns any error > 0.
Then I call NewPage() which returns another status and if this status is
also > 0, then I exit job completely.
This may be my problem and I will confirm it (SendRaster error should
not be overwritten by NewPage error: could be 0 by then).
Martin

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