[Poppler-bugs] [Bug 18711] When Poppler generates PostScript from PDF files the output is shifted on some PostScript printers

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Nov 28 02:57:15 PST 2008


http://bugs.freedesktop.org/show_bug.cgi?id=18711





--- Comment #20 from Till Kamppeter <till.kamppeter at gmail.com>  2008-11-28 02:57:13 PST ---
Created an attachment (id=20656)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=20656)
PostScript file resulting from conversion with pdftops from the XPDF package

Ubuntu Intrepid contains /usr/bin/pdftops in two packages: poppler-utils and
xpdf-utils. By default the one from poppler-utils is installed. For testing I
have switched to the one from xpdf-utils now and repeated the conversion of
testpage-a4-orig.pdf with this version.

The resulting file (attached testpage-a4-pdftops-xpdf.ps) is only slightly
different, but the page size is applied at one more point in the PostScript
file:

--- testpage-a4-pdftops.ps      2008-11-27 11:20:22.000000000 +0100
+++ testpage-a4-pdftops-xpdf.ps 2008-11-28 11:42:28.000000000 +0100
@@ -1,4 +1,6 @@
 %!PS-Adobe-3.0
+% Produced by xpdf/pdftops 3.02
+%%Title: testpage-a4.ps
 %%LanguageLevel: 3
 %%DocumentSuppliedResources: (atend)
 %%DocumentMedia: plain 595 842 0 () ()
@@ -9,8 +11,8 @@
 %%PageMedia: plain
 %%EndDefaults
 %%BeginProlog
-%%BeginResource: procset xpdf 3.00 0
-%%Copyright: Copyright 1996-2004 Glyph & Cog, LLC
+%%BeginResource: procset xpdf 3.02 0
+%%Copyright: Copyright 1996-2007 Glyph & Cog, LLC
 /xpdf 75 dict def xpdf begin
 % PDF special state
 /pdfDictSize 15 def
@@ -737,6 +739,8 @@
 false op
 false OP
 {} settransfer
+0 0 595 842 re
+W
 q
 q
 [0.12 0 0 0.12 0 0] cm

Perhaps this version is better in convincing the printer to consider the paper
as A4-sized.

pdftops of Poppler is version 3.0, of XPDF is version 3.02 ("pdftops -v").

I suggest to perhaps update Poppler's pdftops to this version.


-- 
Configure bugmail: http://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