HP All-in-one: ADF feeds two sheets when one is canned
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- embedded-iot
Direzione di ricerca
The report provides a Python reproduction using sane.open(), dev.start(), dev.snap(), and source='ADF' on an HP OfficeJet Pro 9020. Begin by reproducing the extra-feed behavior and trace how snap and iterator handling interact with SANE ADF scanning. Done means establishing a tested correction for the one-page case or confirming and documenting an upstream hardware/backend limitation.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
If I e.g. use the iterator to scan 3 pages, a 4th one is also fed. Below is a minimal example which scans one page but feeds two sheets.
#!/usr/bin/env python
import sane
import numpy
from PIL import Image
#
# Initialize sane
#
ver = sane.init()
print('SANE version:', ver)
# prints: SANE version: (16777245, 1, 0, 29)
#
# Get devices
#
#devices = sane.get_devices()
#print('Available devices:', devices)
sc_dev = ('hpaio:/net/hp_officejet_pro_9020_series?ip=192.168.0.57&queue=false', 'Hewlett-Packard', 'hp_officejet_pro_9020_series', 'all-in-one')
print('\n Opening: \n', sc_dev[1], sc_dev[2])
#
# Open first device
#
dev = sane.open(sc_dev[0])
try:
dev.depth = 8
dev.mode = 'Color'
dev.source = 'ADF'
dev.resolution = 200
except:
print('problem setting params')
quit()
#
# Start a scan and get a PIL.Image object
#
dev.start()
im = dev.snap()
im.save('test_pil.png')
#
# Close the device
#
dev.close()
- Lingua principale
- C
- Stelle
- 61
- Fork
- 22
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di python-pillow/Sane
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
python-pillow/Sane#110 · 1 commento · 1 reazione ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 50/100
python-pillow/Sane#107 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
python-pillow/Sane#103 ·
-
Sane leaks filedescriptors Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
python-pillow/Sane#93 ·
-
Cannot push virtual buttons Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
python-pillow/Sane#92 ·
Tutte le issue di python-pillow/Sane
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
level/task module/gcp type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
hapostgres/pg_auto_failover#1190 ·
-
docs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
P3 sonic-vpp
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
sonic-net/sonic-buildimage#29662 ·