From owner-freebsd-ports Thu May 4 21:50: 8 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 6096537B7FC for ; Thu, 4 May 2000 21:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA76380; Thu, 4 May 2000 21:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (Postfix) with ESMTP id 3A29E37B8B4 for ; Thu, 4 May 2000 21:43:20 -0700 (PDT) (envelope-from Cy.Schubert@uumail.gov.bc.ca) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.8.7/8.8.8) id VAA11972 for ; Thu, 4 May 2000 21:43:18 -0700 Received: from passer.osg.gov.bc.ca(142.32.110.29) via SMTP by point.osg.gov.bc.ca, id smtpda11970; Thu May 4 21:43:07 2000 Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.9.3/8.9.1) id VAA50452 for ; Thu, 4 May 2000 21:43:07 -0700 (PDT) Received: from cwsys9.cwsent.com(10.2.2.1), claiming to be "cwsys.cwsent.com" via SMTP by passer9.cwsent.com, id smtpdS50450; Thu May 4 21:42:23 2000 Received: (from cy@localhost) by cwsys.cwsent.com (8.10.1/8.9.1) id e454gMC60219; Thu, 4 May 2000 21:42:22 -0700 (PDT) Message-Id: <200005050442.e454gMC60219@cwsys.cwsent.com> Date: Thu, 4 May 2000 21:42:22 -0700 (PDT) From: Cy.Schubert@uumail.gov.bc.ca Reply-To: Cy.Schubert@uumail.gov.bc.ca To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/18393: apsprint-5.4.2 cannot print ESC/P2 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 18393 >Category: ports >Synopsis: apsprint-5.4.2 cannot print ESC/P2 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 4 21:50:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Cy Schubert >Release: FreeBSD 4.0-STABLE i386 >Organization: Sun/DEC Team, UNIX Group, ITSD, ISTA, Province of BC >Environment: FreeBSD cwsys 4.0-STABLE FreeBSD 4.0-STABLE #0: Sun Apr 30 07:55:57 PDT 2000 root@:/usr/opt/cvs-400s-000422/src/sys/compile/CWSYS i386 >Description: When printing, via Samba, from a W95 box to an Epson 640, print's get lost in the bit bucket. This is because apsprint's print_data routine tries to evaluate PRINT_REDIR, which is NULL, and execute it. >How-To-Repeat: Send ESC/P2 to an apsprint defined printer. >Fix: --- ports/print/apsfilter/patches/patch-aa Wed Dec 31 16:00:00 1969 +++ ports-local/apsfilter/patches/patch-aa Thu May 4 20:27:12 2000 @@ -0,0 +1,11 @@ +--- bin/apsfilter.orig Sun Apr 30 07:51:54 2000 ++++ bin/apsfilter Thu May 4 20:26:32 2000 +@@ -881,6 +881,8 @@ + fi + + PRINT_REDIR="(cat 1> $TMP_PRINTOUT)" ++else ++ PRINT_REDIR=cat + fi + + >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message