also sprach Jelle de Jong <[email protected]> [2011.07.08.1939 +0200]: > You now you can make your own config sections like [martin-lineart] and > use --config martin-lineart to use it. If a section has the same name it > should be overwritten by every new config encountered in a config file.
Yes, I am aware of this. I would like to override [lineart] as I do not want to have to specify --config too. I (the user) want to change the way [lineart] works (resolution=300, rather than 600) without having to change the global system configuration files, or pass additional configuration options. > I may have missed something but I don't see it right now. Can you > sent me your config files and an description of the behaviour you > get and what you want it to be. The files in /etc are like you provide them. My userconf is attached. The problem is that even with my updated patch, RESOLUTION stays at 600. This is because scan_configuration deletes it from configuration files parsed later, if it has been defined by an earlier configuration file. Thanks for your fast reply! -- .''`. martin f. krafft <[email protected]> Related projects: : :' : proud Debian developer http://debiansystem.info `. `'` http://people.debian.org/~madduck http://vcs-pkg.org `- Debian - when you have better things to do than fixing systems "this week dragged past me so slowly; the days fell on their knees..." -- david bowie
# pct-scanner-script --mostlytext
[lineart]
DEVICE='net:scanner:hpaio:/net/HP_LaserJet_3052?ip=192.168.14.30'
LINEART=1
SOURCE=ADF
RESOLUTION=300
OUTDIR=${TMPDIR}
OPEN=$(which pdfchain)
RMINPUT=1
NODJVU=1
NOPDF=0
CLEAN=1
[grey]
DEVICE='net:scanner:hpaio:/net/HP_LaserJet_3052?ip=192.168.14.30'
GRAYSCALE=1
SOURCE=ADF
RESOLUTION=300
OUTDIR=${TMPDIR}
OPEN=$(which pdfchain)
RMINPUT=1
NODJVU=1
CLEAN=1
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)

