This framework aims to provide a systematic method to create snaps of printer driver packages to use with cups.
I recommend installing this framework in a custom directory rather than in root directories.
- Download the source code and
cdto that direcotry. - mkdir build
export pre="`pwd`/build"- ./configure --prefix=$pre
- make
- make install
Now to use this framework with hplip:
Make sure to set the pre environment variable.
- Cd to hplip directory.
./configure --with-drvdir=$pre/share/cups/drv/hp/ --with-mimedir=$pre/share/cups/mime/ --with-hpppddir=$pre/share/cups/ppd/hp/ --with-cupsfilterdir=$pre/lib/cups/filter/ --with-cupsbackenddir=$pre/lib/cups/backend/ --prefix=$pre/- make
- make install
- cd $pre/bin
- sudo ./server