Инструкции
https://wiki.debian.org/ru/SystemPrinting
Собралось но во время make install ошибка
# Install PPD files for CUPS
#
export PATH=$PATH:`pwd`:; \
if [ -x /usr/sbin/ppdmgr -a -s /var/lp/ppd/ppdcache ]; then \
install -glp -d /var/lp/ppd/user; \
cd PPD; \
for ppd in *.ppd; do \
manuf=`echo "$ppd" | sed 's/-.*//'`; \
install -glp -d /var/lp/ppd/user/$manuf; \
modify-ppd <$ppd | gzip > /var/lp/ppd/user/$manuf/$ppd.gz; \
chmod 664 /var/lp/ppd/user/$manuf/$ppd.gz; \
done; \
ppdmgr -u; \
elif [ -d /usr/share/ppd ]; then \
find /usr/share/ppd -name '*foo2zjs*' | xargs rm -rf; \
find /usr/share/ppd -name '*foo2hp*' | xargs rm -rf; \
find /usr/share/ppd -name '*foo2xqx*' | xargs rm -rf; \
find /usr/share/ppd -name '*foo2lava*' | xargs rm -rf; \
find /usr/share/ppd -name '*foo2qpdl*' | xargs rm -rf; \
find /usr/share/ppd -name '*foo2slx*' | xargs rm -rf; \
find /usr/share/ppd -name '*foo2hiperc*' | xargs rm -rf; \
find /usr/share/ppd -name '*foo2hbpl*' | xargs rm -rf; \
find /usr/share/ppd -name '*foo2ddst*' | xargs rm -rf; \
[ -d /usr/share/ppd/foo2zjs ] || mkdir /usr/share/ppd/foo2zjs; \
cd PPD; \
for ppd in *.ppd; do \
modify-ppd <$ppd | gzip > /usr/share/ppd/foo2zjs/$ppd.gz; \
chmod 664 /usr/share/ppd/foo2zjs/$ppd.gz; \
done; \
fi
/bin/sh: 1: export: 1018/foo2zjs:: bad variable name
make: *** [Makefile:889: install-ppd] Ошибка 2
root@debian:/home/deepforest/Загрузки/Hp 1018/foo2zjs#