I found a bug in the code and have fixed it. This fix will be in the
next release of HPLIP.
In the meantime, if you would like to make the fix, this is what you
have to do; you have to
edit one file and remake hpijs. Here is how to do this:
in a terminal window, cd to hplip source directory.
> cd /sourcepath/hplip-x.x/prnt/hpijs
> vi dj3320.cpp (use your favourite editor if you don't like vi)
search for the line
    err = pPrinterXBow->Send (pbySync, (DWORD) sizeof (pbySync));
replace (DWORD) sizeof (pbySync) in the above line with SYNCSIZE so the
modified line now is
    err = pPrinterXBow->Send (pbySync, SYNCSIZE);
save the file and exit the editor
rebuild hpijs
> make hpijs
replace the old hpijs with this one, you have to be root to do this
> su
# cp .libs/hpijs /usr/bin
That's it.
Thanks
Raghu

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Patrick
M.
Sent: Saturday, January 13, 2007 1:53 PM
To: hplip help
Subject: [Hplip-help] Printing problems - Deskjet D4160

Hello,

First, a little info about my setup.  I am running a dual-boot setup
with Windows XP Home Edition and Ubuntu 6.10 Edgy Eft, and I want to
clarify that I'm having no problems printing using XP Home with HP's
Windows software and drivers.  The problems start to occur when I print
while running Ubuntu.  Initially, HPLIP 1.6.9 was installed on my
system, and I recently upgraded to HPLIP 1.6.12.  I've experienced the
same problems using both versions.

I've noticed and read other threads in this mailing list with "D4160"
in the subject line, and I'm having very similar problems.  I'll provide
a detailed description of the sequence of events.

After I turn the printer on, the HP Device Manager recognizes the
printer, first with a busy status, and then an idle status when the
printer finishes its startup routine.  The first print job works fine.
 The problems begin after the first print job has finished and the
second print job is sent to the printer.  Instead of beginning to print,
the printer's two LED lights (the power and feed lights) start to flash
rapidly in an alternating pattern.  Nothing prints.  The lights stop
this behavior when I press the power button, which cancels the print
job.  I have to press the power button a second time to turn the printer
off.  Once I turn the printer back on, the process repeats
itself: the first print job works normally, the second one fails (with
symptoms described above).

I'm willing to post sample documents or text files that have failed to
print; also I can post relevant log file snippets if I know which log
files to look in.  I hope I can provide enough information for everyone
so that a solution can be reached.

Thanks,

Patrick

------------------------------------------------------------------------
-
Take Surveys. Earn Cash. Influence the Future of IT Join
SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
HPLIP-Help mailing list
HPLIP-Help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-help

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
HPLIP-Help mailing list
HPLIP-Help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-help

Reply via email to