[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#285648: Efax can send pdf as well



Package: efax
Version: 0.9a-15
Severity: wishlist
Tags: patch upstream

Since efax uses ghostscript to handle postscript, and ghostscript can do
pdf as well, it just has to use it. Trivial patch below.

--- fax.fixed	2003-08-15 17:04:47.000000000 +0200
+++ fax.pdffix	2004-04-06 17:35:55.000000000 +0200
@@ -770,8 +770,8 @@
 
 	read x <$1
 	case $x in
-	%!*|?%!*)
-		echo "$1 is postscript..."
+	%!*|?%!*|%PDF*)
+		echo "$1 is postscript or pdf ..."
 		# GS can't deal with long paths so we 'cd' 
 		DIRNAME=`dirname $1` ; BASENAME=`basename $1`
 		( cd $DIRNAME ; \

Attachment: signature.asc
Description: Digital signature


Reply to: