Can you do the following:
sudo su lp -c 'cupsfilter -m application/pdf -p /etc/cups/ppd/<printer>.ppd /usr/share/system-config-printer/testpage-a4.ps' > test1.pdf
sudo su lp -c 'cupsfilter -m application/vnd.cups-pdf -p /etc/cups/ppd/<printer>.ppd /usr/share/system-config-printer/testpage-a4.ps' > test2.pdf
sudo su lp -c 'cupsfilter -m application/vnd.cups-postscript -p /etc/cups/ppd/<printer>.ppd /usr/share/system-config-printer/testpage-a4.ps' > test3.ps
sudo su lp -c 'cupsfilter -m application/postscript -p /etc/cups/ppd/<printer>.ppd /usr/share/system-config-printer/testpage-a4.ps' > test4.ps
This executes the commands as the system user "lp", the user as which CUPS filters are usually executed by CUPS.
Please also display the output files and tell whether they come out correctly. Attach the screen log also here.
Can you do the following:
sudo su lp -c 'cupsfilter -m application/pdf -p /etc/cups/ ppd/<printer> .ppd /usr/share/ system- config- printer/ testpage- a4.ps' > test1.pdf
sudo su lp -c 'cupsfilter -m application/ vnd.cups- pdf -p /etc/cups/ ppd/<printer> .ppd /usr/share/ system- config- printer/ testpage- a4.ps' > test2.pdf
sudo su lp -c 'cupsfilter -m application/ vnd.cups- postscript -p /etc/cups/ ppd/<printer> .ppd /usr/share/ system- config- printer/ testpage- a4.ps' > test3.ps
sudo su lp -c 'cupsfilter -m application/ postscript -p /etc/cups/ ppd/<printer> .ppd /usr/share/ system- config- printer/ testpage- a4.ps' > test4.ps
This executes the commands as the system user "lp", the user as which CUPS filters are usually executed by CUPS.
Please also display the output files and tell whether they come out correctly. Attach the screen log also here.