hp-scan (batch-mode from ADF) cuts off PDF-picture when scan resolution is not the lowest
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
New
|
Undecided
|
Unassigned |
Bug Description
When using
hp-scan --adf --mode=Lineart --res=300 --size=a4 --resize=100
i get a pdf-output, but in the PDF is only a section of the full image. When i set the scan-resolution to 75, which is the lowest everything works perfect. The higher resolution the smaller the section in the PDF-file is.
Also i can see the temporary PNG-files and they are okay, so scanning works.
So I think there is only a Problem with the pdf-converter. Can you fix it?
hp-check:
---------------
| SYSTEM INFO |
---------------
Basic system information:
Linux HP6820S 2.6.30-gentoo-r6 #5 SMP Sat Oct 10 12:06:38 CEST 2009 i686 Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz GenuineIntel GNU/Linux
Distribution:
gentoo 0.0
Checking Python version...
OK, version 2.6.2 installed
Checking PyQt 4.x version...
OK, version 4.5.4 installed.
Checking for CUPS...
Status: Scheduler wird ausgeführt
Version: 1.3.10
warning: /etc/cups/
Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.82.4
-------
| COMPILE AND RUNTIME DEPENDENCIES |
-------
note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).
Checking for dependency: CUPS - Common Unix Printing System...
OK, found.
Checking for dependency: CUPS DDK - CUPS driver development kit...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
Checking for dependency: CUPS devel- Common Unix Printing System development files...
OK, found.
Checking for dependency: CUPS image - CUPS image development files...
OK, found.
Checking for dependency: DBus - Message bus system...
OK, found.
Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.
Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.
Checking for dependency: libcrypto - OpenSSL cryptographic library...
OK, found.
Checking for dependency: libjpeg - JPEG library...
OK, found.
Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.
Checking for dependency: libpthread - POSIX threads library...
OK, found.
Checking for dependency: libtool - Library building support services...
OK, found.
Checking for dependency: libusb - USB library...
OK, found.
Checking for dependency: make - GNU make utility to maintain groups of programs...
OK, found.
Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.
Checking for dependency: PolicyKit - Administrative policy framework...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.
Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.
Checking for dependency: Python devel - Python development files...
OK, found.
Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
Checking for dependency: Python XML libraries...
OK, found.
Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.
Checking for dependency: Python 2.2 or greater - Python programming language...
OK, found.
Checking for dependency: Reportlab - PDF library for Python...
OK, found.
Checking for dependency: SANE - Scanning library...
OK, found.
Checking for dependency: SANE - Scanning library development files...
OK, found.
Checking for dependency: scanimage - Shell scanning program...
OK, found.
Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.
-------
| HPLIP INSTALLATION |
-------
Currently installed HPLIP version...
HPLIP 3.9.8 currently installed in '/usr/share/hplip'.
Current contents of '/etc/hp/
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.9.8
[dirs]
home=/usr/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
icon=/usr/
cupsbackend=
cupsfilter=
drv=/usr/
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=no
dbus-build=yes
cups11-build=no
doc-build=no
shadow-build=no
hpijs-install=no
foomatic-
foomatic-
foomatic-
hpcups-install=yes
cups-drv-install=no
cups-ppd-
internal-
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
Current contents of '/var/lib/
# hplip.state - HPLIP runtime persistent variables.
[plugin]
installed=0
eula=0
Current contents of '~/.hplip/
[last_used]
printer_name =
working_dir = .
device_uri = hpaio:/
[commands]
scan = /usr/bin/xsane -V %SANE_URI%
[installation]
date_time = 10/12/09 18:03:12
version = 3.9.8.36
[settings]
systray_messages = 0
systray_visible = 2
[fax]
email_address =
voice_phone =
[refresh]
rate = 30
enable = false
type = 1
[polling]
enable = false
device_list =
interval = 5
-------
| DISCOVERED USB DEVICES |
-------
Device URI Model
-----
hp:/usb/
-------
| INSTALLED CUPS PRINTER QUEUES |
-------
CanonPIXMA
----------
Type: Unknown
Device URI: smb://192.
PPD: /etc/cups/
PPD Description: Canon iP4500 series Ver.2.80
Printer status: Drucker CanonPIXMA ist inaktiv. Aktiviert seit Mo 05 Okt 2009 17:31:30 CEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.
OfficeJet6410
-------------
Type: Printer
Device URI: hp:/usb/
PPD: /etc/cups/
PPD Description: HP Officejet j6400 Series, hpcups 3.9.8.36
Printer status: Drucker OfficeJet6410 ist inaktiv. Aktiviert seit Mo 05 Okt 2009 17:32:43 CEST
Communication status: Good
-------
| SANE CONFIGURATION |
-------
'hpaio' in '/etc/sane.
OK, found. SANE backend 'hpaio' is properly set up.
Checking output of 'scanimage -L'...
device `hpaio:
-------
| PYTHON EXTENSIONS |
-------
Checking 'cupsext' CUPS extension...
OK, found.
Checking 'pcardext' Photocard extension...
OK, found.
Checking 'hpmudext' I/O extension...
OK, found.
Checking 'scanext' SANE scanning extension...
OK, found.
-----------------
| USB I/O SETUP |
-----------------
Checking for permissions of USB attached printers...
HP Device 0x3312 at 002:006:
Device URI: hp:/usb/
Device node: /dev/bus/
Mode: 0666
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/002/006
# owner: root
# group: scanner
user::rw-
group::rw-
other::rw-
---------------
| USER GROUPS |
---------------
wheel audio cdrom video games users plugdev apache ftp mrbobble scanner
-----------
| SUMMARY |
-----------
error: 5 errors and/or warnings.
Please refer to the installation instructions at:
http://
I have the same problem, and for me it does not require the use of the ADF. The following command is sufficient to reproduce it for me.
hp-scan -mlineart --size=letter