Intrepid (and probably Hardy, too) 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 (testpage-a4-pdftops-xpdf.ps attached to upstream bug 
report) 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").

Serge, somebody74, can you print the last attachment of the upstream bug
report (testpage-a4-pdftops-xpdf.ps) without filtering to see whether
this helps?

If it works, you can make your Intrepid environment working by switching
to the XPDF version. Make sure that the Universe package source is
activated and do

sudo apt-get install xpdf-utils

In the case that this breaks something else youi can always undo it by

sudo apt-get install poppler-utils

-- 
printer prints page at wrong position, page cut
https://bugs.launchpad.net/bugs/293832
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to