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