[Poppler-bugs] [Bug 54317] New: Generated postscript prologue broken for Brother printers

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 31 03:59:24 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=54317

             Bug #: 54317
           Summary: Generated postscript prologue broken for Brother
                    printers
    Classification: Unclassified
           Product: poppler
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: dilfridge at gentoo.org


This is possibly a bug in the Brother printer postscript interpreters, but I'm
forwarding it here (from the linked Gentoo bug) for completeness and to get
your opinion. 
https://bugs.gentoo.org/show_bug.cgi?id=412135

Postscript generated by poppler (0.20) produces an error like 

ERROR NAME;
   configurationerror
COMMAND;
   setpagedevice
OPERAND STACK;
   --dicttype--

on the first printed page. Subsequent pages are printed correctly. Applying the
following patch seems to "fix" the problem:

--- poppler-0.20.2.orig/poppler/PSOutputDev.cc    2012-07-05 17:46:06.000000000
+0200
+++ poppler-0.20.2.orig/poppler/PSOutputDev.cc    2012-07-21 23:20:08.710589375
+0200
@@ -116,7 +116,6 @@ 
   "/pdfSetup {",
   "  /setpagedevice where {",
   "    pop 2 dict begin",
-  "      /Policies 1 dict dup begin /PageSize 6 def end def",
   "      { /Duplex true def } if",
   "    currentdict end setpagedevice",
   "  } {",

This may be related to bug 17952 or bug 18711.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list