Package Details: okimfpsdrv 1.6.0-1

Git Clone URL: https://aur.archlinux.org/okimfpsdrv.git (read-only)
Package Base: okimfpsdrv
Description: Scanner drivers OKI multifunctional printers
Upstream URL: http://www.oki.co.uk/support/printer/printer-drivers
Licenses: custom
Submitter: stativ
Maintainer: stativ
Last Packager: stativ
Votes: 1
Popularity: 0.004137
First Submitted: 2016-05-12 17:28
Last Updated: 2017-03-29 16:11

Latest Comments

dkadioglu commented on 2017-10-01 09:50

The package installs fine and the scanner can be used by the command line tools and the OKI graphical scan tool but, the scanner is not recognized by sane. To achieve this I had to add the line 'oki' to /etc/sane.d/dll.conf. The following .install script should do it:
###############################
post_install() {
echo "postinst: configure /etc/sane.d/dll.conf for oki"
echo "oki" >> /etc/sane.d/dll.conf
}

pre_remove() {
echo "prerm: deconfigure /etc/sane.d/dll.conf for oki"
mv /etc/sane.d/dll.conf /etc/sane.d/dll.conf.tmp
cat ${/etc/sane.d/dll.conf}.tmp | sed '/^oki$/d' > ${/etc/sane.d/dll.conf}
rm -f ${/etc/sane.d/dll.conf}.tmp
}
###############################

Maybe you can add that to the package. Also, I would propose to add a hint in the .install script, that the user should start and enable the okiscand service.

Thanks for packaging and maintaining this!
Best