hpijs duplex bug (fixed in rev 1.4)

Brad Huntting huntting at glarp.com
Mon May 26 10:03:16 PDT 2003


>Submitter-Id:	current-users
>Originator:	Brad Huntting
>Organization:	University of Colorado
>Confidential:	no 
>Synopsis:	hpijs duplex bug (fixed in rev 1.4)
>Severity:	non-critical 
>Priority:	medium 
>Category:	ports
>Class:		sw-bug
>Release:	FreeBSD 5.0-RELEASE i386
>Environment:
System: FreeBSD hunkular.glarp.com 5.0-RELEASE FreeBSD 5.0-RELEASE #3: Sat May 10 19:52:36 MDT 2003 root at hunkular.glarp.com:/usr/src/sys/i386/compile/HUNKULAR i386


	The hardware is a generic PC using an HP5550 ink jet printer
	(attached via USB) with the (optional) two-sided printing
	attachment.  I'm using ghostscript version 7.05 and
	'apsfilter'.

>Description:
	Most (all?) documents with an odd number of pages hang up
	the printer; leaving the last page in the duplexer.  The
	workaround has been to power off the printer which causes
	it to spit out the last page.

	I noticed on an hpijs discussion lists that someone else
	had experienced this problem using RedHat 7.something.

>How-To-Repeat:
	You can probably repeat this by getting an HP inkjet printer
	with duplexer, then using hpijs 1.3 and ghostscript 7, print
	a one page document.  The printer should hang with the paper
	logged in the duplexer.

>Fix:
	Upgrading to hpijs version 1.4 appears to have fixed this
	problem for me.  (Without changing anything else on my
	system, jobs which consistantly hung the printer before now
	work perfectly.)

	No new patches are required for the port, but the current
	"malloc.h -> stdlib.h" patch (which is embeded in the
	Makefile) is still needed.  Hence, the 'patch' for this
	problem/upgrade is simply:


diff -ur /usr/ports/print/hpijs/Makefile /home/huntting/src/hpijs/Makefile
--- /usr/ports/print/hpijs/Makefile.orig	Thu Feb 20 11:55:45 2003
+++ /usr/ports/print/hpijs/Makefile	Mon May 26 10:38:40 2003
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	hpijs
-PORTVERSION=	1.3.1
+PORTVERSION=	1.4
 CATEGORIES=	print
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	hpinkjet


	Thanx much,
	brad

	P.S. Sorry for being so long winded.


More information about the freebsd-ports mailing list