Scan report 43 - Hewlett-Packard Photosmart_5520_series

Scanner

  • Manufacturer: Hewlett-Packard
  • Model: Photosmart_5520_series
  • Nice name: hpaio:/usb/Photosmart_5520_series?serial=CN3BB532FN0602
  • Device ID: hpaio:/usb/Photosmart_5520_series?serial=CN3BB532FN0602
  • Type: Flatbed
scanner type
  1. resolution
    • type: <class 'pyinsane2.sane.rawapi.SaneValueType'> : Integer (1)
    • size: 4
    • contrainttype: <class 'pyinsane2.sane.rawapi.SaneConstraintType'> : Word list (2)
    • title: Scan resolution
    • unit: <class 'pyinsane2.sane.rawapi.SaneUnit'> : Dpi (4)
    • desc: Sets the resolution of the scanned image.
    • initial_value: 75
    • constraint: [75, 100, 200, 300, 600, 1200, 2400]
    • capabilities: <class 'pyinsane2.sane.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
  2. jpeg-quality
    • type: <class 'pyinsane2.sane.rawapi.SaneValueType'> : Integer (1)
    • size: 4
    • contrainttype: <class 'pyinsane2.sane.rawapi.SaneConstraintType'> : Range (1)
    • title: JPEG compression factor
    • unit: <class 'pyinsane2.sane.rawapi.SaneUnit'> : None (0)
    • desc: Sets the scanner JPEG compression factor. Larger numbers mean better compression, and smaller numbers mean better image quality.
    • initial_value: (Exception: Option 'jpeg-quality' is not active)
    • constraint: (0, 100, 0)
    • capabilities: <class 'pyinsane2.sane.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect, Inactive, Advanced,]
  3. tl-y
    • type: <class 'pyinsane2.sane.rawapi.SaneValueType'> : Fixed (2)
    • size: 4
    • contrainttype: <class 'pyinsane2.sane.rawapi.SaneConstraintType'> : Range (1)
    • title: Top-left y
    • unit: <class 'pyinsane2.sane.rawapi.SaneUnit'> : Mm (3)
    • desc: Top-left y position of scan area.
    • initial_value: 0
    • constraint: (0, 19464892, 0)
    • capabilities: <class 'pyinsane2.sane.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
  4. brightness
    • type: <class 'pyinsane2.sane.rawapi.SaneValueType'> : Integer (1)
    • size: 4
    • contrainttype: <class 'pyinsane2.sane.rawapi.SaneConstraintType'> : Range (1)
    • title: Brightness
    • unit: <class 'pyinsane2.sane.rawapi.SaneUnit'> : None (0)
    • desc: Controls the brightness of the acquired image.
    • initial_value: 1000
    • constraint: (0, 2000, 0)
    • capabilities: <class 'pyinsane2.sane.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect, Advanced,]
  5. contrast
    • type: <class 'pyinsane2.sane.rawapi.SaneValueType'> : Integer (1)
    • size: 4
    • contrainttype: <class 'pyinsane2.sane.rawapi.SaneConstraintType'> : Range (1)
    • title: Contrast
    • unit: <class 'pyinsane2.sane.rawapi.SaneUnit'> : None (0)
    • desc: Controls the contrast of the acquired image.
    • initial_value: 1000
    • constraint: (0, 2000, 0)
    • capabilities: <class 'pyinsane2.sane.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect, Advanced,]
  6. source
    • type: <class 'pyinsane2.sane.rawapi.SaneValueType'> : String (3)
    • size: 32
    • contrainttype: <class 'pyinsane2.sane.rawapi.SaneConstraintType'> : String list (3)
    • title: Scan source
    • unit: <class 'pyinsane2.sane.rawapi.SaneUnit'> : None (0)
    • desc: Selects the scan source (such as a document-feeder).
    • initial_value: Flatbed
    • constraint: ['Flatbed']
    • capabilities: <class 'pyinsane2.sane.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
  7. mode
    • type: <class 'pyinsane2.sane.rawapi.SaneValueType'> : String (3)
    • size: 32
    • contrainttype: <class 'pyinsane2.sane.rawapi.SaneConstraintType'> : String list (3)
    • title: Scan mode
    • unit: <class 'pyinsane2.sane.rawapi.SaneUnit'> : None (0)
    • desc: Selects the scan mode (e.g., lineart, monochrome, or color).
    • initial_value: Lineart
    • constraint: ['Lineart', 'Gray', 'Color']
    • capabilities: <class 'pyinsane2.sane.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
  8. tl-x
    • type: <class 'pyinsane2.sane.rawapi.SaneValueType'> : Fixed (2)
    • size: 4
    • contrainttype: <class 'pyinsane2.sane.rawapi.SaneConstraintType'> : Range (1)
    • title: Top-left x
    • unit: <class 'pyinsane2.sane.rawapi.SaneUnit'> : Mm (3)
    • desc: Top-left x position of scan area.
    • initial_value: 0
    • constraint: (0, 14149223, 0)
    • capabilities: <class 'pyinsane2.sane.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
  9. br-y
    • type: <class 'pyinsane2.sane.rawapi.SaneValueType'> : Fixed (2)
    • size: 4
    • contrainttype: <class 'pyinsane2.sane.rawapi.SaneConstraintType'> : Range (1)
    • title: Bottom-right y
    • unit: <class 'pyinsane2.sane.rawapi.SaneUnit'> : Mm (3)
    • desc: Bottom-right y position of scan area.
    • initial_value: 19464892
    • constraint: (0, 19464892, 0)
    • capabilities: <class 'pyinsane2.sane.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
  10. compression
    • type: <class 'pyinsane2.sane.rawapi.SaneValueType'> : String (3)
    • size: 32
    • contrainttype: <class 'pyinsane2.sane.rawapi.SaneConstraintType'> : String list (3)
    • title: Compression
    • unit: <class 'pyinsane2.sane.rawapi.SaneUnit'> : None (0)
    • desc: Selects the scanner compression method for faster scans, possibly at the expense of image quality.
    • initial_value: None
    • constraint: ['None', 'JPEG']
    • capabilities: <class 'pyinsane2.sane.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect, Advanced,]
  11. br-x
    • type: <class 'pyinsane2.sane.rawapi.SaneValueType'> : Fixed (2)
    • size: 4
    • contrainttype: <class 'pyinsane2.sane.rawapi.SaneConstraintType'> : Range (1)
    • title: Bottom-right x
    • unit: <class 'pyinsane2.sane.rawapi.SaneUnit'> : Mm (3)
    • desc: Bottom-right x position of scan area.
    • initial_value: 14149223
    • constraint: (0, 14149223, 0)
    • capabilities: <class 'pyinsane2.sane.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]

Test scan

OS: Linux

Test successful: True

  • Source: Flatbed
  • Resolution: 75 dpi
  • Mode: Color

43_traces.txt: [raw] [colorized]

image_43_0.png:
scan result image_43_0.png image_43_0_boxes.png:
scan result image_43_0_boxes.png

Additional information

  • OS type: posix
  • Test program: ironscanner 1.1.0-5-g1f64064
  • Scan library: pyinsane2 2.0.12-10-g7d43ae4
  • Pillow: 5.0.0
  • Python version: 3.5.3 (default, Jan 19 2017, 14:11:04) [GCC 6.3.0 20170118]
  • Architecture:
  • Platform:
    • Short: Linux
    • Detailed: Linux-4.13.0-36-generic-x86_64-with-Ubuntu-17.10-artful
    • Release:
    • System: Linux
  • Architecture:
  • CPU frequency: 3400
  • Number of CPUs: 2
  • Processor: x86_64
  • Machine: x86_64
  • Memory: 20939300864

Reported by: [Matthieu Nué]

REST API link: /api/v1/scannerdb/scan_reports/43/