[HPLIP-Devel] How to abort printing

2007-10-23 Thread Martin Kajdas
I have an embedded system that uses HPIJS only to talk to the printer (DeskJet D4160) using dj3320.cpp and I it is mostly working. However, I cannot find a proper way to abort printing. When a user presses an Escape key while printing, I set DisplayStatus to DISPLAY_PRINTING_CANCELED and return

Re: [HPLIP-Devel] How to abort printing

2007-10-23 Thread Martin Kajdas
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 -Original Message- From: Cauligi, Raghothama S [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 23, 2007 9:12 AM To: Martin Kajdas; Suffield, David

Re: [HPLIP-Devel] How to abort printing

2007-10-23 Thread Martin Kajdas
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