You are not logged in.

#1 2025-05-10 13:12:00

lorenzol36
Member
Registered: 2018-10-29
Posts: 17

Can't scan with the hplip drivers

I have an old HP Deskjet 3050 printer/scanner. Whenever I try to hp-scan I get the following error:

Scanning...
Reading data: [*************************************************************************************] 100%  25.6 MB   
Read 25.6 MB from scanner.
Closing device.
Traceback (most recent call last):
  File "/usr/bin/hp-scan", line 1673, in <module>
    im = imageprocessing.resize_to_scan_area(im,PAGE_SIZES[size],res)
                                                           ^^^^
NameError: name 'size' is not defined

The driver is on version 1:3.25.2-1. Downgrading to 1:3.24.4-3 works fine.

Scanning...
Reading data: [*************************************************************************************] 100%  25.6 MB   
Read 25.6 MB from scanner.
Closing device.

Outputting to destination 'file':

Done.

Last edited by lorenzol36 (2025-05-10 13:13:17)

Offline

#2 2025-05-10 20:55:18

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,768

Online

Board footer

Powered by FluxBB