Skip to content

Instantly share code, notes, and snippets.

@tomarch
Created October 10, 2013 06:27
Show Gist options
  • Save tomarch/6913927 to your computer and use it in GitHub Desktop.
Save tomarch/6913927 to your computer and use it in GitHub Desktop.
pyinsane list_all for hp officejet 8600 plus
Scanner 'hpaio:/net/Officejet_Pro_8600?zc=HPD97EF4' (Hewlett-Packard, Officejet_Pro_8600, all-in-one)
Option: br-x
Title: Bottom-right x
Desc: Bottom-right x position of scan area.
Type: <class 'rawapi.SaneValueType'> : Fixed (2)
Unit: <class 'rawapi.SaneUnit'> : Mm (3)
Size: 4
Capabilities: <class 'rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'rawapi.SaneConstraintType'> : Range (1)
Constraint: (0, 14149223, 0)
Value: 14149223
Option: source
Title: Scan source
Desc: Selects the scan source (such as a document-feeder).
Type: <class 'rawapi.SaneValueType'> : String (3)
Unit: <class 'rawapi.SaneUnit'> : None (0)
Size: 32
Capabilities: <class 'rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'rawapi.SaneConstraintType'> : String list (3)
Constraint: [b'Flatbed', b'ADF', b'Duplex']
Value: b'Flatbed'
Option: tl-y
Title: Top-left y
Desc: Top-left y position of scan area.
Type: <class 'rawapi.SaneValueType'> : Fixed (2)
Unit: <class 'rawapi.SaneUnit'> : Mm (3)
Size: 4
Capabilities: <class 'rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'rawapi.SaneConstraintType'> : Range (1)
Constraint: (0, 23304602, 0)
Value: 0
Option: compression
Title: Compression
Desc: Selects the scanner compression method for faster scans, possibly at the expense of image quality.
Type: <class 'rawapi.SaneValueType'> : String (3)
Unit: <class 'rawapi.SaneUnit'> : None (0)
Size: 32
Capabilities: <class 'rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect, Advanced,]
Constraint type: <class 'rawapi.SaneConstraintType'> : String list (3)
Constraint: [b'JPEG']
Value: b'JPEG'
Option: mode
Title: Scan mode
Desc: Selects the scan mode (e.g., lineart, monochrome, or color).
Type: <class 'rawapi.SaneValueType'> : String (3)
Unit: <class 'rawapi.SaneUnit'> : None (0)
Size: 32
Capabilities: <class 'rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'rawapi.SaneConstraintType'> : String list (3)
Constraint: [b'Lineart', b'Gray', b'Color']
Value: b'Lineart'
Option: contrast
Title: Contrast
Desc: Controls the contrast of the acquired image.
Type: <class 'rawapi.SaneValueType'> : Integer (1)
Unit: <class 'rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect, Advanced,]
Constraint type: <class 'rawapi.SaneConstraintType'> : Range (1)
Constraint: (0, 2000, 0)
Value: 1000
Option: tl-x
Title: Top-left x
Desc: Top-left x position of scan area.
Type: <class 'rawapi.SaneValueType'> : Fixed (2)
Unit: <class 'rawapi.SaneUnit'> : Mm (3)
Size: 4
Capabilities: <class 'rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'rawapi.SaneConstraintType'> : Range (1)
Constraint: (0, 14149223, 0)
Value: 0
Option: resolution
Title: Scan resolution
Desc: Sets the resolution of the scanned image.
Type: <class 'rawapi.SaneValueType'> : Integer (1)
Unit: <class 'rawapi.SaneUnit'> : Dpi (4)
Size: 4
Capabilities: <class 'rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'rawapi.SaneConstraintType'> : Word list (2)
Constraint: [75, 100, 200, 300]
Value: 75
Option: jpeg-quality
Title: JPEG compression factor
Desc: Sets the scanner JPEG compression factor. Larger numbers mean better compression, and smaller numbers mean better image quality.
Type: <class 'rawapi.SaneValueType'> : Integer (1)
Unit: <class 'rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect, Inactive, Advanced,]
Constraint type: <class 'rawapi.SaneConstraintType'> : Range (1)
Constraint: (0, 100, 0)
Value: 10
Option: br-y
Title: Bottom-right y
Desc: Bottom-right y position of scan area.
Type: <class 'rawapi.SaneValueType'> : Fixed (2)
Unit: <class 'rawapi.SaneUnit'> : Mm (3)
Size: 4
Capabilities: <class 'rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'rawapi.SaneConstraintType'> : Range (1)
Constraint: (0, 23304602, 0)
Value: 23304602
Option: brightness
Title: Brightness
Desc: Controls the brightness of the acquired image.
Type: <class 'rawapi.SaneValueType'> : Integer (1)
Unit: <class 'rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect, Advanced,]
Constraint type: <class 'rawapi.SaneConstraintType'> : Range (1)
Constraint: (0, 2000, 0)
Value: 1000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment