• HP m177fw and sane


    I had this setup working with Simple Scan a couple of weeks ago but it has stopped. From the CL when I do simplescan -A my device is there. When I try to scan from it I get an ‘error during I/O’. I’ve power cycled my pc and the printer. Any ideas other than I bought a cheap aio 🙂

  • @jco42 said in HP m177fw and sane:

    error during I/O

    can you try installing:

    sudo pacman -S python-pillow
    

    and try hp-scan:

    $ hp-scan --help
    
    HP Linux Imaging and Printing System (ver. 3.17.11)
    Scan Utility ver. 2.2
    
    Copyright (c) 2001-15 HP Development Company, LP
    This software comes with ABSOLUTELY NO WARRANTY.
    This is free software, and you are welcome to distribute it
    under certain conditions. See COPYING file for more details.
    
    
    SANE-based scan utility for HPLIP supported all-in-one/mfp devices.
    
    Usage: hp-scan [DEVICE_URI|PRINTER_NAME] [MODE] [OPTIONS]
    
    [PRINTER|DEVICE-URI]
      To specify a        -d<device-uri> or --device=<device-uri>               
      device-URI:                                                               
      To specify a CUPS   -p<printer> or --printer=<printer>                    
      printer:                                                                  
    
    [MODE]
      Run in interactive  -i or --interactive                                   
      mode:                                                                     
    
    [OPTIONS]
      Set the logging     -l<level> or --logging=<level>                        
      level:                                                                    
                          <level>: none, info*, error, warn, debug (*default)   
      Run in debug mode:  -g (same as option: -ldebug)                          
      This help           -h or --help                                          
      information:                                                              
    
    
    [OPTIONS] (General)
      Scan destinations:  -s<dest_list> or --dest=<dest_list>                   
                          where <dest_list> is a comma separated list containing
                          one or more of: 'file'*,                              
                          'viewer', 'editor', 'pdf', or 'print'. Use only commas
                          between values, no spaces.                            
      Scan mode:          -m<mode> or --mode=<mode>. Where <mode> is 'gray'*,   
                          'color' or 'lineart'.                                 
      Scanning            -r<resolution_in_dpi> or --res=<resolution_in_dpi> or 
      resolution:         --resolution=<resolution_in_dpi>                      
                          where 300 is default.                                 
      Image resize:       --resize=<scale_in_%> (min=1%, max=400%, default=100%)
      Image contrast:     -c=<contrast> or --contrast=<contrast>                
                          The contrast range varies from device to device.      
      Image brightness:   -b=<brightness> or --brightness=<brightness>          
                          The brightness range varies from device to device.    
      ADF mode:           --adf (Note, only PDF output is supported when using  
                          the ADF)                                              
                          --duplex or --dup for duplex scanning using ADF.      
    
    [OPTIONS] (Scan area)
      Specify the units   -t<units> or --units=<units>                          
      for area/box                                                              
      measurements:                                                             
                          where <units> is 'mm'*, 'cm', 'in', 'px', or 'pt'     
                          ('mm' is default).                                    
      Scan area:          -a<tlx>,<tly>,<brx>,<bry> or                          
                          --area=<tlx>,<tly>,<brx>,<bry>                        
                          Coordinates are relative to the upper left corner of  
                          the scan area.                                        
                          Units for tlx, tly, brx, and bry are specified by     
                          -t/--units (default is 'mm').                         
                          Use only commas between values, no spaces.            
      Scan box:           --box=<tlx>,<tly>,<width>,<height>                    
                          tlx and tly coordinates are relative to the upper left
                          corner of the scan area.                              
                          Units for tlx, tly, width, and height are specified by
                          -t/--units (default is 'mm').                         
                          Use only commas between values, no spaces.            
      Top left x of the   --tlx=<tlx>                                           
      scan area:                                                                
                          Coordinates are relative to the upper left corner of  
                          the scan area.                                        
                          Units are specified by -t/--units (default is 'mm').  
      Top left y of the   --tly=<tly>                                           
      scan area:                                                                
                          Coordinates are relative to the upper left corner of  
                          the scan area.                                        
                          Units are specified by -t/--units (default is 'mm').  
      Bottom right x of   --brx=<brx>                                           
      the scan area:                                                            
                          Coordinates are relative to the upper left corner of  
                          the scan area.                                        
                          Units are specified by -t/--units (default is 'mm').  
      Bottom right y of   --bry=<bry>                                           
      the scan area:                                                            
                          Coordinates are relative to the upper left corner of  
                          the scan area.                                        
                          Units are specified by -t/--units (default is 'mm').  
      Specify the scan    --size=<paper size name>                              
      area based on a                                                           
      paper size:                                                               
                          where <paper size name> is one of: 5x7, 4x6, 3x5,     
                          a2_env, a3, a4, a5, a6, b4, b5, c6_env, dl_env, exec, 
                          flsa, higaki, japan_env_3, japan_env_4, legal, letter,
                          no_10_env, oufufu-hagaki, photo, super_b              
    
    [OPTIONS] ('file' dest)
      Filename for        -o<file> or -f<file> or --file=<file> or              
      'file'              --output=<file>                                       
      destination:                                                              
    
    [OPTIONS] ('pdf' dest)
      PDF viewer          --pdf=<pdf_viewer>                                    
      application:                                                              
    
    [OPTIONS] ('viewer' dest)
      Image viewer        -v<viewer> or --viewer=<viewer>                       
      application:                                                              
    
    [OPTIONS] ('editor' dest)
      Image editor        -e<editor> or --editor=<editor>                       
      application:                                                              
    
    [OPTIONS] ('email' dest)
      From: address for   --email-from=<email_from_address> (required for       
      'email' dest:       'email' dest.)                                        
      To: address for     --email-to=<email__to_address> (required for 'email'  
      'email' dest:       dest.)                                                
      Email subject for   --email-subject="<subject>" or --subject="<subject>"  
      'email' dest:                                                             
                          Use double quotes (") around the subject if it        
                          contains space characters.                            
      Note or message     --email-msg="<msg>" or --email-note="<note>"          
      for the 'email'                                                           
      dest:                                                                     
                          Use double quotes (") around the note/message if it   
                          contains space characters.                            
    
    [OPTIONS] ('printer' dest)
      Printer             --dp=<printer_name> or --dest-printer=<printer_name>  
      queue/printer                                                             
      dest:                                                                     
      Printer device-URI  --dd=<device-uri> or --dest-device=<device-uri>       
      dest:                                                                     
    
    [OPTIONS] (advanced)
      Set the scanner     -x<mode> or --compression=<mode>, <mode>='raw', 'none'
      compression mode:   or 'jpeg' ('jpeg' is default) ('raw' and 'none' are   
                          equivalent)                                           
    
    
    

    or try to remove same settings:

    rm -rf ~/.sane
    

    [updates once a week] = [90% less problems]
    antergos:_rescue
    how to add system logs:
    wget http://bit.ly/2GCG9k2 && sh 2GCG9k2
    :handshake: donate antergos

  • Hi @joekamprad, apologies for the delay. the python-pillow package seems to have done the trick. i got it to go from the CL and digiKam. Much appreciated!

scanning4 hp printer2 m177fw1 Posts 3Views 227
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.