Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 May 2000 21:42:22 -0700 (PDT)
From:      Cy.Schubert@uumail.gov.bc.ca
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/18393: apsprint-5.4.2 cannot print ESC/P2
Message-ID:  <200005050442.e454gMC60219@cwsys.cwsent.com>

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

>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




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