From owner-freebsd-ports@FreeBSD.ORG Mon May 26 10:03:16 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5079137B404; Mon, 26 May 2003 10:03:16 -0700 (PDT) Received: from hunkular.glarp.com (home-dhcp6-127.Colorado.EDU [198.11.22.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9433443F3F; Mon, 26 May 2003 10:03:15 -0700 (PDT) (envelope-from huntting@hunkular.glarp.com) Received: from hunkular.glarp.com (localhost [127.0.0.1]) by hunkular.glarp.com (8.12.6/8.12.6) with ESMTP id h4QH3lHb027708; Mon, 26 May 2003 11:03:47 -0600 (MDT) (envelope-from huntting@hunkular.glarp.com) From: Brad Huntting Message-Id: <200305261703.h4QH3lHb027708@hunkular.glarp.com> To: FreeBSD-gnats-submit@freebsd.org X-send-pr-version: 3.113 X-GNATS-Notify: Date: Mon, 26 May 2003 11:03:47 -0600 Sender: huntting@glarp.com cc: ports@freebsd.org cc: huntting@glarp.com Subject: hpijs duplex bug (fixed in rev 1.4) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: huntting@glarp.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2003 17:03:16 -0000 >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@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.