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

Bug#329027: The PPD files are fine, the bug is in whatever is processing them



On Mon, 22 May 2006, gpe92@free.fr wrote:
> I've made a test with (*ImageableArea A4/A4: "9 36 586 833") instead of
> (*ImageableArea A4/A4: "9.72 36 585.28 833") and now the preview in gutenprint
> is good but the impression is bad, there is a shift to the bottom.

IF gutenprint handles the real numbers just fine (i.e. it processes them
correctly), then what you have is not necessarily a problem in gutenprint.

There is a veritable mess of crap that can change the positioning of a page
when gs (whichever one) is rendering it, and whatever device gutenprint is
using to draw the preview might have a different adjustment than the IJS
device itself.

I'd really like for Debian to actually get this right, but I have never seen
a linux distro that does.

Download this file:
http://www.linuxprinting.org/download/printing/align.ps

Print it, and also /usr/share/gs<whatever ghostscript you're
using>/<whatever version of ghostscript you're using>/lib/align.ps

Printing that file, and previewing that file (using gutenprint, gv, etc)
will tell you WHAT is badly adjusted, and how.

You can try (untested) to use:
http://www.linuxprinting.org/download/printing/alignmargins

as root to modify the PPD to align margins correctly, but that is unlikely
to work if alignment is different depending on the viewer/previewer you did
see when looking at the two align.ps files I mentioned above.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



Reply to: