home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / share / doc / libsane / sceptre / s1200.txt
Encoding:
Text File  |  2006-07-10  |  3.0 KB  |  110 lines

  1. Scanner overview
  2. - One pass scanner
  3. - 10 DPI minimum. Max X=600 dpi, max Y=1200 dpi.
  4. - A4 size
  5.  
  6. /*--------------------------------------------------------------------------*/
  7.  
  8. Components:
  9. - Weltrend WT8616
  10. - TEMIC TSC 80C31 (CMOS 0 to 44 MHz Single-Chip 8 Bit Microcontroller)
  11.  
  12. /*--------------------------------------------------------------------------*/
  13.  
  14. SCSI overview
  15. - the SCSI implementation in this scanner is non-standard but simple.
  16. - there is no REQUEST SENSE command.
  17. - since there is no sense, it is impossible to know if a command has succeeded.
  18.  
  19. /*--------------------------------------------------------------------------*/
  20.  
  21. SCSI commands:
  22.  
  23. TEST UNIT READY
  24. 00 00 00 00 01 00
  25.   Returns 1 byte of data:
  26.     00 = scanner ready
  27.     ff = scanner not ready
  28.  
  29. Vendor Spec
  30. 02 00 00 00 04 00
  31.   Get 4 bytes of status. Used to check the button.
  32.   Default result when the button is not pressed
  33.     06 00 00 00 
  34.  
  35. INQUIRY
  36.   result:
  37.     06 00 02 02 30 00 00 10  4b 49 4e 50 4f 20 20 20    ....0...KINPO       
  38.     56 69 76 69 64 73 63 61  6e 20 53 31 32 30 20 20    Vividscan S120      
  39.     53 31 33 20 20 20 20 20  02 01 00 00 4a 45 46 46    S13     ....JEFF    
  40.     ...
  41.  
  42. MODE SEL
  43. 15 10 00 00 18 00
  44.  
  45. SCAN
  46. 1B 00 00 00 00 00
  47.  
  48. RECEIVE DIAG
  49. 1C 00 00 00 03 00
  50.  
  51. SEND DIAG
  52. 1D 00 80 00 00 00
  53.  
  54. SET WINDOW
  55. 24 00 00 00 00 00 00 00 52 00
  56.   The window size is always 0x52 bytes. The parameters look standard:
  57.     - X/Y resolution       |
  58.     - Upper left X,Y       |- all three coded in 600 dpi units 
  59.     - Width, Length        |
  60.     
  61.   The supported scan modes are:
  62.     - lineart image comp=0, halftone=0, depth=1
  63.     - halftone image comp=0, haltone=1 to 4, depth=1
  64.     - grayscale image comp=2,  halftone=0, depth=8
  65.     - color image comp=5, halftone=0, depth=24
  66.   
  67.   Y resolution is not used (X is also used for Y)
  68.   X resolution is limited to 600 (if above, scanner defaults to 600)
  69.   Y resolution is limited to 1200 (if above, scanner defaults to 1200)
  70.   Image composition is byte 33, halftone is byte 36, depth is byte 34
  71.  
  72. READ (10)
  73. 28 00 00 00 00 00 00 FE 9A 00
  74.  
  75. SEND (10)
  76. 2A 00 03 00 00 02 00 03 00 00
  77. Sends 300h bytes of gamma. 100h bytes per color. What is the color order?
  78.  
  79. GET DATA BUFFER STATUS
  80. 34 01 00 00 00 00 00 00 10 00
  81. Returns:
  82.   - byte 0 to 7: ? (these bytes looks rather standard)
  83.   - byte 8 to 11: total size left to read
  84.   - byte 12 to 13: number of lines (constant during a scan)
  85.   - byte 14 to 15: pixels per line (constant during a scan)
  86.  
  87. /*--------------------------------------------------------------------------*/
  88.  
  89. Color shifts
  90.  
  91. Color order returned by the scanner is Red, then Green, then Blue. There is a color shift, meaning the raster for the Red is not followed by the Green raster for the same line.
  92. The shifts are:
  93.   dpi          lines per color
  94.  1200                 16
  95.  1125                 15
  96.  1050                 14
  97.   900                 12
  98.   750                 10
  99.   600                  8
  100.   450                  6
  101.   300                 4
  102.   150                 2
  103.    90                  1
  104.    75                  1
  105.    50                  0
  106.  
  107. Some resolution give garbage. However that table might not be complete.
  108.  
  109.  
  110.