Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Sep 2006 12:23:46 GMT
From:      Armin Pirkovitsch <a.pirko@inode.at>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/103616: foo2hp part of print/foo2zjs broken
Message-ID:  <200609251223.k8PCNk6L093285@www.freebsd.org>
Resent-Message-ID: <200609251230.k8PCULve000897@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         103616
>Category:       ports
>Synopsis:       foo2hp part of print/foo2zjs broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 25 12:30:20 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Armin Pirkovitsch
>Release:        6.1 RELEASE
>Organization:
>Environment:
FreeBSD oh-sub1.local 6.1-RELEASE-p2 FreeBSD 6.1-RELEASE-p2 #6: Mon Jul  3 21:19:49 CEST 2006     root@oh-sub1.local:/usr/obj/usr/src/sys/OH-SUB1_32SMP  i386

>Description:
foo2zjs contains a program called foo2hp and a script foo2hp-wrapper and both are broken.
The wrapper uses gs -sDEVICE=cups which is only available with cups-pstoraster espgs (gs -> espgs) and the lines 37-39, 214-215, 216-231 and 658-665 will kill the content of the pipe.
The foo2hp program however cores when you enable 2 bpp (bits per plane) (not enough memory allocated)
On the webpage of foo2hp the coder mentions that you shall not use foo2hp from the foo2zjs package but the "standalone" version - the source of both versions is however the same.

>How-To-Repeat:
install foo2zjs and cups
fix foo2hp-wrapper to use espgs instead of gs and comment out the above mentioned lines (otherwise gs will stop / the pipe content will be lost and nothing will be handed to gs)
install for example HP Color Laserjet 1600 in cups and set it to 2 bpp.
print and watch foo2hp die...
>Fix:
I'd suggest to not install those two broken parts of foo2zjs.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609251223.k8PCNk6L093285>