Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use executable calling syntax from external file #32

Open
crowndip opened this issue May 24, 2021 · 0 comments
Open

Use executable calling syntax from external file #32

crowndip opened this issue May 24, 2021 · 0 comments

Comments

@crowndip
Copy link

Is your feature request related to a problem? Please describe.
My multifunction printer defaults to the automatic document feeder. I want it to scan from flatbed.
i can use option "--source flatbed" when calling the scanning program

Describe the solution you'd like
Crete a scanner.conf where the content would be:
sudo scanimage --mode {$this->modes[$mode]} --resolution {$resolution} -x 215 -y 297| pnmtojpeg > /tmp/img

User could then modify the command, like add "--source flatbed" for example
ScannerStorage.php would pull the line from this file to call the scanning program

Describe alternatives you've considered
Users could modify the ScannerStorage.php manually but then it reverts with each app apdate

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant