i fond answer How_to_install_CUPS-PDF_OpenSolarisx86.pdf.
The point is :
chmod 0700 /usr/lib/cups/backend/cups-pdf
Question
On Ubuntu 12.10, I want to install cups-pdf. Using apt-get install cups-pdf
works okay, but I want to install it in code source.
This is what I've tried:
Build cups-pdf:
gcc -o cups-pdf `cups-config --cflags` cups-pdf.c `cups-config --libs`
Run the following:
cp cups-pdf /usr/lib/cups/backend/
cp ../extra/cups-pdf.conf /etc/cups
cp ../extra/CUPS-PDF_opt.ppd /usr/share/cups/model/CUPS-PDF_opt.ppd
lpadmin -p PDFprinter -E -v cups-pdf:/ -P /usr/share/cups/model/CUPS-PDF_opt.ppd
lpadmin -d PDFprinter
Try to print a file to PDF:
lp Hello.c
Nothing happened
Solution
i fond answer How_to_install_CUPS-PDF_OpenSolarisx86.pdf.
The point is :
chmod 0700 /usr/lib/cups/backend/cups-pdf