OK and thank for your speed
giuse@giuse-desktop:~$ dpkg -s cupsys-client Package: cupsys-client Status: purge ok not-installed Priority: optional Section: net
giuse@giuse-desktop:~$ ls -l /usr/sbin/lpadmin ls: /usr/sbin/lpadmin: Nessun file o directory
giuse@giuse-desktop:~$ sudo sh -ex /var/lib/dpkg/info/cups-pdf.postinst configure [sudo] password for giuse: + set -e + [ -f /var/log/cups/cups-pdf_log ] + chown root:lpadmin /var/log/cups/cups-pdf_log + chmod 0600 /var/log/cups/cups-pdf_log + chown nobody:nogroup /var/spool/cups-pdf/ANONYMOUS + chmod 1777 /var/spool/cups-pdf/ANONYMOUS + chmod 0700 /usr/lib/cups/backend/cups-pdf + [ -f /etc/init.d/cupsys ] + invoke-rc.d cupsys force-reload * Reloading Common Unix Printing System: cupsd [ OK ] + lpstat -r + + LC_ALL=C lpstat -v + grep cups-pdf:/ + [ -z ] + queue=PDF + number=0 + LC_ALL=C lpstat -v + cut -d : -f 1 + cut -d -f 3 + grep -q ^PDF$ + LC_ALL=C paperconf + size=a4 + lpadmin -h localhost -p PDF -E -v cups-pdf:/ -m lsb/usr/cups-pdf/PostscriptColor.ppd -o printer-is-shared=no -o PageSize=a4 /var/lib/dpkg/info/cups-pdf.postinst: 1: lpadmin: not found
Bye
OK and thank for your speed
giuse@giuse- desktop: ~$ dpkg -s cupsys-client
Package: cupsys-client
Status: purge ok not-installed
Priority: optional
Section: net
giuse@giuse- desktop: ~$ ls -l /usr/sbin/lpadmin
ls: /usr/sbin/lpadmin: Nessun file o directory
giuse@giuse- desktop: ~$ sudo sh -ex /var/lib/ dpkg/info/ cups-pdf. postinst configure cups/cups- pdf_log ] cups/cups- pdf_log cups/cups- pdf_log cups-pdf/ ANONYMOUS cups-pdf/ ANONYMOUS cups/backend/ cups-pdf cups-pdf/ PostscriptColor .ppd -o printer- is-shared= no -o PageSize=a4 dpkg/info/ cups-pdf. postinst: 1: lpadmin: not found
[sudo] password for giuse:
+ set -e
+ [ -f /var/log/
+ chown root:lpadmin /var/log/
+ chmod 0600 /var/log/
+ chown nobody:nogroup /var/spool/
+ chmod 1777 /var/spool/
+ chmod 0700 /usr/lib/
+ [ -f /etc/init.d/cupsys ]
+ invoke-rc.d cupsys force-reload
* Reloading Common Unix Printing System: cupsd [ OK ]
+ lpstat -r
+
+ LC_ALL=C lpstat -v
+ grep cups-pdf:/
+ [ -z ]
+ queue=PDF
+ number=0
+ LC_ALL=C lpstat -v
+ cut -d : -f 1
+ cut -d -f 3
+ grep -q ^PDF$
+ LC_ALL=C paperconf
+ size=a4
+ lpadmin -h localhost -p PDF -E -v cups-pdf:/ -m lsb/usr/
/var/lib/
Bye