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:
- Download code from http://www.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/src/
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