HowTo Install USB Scanner HP Photosmart C4480

  • Detectar scanner:

    root@osiale:~# sane-find-scanner
    
    found USB scanner (vendor=0x03f0, product=0x6c11) at libusb:001:002
    
  • Instalar utilidades HP:

    root@osiale:~# apt-cache search hplip | grep hp
    
    hpijs - HP Linux Printing and Imaging - gs IJS driver (hpijs)
    hpijs-ppds - HP Linux Printing and Imaging - HPIJS PPD files
    hplip - HP Linux Printing and Imaging System (HPLIP)
    hplip-data - HP Linux Printing and Imaging - data files
    hplip-dbg - HP Linux Printing and Imaging - debugging information
    hplip-doc - HP Linux Printing and Imaging - documentation
    hpoj - HP OfficeJet Linux driver (hpoj)
    
    root@osiale:~# apt-cache search hplip | grep hp | awk '{print $1}' | xargs aptitude install
    
  • Configurar HP OfficeJet Linux driver:

    root@osiale:~# /etc/init.d/hpoj setup
    
    Stopping the HP OfficeJet Linux driver.
    
    ----------------------------------------------------------------------
    
    This program manages devices controlled by the HP OfficeJet Linux
    driver (hpoj).  It attempts to probe your computer for local parallel-
    and USB-connected devices, and allows you to specify network addresses
    for remote JetDirect-connected devices.
    
    If you experience any difficulties in detecting your device(s), then
    refer to the hpoj documentation for troubleshooting information.
    
    ----------------------------------------------------------------------
    
    Currently defined device names ([*]=default):
        (none)
    
    ----------------------------------------------------------------------
    
    Probe for parallel-connected devices ([y]/n)?  n
    
    ----------------------------------------------------------------------
    
    Probe for USB-connected devices ([y]/n)?  y
    
    *** Warning: Your system appears to be running in SMP (multi-processor)
    *** mode.  The kernel USB printer-class driver appears to be loaded
    *** as a module and/or enabled to be auto-loaded.  Use of the kernel USB
    *** printer-class driver instead of libusb on SMP systems may result in
    *** system instability or crashes with some kernel versions.
    
    *** Would you like the kernel USB printer-class driver to be
    *** disabled and unloaded now for the USB probe ([y]/n)?  n
    
    Probing "/dev/usb/lp0"...
        Found "Photosmart C4400 series"
        with serial number "BR991FD1F105BW".
    
        This device will be set up as "mlc:usb:Photosmart_C4400_series".
        Press <Enter> alone to continue or <Ctrl-D> to skip this device, or
        enter a different desired name suffix (without the "mlc:usb:" prefix)
        here --->
    
        Setting up as "mlc:usb:Photosmart_C4400_series".
        Enabling ptal-mlcd and ptal-printd.
    
    ----------------------------------------------------------------------
    
    Press <Enter> alone to continue, or if you would like to add a
    JetDirect-connected device, then enter its dotted-decimal
    IP address or hostname here --->
    
    ----------------------------------------------------------------------
    
    Done updating device configuration files stored under /etc/ptal.
    If you make manual changes to those files, then be sure to run
    "/etc/init.d/hpoj start" so they will take effect.
    
    ----------------------------------------------------------------------
    
    Starting the HP OfficeJet Linux driver.
        mlc:usb:Photosmart_C4400_series
    
  • Listar dispositivos disponibles:

    root@osiale:~# scanimage -L
    
    device `hpoj:mlc:usb:Photosmart_C4400_series' is a HP Photosmart C4400 series multi-function peripheral
    
  • Escanear imagen:

    root@osiale:~# scanimage -d hpoj:mlc:usb:Photosmart_C4400_series --format=tiff --mode=Grayscale >prueba.tiff