/etc/pct-scanner-script.conf.d/50configuration is in pct-scanner-scripts 0.0.4-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | # pct-scanner-script --lineart --config unit0
# lineart-unit0]
# DEVICE=net:192.168.1.1:hpaio:/usb/Officejet_J5700_series?serial=CN7BOCF3HP04TC
# COMMAND="/$HOME/.scripts/scanner/myown-pct-scanner-script-process"
# SOURCE=Flatbed
# SOURCE=ADF
# RESOLUTION=600
# OUTDIR=${HOME}
# LOG="$OUTDIR/scanscript/output/status.log"
# CLEAN=1
# pct-scanner-script --color --config unit0
# [color-unit0]
# DEVICE=net:192.168.1.1:hpaio:/usb/Officejet_J5700_series?serial=CN7BOCF3HP04TC
# SOURCE=ADF
# RESOLUTION=600
# OUTDIR=${HOME}
# OPEN=$(which evince)
# NODJVU=1
# NOPDF=1
# CLEAN=1
# pct-scanner-script --config lineart1
[lineart1]
LINEART=1
DEVICE=net:192.168.1.1:hpaio:/usb/Officejet_J5700_series?serial=CN7BOCF3HP04TC
SOURCE=Flatbed
RESOLUTION=600
OUTDIR=${HOME}
OPEN=$(which evince)
# pct-scanner-script --config grayscale1
[grayscale1]
GRAYSCALE=1
DEVICE=net:192.168.1.1:hpaio:/usb/Officejet_J5700_series?serial=CN7BOCF3HP04TC
SOURCE=Flatbed
RESOLUTION=600
OUTDIR=${HOME}
OPEN=$(which evince)
# pct-scanner-script --config color1
[color1]
COLOR=1
DEVICE=net:192.168.1.1:hpaio:/usb/Officejet_J5700_series?serial=CN7BOCF3HP04TC
SOURCE=Flatbed
RESOLUTION=600
OUTDIR=${HOME}
OPEN=$(which evince)
|