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

multi page scanning #18

Closed
joesphan opened this issue Nov 3, 2020 · 5 comments
Closed

multi page scanning #18

joesphan opened this issue Nov 3, 2020 · 5 comments
Labels

Comments

@joesphan
Copy link

joesphan commented Nov 3, 2020

Hello! Is it possible to do multi page scanning? I tried the -e command but it doesn't seem to do much (albeit i'm not sure what it does)

@rocketraman
Copy link
Owner

Yes multi page scanning would be the normal operation, no switch is required. -e truncated pages, use --help to get an explanation of each switch.

@joesphan
Copy link
Author

joesphan commented Nov 3, 2020

so I have
./scan --device pixma:04A926EF_SJ3029112970S -e 5 -o asdf.pdf
and the output is

Scanning...
Scanned document /tmp/tmp.oORFqyYX7f/scan-0001
scanadf: sane_read: Device busy
Device busy
Scanned 1 pages
Processing 1 pages

Done.

can you clue me into what i'm doing wrong?

@joesphan
Copy link
Author

joesphan commented Nov 3, 2020

Ok, I might not have been as clear, I want to scan a multi page document into a single pdf

@joesphan
Copy link
Author

joesphan commented Nov 3, 2020

This seemed to be the solution: adding a -a at the end of it appends to it. Thanks!

 ./scan --device pixma:04A926EF_SJ3029112970S -o asdf1.pdf -a
Scanning...
Scanned document /tmp/tmp.DMJUj0buEG/scan-0001
scanadf: sane_read: Device busy
Device busy
Scanned 1 pages
Processing 1 pages
Concatenating pdfs...

Done.

@joesphan joesphan closed this as completed Nov 3, 2020
@rocketraman
Copy link
Owner

Yes, just to clarify, the -a option allows a scan to append to an existing PDF, and has nothing to do with multi-page scans in and of themselves. Multi-page scans happen automatically with scanners that support a sheet feeder, and no -a option is necessary in this case.

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

No branches or pull requests

2 participants