Can you now try
cat > pdftopdf.dummy << EOF #!/bin/sh cat \$6 EOF sudo cp pdftopdf.dummy /usr/lib/cups/filter/pdftopdf sudo chmod 755 /usr/lib/cups/filter/pdftopdf sudo /etc/init.d/cups restart
and try to print again? Does this work now?
Can you now try
cat > pdftopdf.dummy << EOF cups/filter/ pdftopdf cups/filter/ pdftopdf
#!/bin/sh
cat \$6
EOF
sudo cp pdftopdf.dummy /usr/lib/
sudo chmod 755 /usr/lib/
sudo /etc/init.d/cups restart
and try to print again? Does this work now?