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

Bug#792514: foomatic-db: Problems when printing some pdf files in a Brother MFC-9465CDN



On Wed, Jul 15, 2015 at 05:32:27PM +0200, Agustin Martin wrote:
> 
> I noticed that for cups 1.3 or higher a pre-processing filter can be used.
> If pstopdf cups filter is available, adding following lines to ppd file
> seems to make things work here,
> 
> 
> *% PDF pre­filter to work around a problem with some Brother printers
> *cupsVersion: 1.3
> *cupsPreFilter: "application/pdf 100 pstopdf"

Attaching the actual diffs -w I tested, recreated from foomatic-bd sources.

Regards,

-- 
Agustin
diff --git a/db/source/PPD/Brother/BR9450_2_GPL.ppd b/db/source/PPD/Brother/BR9450_2_GPL.ppd
index 0c90e7e..561ed88 100644
--- a/db/source/PPD/Brother/BR9450_2_GPL.ppd
+++ b/db/source/PPD/Brother/BR9450_2_GPL.ppd
@@ -32,6 +32,9 @@
 *ShortNickName: "Brother MFC-9450CDN BR-Script3"
 *ModelName: "Brother MFC-9450CDN BR-Script3"
 *NickName: "Brother MFC-9450CDN BR-Script3"
+*% PDF pre-filter to work around a problem with some Brother printers
+*cupsVersion: 1.3
+*cupsPreFilter: "application/pdf 100 pstopdf"
 
 *%==== Basic Device Capabilities =============
 *LanguageLevel: "3"
diff --git a/db/source/PPD/Brother/BR9840_2_GPL.ppd b/db/source/PPD/Brother/BR9840_2_GPL.ppd
index 781d3c4..d99c597 100644
--- a/db/source/PPD/Brother/BR9840_2_GPL.ppd
+++ b/db/source/PPD/Brother/BR9840_2_GPL.ppd
@@ -32,6 +32,9 @@
 *ShortNickName: "Brother MFC-9840CDW BR-Script3"
 *ModelName: "Brother MFC-9840CDW BR-Script3"
 *NickName: "Brother MFC-9840CDW BR-Script3"
+*% PDF pre-filter to work around a problem with some Brother printers
+*cupsVersion: 1.3
+*cupsPreFilter: "application/pdf 100 pstopdf"
 
 *%==== Basic Device Capabilities =============
 *LanguageLevel: "3"

Reply to: