Hello,
I got today my new Samsung Multi-Printer Xpress 1860FW. I installed the Server from the packages here using Kubuntu Raring, but I get the following error:
./samsungScannerServer.py
Using circumvention for PDF save because you use pillow 2.0.0
INFO:stdout:###########################
INFO:stdout:# Initiating version 0.4.5
INFO:stdout:###########################
INFO:stdout:At program termination joining log listener process with:
INFO:stdout: <function exitListener at 0x93e517c>
INFO:stdout:Used '/etc/samsungScannerServer.conf' as configuration file.
INFO:stdout:Below is what was configured with it.
INFO:stdout:CONFIG: ENABLED_SERVER=True
INFO:stdout:CONFIG: MODIFIED_SANE=False
INFO:stdout:CONFIG: PROXY_DEBUGLEVEL=1
INFO:stdout:CONFIG: SCANNER_CACHING=True
INFO:stdout:CONFIG: SCANNER_SANE_NAME='smfp:net;192.168.0.109'
INFO:stdout:CONFIG: SERVER_NAME='adweso-laptop'
INFO:stdout:CONFIG: OWNER_UID=1000
INFO:stdout:CONFIG: OWNER='adweso'
INFO:stdout:CONFIG: OUTPUT_PREFIX='${homedir}/Scans/SCAN_${date}__${uid}'
INFO:stdout:CONFIG: def contrastFilter(im):
INFO:stdout:CONFIG: return ImageOps.autocontrast(im,10)
INFO:stdout:CONFIG: OPTIONS=[
INFO:stdout:CONFIG: {'name':'Gray-M_PDF-300' ,'color':'COLOR_GRAY','resolution':'DPI_300','format':'FORMAT_M_PDF','size':'SIZE_A4','output':OUTPUT_PREFIX, 'filters':[]},
INFO:stdout:CONFIG: {'name':'Color-M_PDF-300','color':'COLOR_TRUE','resolution':'DPI_300','format':'FORMAT_M_PDF','size':'SIZE_A4','output':OUTPUT_PREFIX, 'filters':[]},
INFO:stdout:CONFIG: {'name':'Gray-JPEG-300' ,'color':'COLOR_GRAY','resolution':'DPI_300','format':'FORMAT_JPEG' ,'size':'SIZE_A4','output':OUTPUT_PREFIX, 'filters':[]},
INFO:stdout:CONFIG: {'name':'Color-JPEG-300' ,'color':'COLOR_TRUE','resolution':'DPI_300','format':'FORMAT_JPEG' ,'size':'SIZE_A4','output':OUTPUT_PREFIX, 'filters':[]},
INFO:stdout:CONFIG: {'name':'Gray-M_PDF-75' ,'color':'COLOR_GRAY','resolution':'DPI_75' ,'format':'FORMAT_M_PDF','size':'SIZE_A4','output':OUTPUT_PREFIX, 'filters':[]},
INFO:stdout:CONFIG: {'name':'Gray-S_PDF-75' ,'color':'COLOR_GRAY','resolution':'DPI_75' ,'format':'FORMAT_S_PDF','size':'SIZE_A4','output':OUTPUT_PREFIX, 'filters':[]},
INFO:stdout:CONFIG: ]
INFO:stdout:CONFIG: MODES2SANE={'COLOR_MONO':'Black and White - Line Art', 'COLOR_GRAY':'Grayscale - 256 Levels','COLOR_TRUE':'Color - 16 Million Colors'}
INFO:stdout:CONFIG: EXTENSIONS={'FORMAT_S_PDF':'pdf','FORMAT_M_PDF':'pdf','FORMAT_PDF':'pdf','FORMAT_JPEG':'jpg','FORMAT_S_TIFF':'tiff','FORMAT_M_TIFF':'tiff'}
INFO:stdout:CONFIG: LOG_NAME="/var/log/samsungScannerServer.log"
INFO:stdout:CONFIG: LOG_MAXBYTES=100000
INFO:stdout:CONFIG: LOG_BACKUPCOUNT=1
INFO:stdout:The following was automatically configured.
INFO:stdout:AUTOCONFIG: HOME_DIR = '/home/adweso'
INFO:stdout:AUTOCONFIG: SCANNER_IP = '192.168.0.109'
INFO:stdout:Newly registered server 'adweso-laptop' with UniqueID '2176ad6d8bafe09e' has got
INFO:stdout: InstanceID '4'.
INFO:stdout:At program termination unregistering server with:
INFO:stdout: <function unregisterServer at 0x93ca304>
INFO:stdout:Init SANE ...
INFO:stdout:Connecting to scanner ...
INFO:stderr:Error while trying to configure scanning options:
INFO:stderr: ValueError: SIZE2SANE dictionary must not be empty!
INFO:stderr:You should manually configure SIZE2SANE in '/etc/samsungScannerServer.conf'.
INFO:stdout:Unregistered server 'adweso-laptop' with UniqueID '2176ad6d8bafe09e'.
I uncommented one of the two SIZE2SANE lines in the config file, but the result is the same ?
scanimage -help gives:
Options specific to device `smfp:usb;04e8;346b;0796BJEG700143V':
--preview[=(yes|no)] [no]
Request a preview-quality scan
Image Quality:
--mode Color - 16 Million Colors|Grayscale - 256 Levels|Black and White - Halftone|Black and White - Line Art [Color - 16 Million Colors]
Set the color composition mode of the scanned image
--resolution 75|100|150|200|300|600|1200dpi [300]
Set the resolution of the scanned image
Scan Area:
--doc-source Flatbed|ADF Simplex [Flatbed]
Select source of the document to be scanned
--page-format Statement|Statement(Rotated)|A5|A5(Rotated)|B5(JIS)|Executive|A4|Letter|Custom [A4]
Set the paper format of the scanned page
-l 0..215mm
I got today my new Samsung Multi-Printer Xpress 1860FW. I installed the Server from the packages here using Kubuntu Raring, but I get the following error:
./samsungScannerServer.py
Using circumvention for PDF save because you use pillow 2.0.0
INFO:stdout:###########################
INFO:stdout:# Initiating version 0.4.5
INFO:stdout:###########################
INFO:stdout:At program termination joining log listener process with:
INFO:stdout: <function exitListener at 0x93e517c>
INFO:stdout:Used '/etc/samsungScannerServer.conf' as configuration file.
INFO:stdout:Below is what was configured with it.
INFO:stdout:CONFIG: ENABLED_SERVER=True
INFO:stdout:CONFIG: MODIFIED_SANE=False
INFO:stdout:CONFIG: PROXY_DEBUGLEVEL=1
INFO:stdout:CONFIG: SCANNER_CACHING=True
INFO:stdout:CONFIG: SCANNER_SANE_NAME='smfp:net;192.168.0.109'
INFO:stdout:CONFIG: SERVER_NAME='adweso-laptop'
INFO:stdout:CONFIG: OWNER_UID=1000
INFO:stdout:CONFIG: OWNER='adweso'
INFO:stdout:CONFIG: OUTPUT_PREFIX='${homedir}/Scans/SCAN_${date}__${uid}'
INFO:stdout:CONFIG: def contrastFilter(im):
INFO:stdout:CONFIG: return ImageOps.autocontrast(im,10)
INFO:stdout:CONFIG: OPTIONS=[
INFO:stdout:CONFIG: {'name':'Gray-M_PDF-300' ,'color':'COLOR_GRAY','resolution':'DPI_300','format':'FORMAT_M_PDF','size':'SIZE_A4','output':OUTPUT_PREFIX, 'filters':[]},
INFO:stdout:CONFIG: {'name':'Color-M_PDF-300','color':'COLOR_TRUE','resolution':'DPI_300','format':'FORMAT_M_PDF','size':'SIZE_A4','output':OUTPUT_PREFIX, 'filters':[]},
INFO:stdout:CONFIG: {'name':'Gray-JPEG-300' ,'color':'COLOR_GRAY','resolution':'DPI_300','format':'FORMAT_JPEG' ,'size':'SIZE_A4','output':OUTPUT_PREFIX, 'filters':[]},
INFO:stdout:CONFIG: {'name':'Color-JPEG-300' ,'color':'COLOR_TRUE','resolution':'DPI_300','format':'FORMAT_JPEG' ,'size':'SIZE_A4','output':OUTPUT_PREFIX, 'filters':[]},
INFO:stdout:CONFIG: {'name':'Gray-M_PDF-75' ,'color':'COLOR_GRAY','resolution':'DPI_75' ,'format':'FORMAT_M_PDF','size':'SIZE_A4','output':OUTPUT_PREFIX, 'filters':[]},
INFO:stdout:CONFIG: {'name':'Gray-S_PDF-75' ,'color':'COLOR_GRAY','resolution':'DPI_75' ,'format':'FORMAT_S_PDF','size':'SIZE_A4','output':OUTPUT_PREFIX, 'filters':[]},
INFO:stdout:CONFIG: ]
INFO:stdout:CONFIG: MODES2SANE={'COLOR_MONO':'Black and White - Line Art', 'COLOR_GRAY':'Grayscale - 256 Levels','COLOR_TRUE':'Color - 16 Million Colors'}
INFO:stdout:CONFIG: EXTENSIONS={'FORMAT_S_PDF':'pdf','FORMAT_M_PDF':'pdf','FORMAT_PDF':'pdf','FORMAT_JPEG':'jpg','FORMAT_S_TIFF':'tiff','FORMAT_M_TIFF':'tiff'}
INFO:stdout:CONFIG: LOG_NAME="/var/log/samsungScannerServer.log"
INFO:stdout:CONFIG: LOG_MAXBYTES=100000
INFO:stdout:CONFIG: LOG_BACKUPCOUNT=1
INFO:stdout:The following was automatically configured.
INFO:stdout:AUTOCONFIG: HOME_DIR = '/home/adweso'
INFO:stdout:AUTOCONFIG: SCANNER_IP = '192.168.0.109'
INFO:stdout:Newly registered server 'adweso-laptop' with UniqueID '2176ad6d8bafe09e' has got
INFO:stdout: InstanceID '4'.
INFO:stdout:At program termination unregistering server with:
INFO:stdout: <function unregisterServer at 0x93ca304>
INFO:stdout:Init SANE ...
INFO:stdout:Connecting to scanner ...
INFO:stderr:Error while trying to configure scanning options:
INFO:stderr: ValueError: SIZE2SANE dictionary must not be empty!
INFO:stderr:You should manually configure SIZE2SANE in '/etc/samsungScannerServer.conf'.
INFO:stdout:Unregistered server 'adweso-laptop' with UniqueID '2176ad6d8bafe09e'.
I uncommented one of the two SIZE2SANE lines in the config file, but the result is the same ?
scanimage -help gives:
Options specific to device `smfp:usb;04e8;346b;0796BJEG700143V':
--preview[=(yes|no)] [no]
Request a preview-quality scan
Image Quality:
--mode Color - 16 Million Colors|Grayscale - 256 Levels|Black and White - Halftone|Black and White - Line Art [Color - 16 Million Colors]
Set the color composition mode of the scanned image
--resolution 75|100|150|200|300|600|1200dpi [300]
Set the resolution of the scanned image
Scan Area:
--doc-source Flatbed|ADF Simplex [Flatbed]
Select source of the document to be scanned
--page-format Statement|Statement(Rotated)|A5|A5(Rotated)|B5(JIS)|Executive|A4|Letter|Custom [A4]
Set the paper format of the scanned page
-l 0..215mm
Set left position of the scan area
-t 0..297mm
Set top position of the scan area
-x 0..215mm [210]
Width of scan-area.
-y 0..297mm [297]
Height of scan-area.
How I can fix this ?
best regards
Andy