Comment 14 for bug 293832

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

somebody74, at first test the package from -proposed, to see whether this perhpas already fixes the problem.

If not, do the following test:

sudo -s
mv /usr/lib/cups/filter/pdftopdf /usr/lib/cups/filter/pdftopdf.orig
cat > /usr/lib/cups/filter/pdftopdf << EOF
#!/bin/sh
cat \$6
EOF
chmod 755 /usr/lib/cups/filter/pdftopdf
exit

Note that all commands between "sudo -s" and "exit" are executed as root (you have a prompt ending with "#").

This short-circuits the pdftopdf filter. So we can see whether the pdftopdf filter causes the shift.

Undo this change via

sudo mv /usr/lib/cups/filter/pdftopdf.orig /usr/lib/cups/filter/pdftopdf

If the pdftopdf short-circuit does not help, extract the PostScript output in both Hardy and Intrepid, to do so, replace /usr/lib/cups/filter/cpdftocps by the attached file. Save a copy of the original file and make sure you make the new file world-executable.

After printing you will have a file /tmp/printout which contains the PostScript file. Attach the two output files.