Difference between revisions of "Scanning with SCANdal"

From MorphOS Library

(Configuring gt68xx Scanners)
 
(13 intermediate revisions by the same user not shown)
Line 221: Line 221:
  
 
=== Configuring gt68xx Scanners ===
 
=== Configuring gt68xx Scanners ===
# Included in MorphOS 3.10: MOSSYS:Devs/Scanners/
+
# Included in MorphOS 3.10: MOSSYS:Devs/Scanners/gt68xx.device
 
# Download scanner's rom and put it in s:gt68xx directory
 
# Download scanner's rom and put it in s:gt68xx directory
 
# Set correct path for scanner driver in SCANdal preferences, choose USB type connection
 
# Set correct path for scanner driver in SCANdal preferences, choose USB type connection
Line 231: Line 231:
 
=== Configuring UMax Scanners ===
 
=== Configuring UMax Scanners ===
  
# Included in MorphOS 3.10: MOSSYS:Devs/Scanners/
+
# Included in MorphOS 3.10: MOSSYS:Devs/Scanners/Umax.device
 
# Create/copy a configuration file s:umax.conf
 
# Create/copy a configuration file s:umax.conf
# Choose valid scsi device (for example symbos.device) in SCANdal preferences Device field and appropriate Unit number.
+
# Choose valid scsi device (for example symbios.device) in SCANdal preferences Device field and appropriate Unit number.
  
 
If Your scanner doesn't work well in color mode try setting "option scan-lines" to lower value (10). It has been rewritten not to use fork() and pipe() so it's more stable than 68k version and it supports only SCSI connections.
 
If Your scanner doesn't work well in color mode try setting "option scan-lines" to lower value (10). It has been rewritten not to use fork() and pipe() so it's more stable than 68k version and it supports only SCSI connections.
  
 
=== Configuring mustek_usb Scanners ===
 
=== Configuring mustek_usb Scanners ===
# Included in MorphOS 3.10: MOSSYS:Devs/Scanners/
+
# Included in MorphOS 3.10: MOSSYS:Devs/Scanners/Mustek_usb.device
# Download to S: [http://brain.umcs.lublin.pl/~rzookol/download/mustek_usb.conf]  
+
# Set correct path for Scanner Driver in SCANdal preferences, choose USB type connection
# In SCANdal preferences choose mustek_usb.device full path in Scanner Driver field
+
# Download to S: [http://brain.umcs.lublin.pl/~rzookol/download/mustek_usb.conf]
  
 
=== Configuring plustek-usb Scanners ===
 
=== Configuring plustek-usb Scanners ===
Line 253: Line 253:
 
Additionally, scanner has to be unbinded from any Poseidon usb classes (if it is binded) and <font style="color: red">Device</font> field in SCANdal preferences should be <font style="color: red">left blank.</font>
 
Additionally, scanner has to be unbinded from any Poseidon usb classes (if it is binded) and <font style="color: red">Device</font> field in SCANdal preferences should be <font style="color: red">left blank.</font>
  
=== Configuring lexmark Scanners ===
+
=== Configuring Lexmark Scanners ===
# Download Driver: [http://brain.umcs.lublin.pl/~rzookol/download/lexmark.lha] (11.01.2011)
+
# Included in MorphOS 3.10: MOSSYS:Devs/Scanners/Lexmark.device
# Copy the lexmark.device to any directory
+
# Set correct path for Scanner Driver in SCANdal preferences, choose USB type connection
# In SCANdal preferences choose lexmark.device full path in Scanner Driver field
 
 
# Copy lexmark.conf to S
 
# Copy lexmark.conf to S
  
Additionally, scanner has to be unbinded from any Poseidon usb classes (if it is binded) and <font style="color: red">Device</font> field in SCANdal preferences should be <font style="color: red">left blank.</font>
+
=== Configuring Sm3840 Scanners ===
 +
# Included in MorphOS 3.10: MOSSYS:Devs/Scanners/Sm3840.device
 +
# Set correct path for Scanner Driver in SCANdal preferences, choose USB type connection
  
 
=== Configuring canon630u Scanners ===
 
=== Configuring canon630u Scanners ===
Line 271: Line 272:
 
=== Configuring  Genesys Scanners ===  
 
=== Configuring  Genesys Scanners ===  
  
# Download Driver: [http://brain.umcs.lublin.pl/~rzookol/download/genesys.device] (31.10.2014)
+
# Included in MorphOS 3.10: MOSSYS:Devs/Scanners/Genesys.device
# Copy the genesys.device to any directory
+
# Set correct path for Scanner Driver in SCANdal preferences, choose USB type connection
# In SCANdal preferences choose canon630u.device full path in Scanner Driver field
+
 
 +
=== Configuring  Hp5590 Scanners ===
 +
 
 +
# Included in MorphOS 3.10: MOSSYS:Devs/Scanners/Hp5590.device
 +
# Set correct path for Scanner Driver in SCANdal preferences, choose USB type connection
 +
 
 +
 
 +
=== Configuring  Hp3500 Scanners ===
  
=== Configuring  HP 5590 Scanners ===
+
# Included in MorphOS 3.10: MOSSYS:Devs/Scanners/Hp3500.device
# Download Driver: [http://brain.umcs.lublin.pl/~rzookol/download/hp5590.device] (11.12.2012)
+
# Set correct path for Scanner Driver in SCANdal preferences, choose USB type connection
# Copy the hp5590.device to any directory
 
# In SCANdal preferences choose canon630u.device full path in Scanner Driver field
 
  
  
 +
=== Configuring  Fujitsu Scanners ===
  
Additionally, scanner has to be unbinded from any Poseidon usb classes (if it is binded) and <font style="color: red">Device</font> field in SCANdal preferences should be <font style="color: red">left blank.</font>
+
# Included in MorphOS 3.10: MOSSYS:Devs/Scanners/Fujitsu.device
 +
# Set correct path for Scanner Driver in SCANdal preferences, choose USB type connection
  
 
== Authors ==
 
== Authors ==
Line 290: Line 298:
 
;email:
 
;email:
 
:rzookol at poczta.onet.pl
 
:rzookol at poczta.onet.pl
:rzookol at brain.umcs.lublin.pl
 
 
:rzookol / #morphos / #ppa freenode.net
 
:rzookol / #morphos / #ppa freenode.net
  

Latest revision as of 14:08, 1 October 2019

Author: Michał Żukowski

Scandal logo.png
HomePage


SCANdal is a graphic interface for scanner drivers in Betascan/SANE standard. It uses MUI and was ported on all Amiga-like operating systems (MorphOS, AmigaOS 4.x, AmigaOS3.x, AROS). The point of its developing was to provide their users a free software that allows them to use scanners effectively and uses advanced functions of new version of the every mentioned operating systems.

Requirements

For proper use of SCANdal you need the following components to be installed in your system:

  • MUI (Magic User Interface) version 3.8 or later
  • urltext.mcc MUI class

For MorphOS version lower than 2.x please use SCANdal 1.4

  • Update Pack containing jfif.library and png.library as well as an Aboutbox.mcc class
  • MorphOS version of this software uses advanced MUI 4.x, so it may not work properly with older MUI versions

Latest versions of SCANdal are included in MorphOS 3.x releases in Application directory

Additionally the computer should be fitted with a proper hardware interface (SCSI or USB) to connect your scanner to. You should also have proper scanner drivers for Betascan standard installed. SCANdal as a graphic interface does not give the possibility to scan anything without proper drivers available.

SCANdal Installation

SCANdal is ready to run right after decompressing the archive in destination directory and doesn't copy any files into any other directories. For proper working it requires Betascan drivers in #?.device form to be present in any directory on you hard drive.

Usage

Device preferences

  • SCSI

Current scanner communication system with SCSI devices is based on two device files (#?.device). First is basic device performing sending and receiving data from and to scanner on a low (hardware) level. In MorphOS for example, in case of using SCSI card, symbios.device is created in memory. For Poseidon USB stack communication using usbwrap.class, usbraw.device is created. For older Blizzard 1230 cards device is called 1230scsi.device.

Name of the device you are using, has to by typed in Device field in SCSI scanner device preferences. You can select proper file if that's the form your device exists, or select one from the list of devices present in memory. In that case, you have to tick the Show devices in memory option and select proper name.

After selection the device, you have to select the unit, which usually is a device number on SCSI bus, or user-defined number in Poseidon USB stack preferences, for usbwrap.class (when we use older 68k EpsonUSB.device).

  • USB and SCSI

Next you have to select Betascan driver file, by filling the Scanner driver. Some of the drivers require and allows you to set scanner's preferences in configuration files #?.conf. These files are placed in the S: directory. Refer to the SANE documentation for information about the configuration files.

Scandal prefs.png
Scandal prefs2.png


In the Miscalaneus tab one can select colors for ruler and default save paths and path for Sketch plugins (i.e Morphos:Applications/Sketch/plugins). Sketch plugins support requires Morphos 2.5 or later. You can also turn off bottom panel with graphics operation icons.

Prefs.png

SCANdal opens the device and begins the communication during first scanning process. One can set an icon tooltype (AUTOCONNECT = TRUE) or Automatically connect on startup checkmark , which initiates the communication with the scanner when you start the program. In addition, you can connect to the scanner by clicking on the Connect button in the Information tab. If device preferences are changed when program is running, communication with old device is closed, and program will use new device from now on. Possibility of using multiple scanners at the same time will be added in future. After proper scanner configuration, you can save the preferences using Settings->Use or Settings->Save options from menu items. Restoring previous settings is possible by using Settings->Load last saved menu item.

Savers

SCANdal upto version 1.4 supports graphic file formats listed below:

  • IFF DEEP - uncompressed data save, 24 bits per pixel.
  • JPEG - save in 8 bits for images scanned in LineArt and Grey modes and in 24 bits if you scan in full color. For JPEG format you can set quality (1%-100%) and use progressive mode. The DPI information is saved.
  • PNG - save in 8 bits for images scanned in LineArt and Grey modes, and in 24 bits if you scan in full color. For PNG format you can set compression level (1-7). The DPI information is saved.
  • TIFF - save in 8 bits for images scanned in LineArt and Grey modes, and in 24 bits if you scan in full color. For TIFF format these compression modes can be set: : NONE, PackBits, LZW, Deflate, JPEG (JPEG compression may not work depending of tiff.library version). The DPI information is saved.
  • PDF - save in 8 bits for images scanned in LineArt and Grey modes, and in 24 bits if you scan in full color, image compression support. PDF support requires hpdf.library.

Support for PNG and JPEG formats is compiled into a program in AmigaOS4.x, AmigaOS3.x and AROS version.

MorphOS version of SCANdal supports saving using Reggae framework (including saving DPI info if format supports it).


Additional options:

  • Auto suffix - automatically adds file extension (.deep, .jpg, .png) if user inputs filename without one
  • Ask before overwrite - displays proper requester when you try to overwrite an existing file with the same name

Loading previously scanned images

SCANdal makes use of Reggae classes to load images and it checks images for its DPI to ensure proper printing/handling.

If Reggae decoder doesn't support DPI information or DPI information isn't saved in the picture one can select DPI from window.
Dpiselect.png


Printing

SCANdal prints images using Turboprint (included in MorphOS) and takes care of image's DPI.

Scanning preferences

Scanning preferences are divided into two tabs:

  1. General settings in Preferences -> Scanner tab allow to set up options like:
    • Resolution (in dots per inch - DPI) using slider or gadget with predefined vallues
    • Mode (LineArt - black and white mode, Grey - grayscale and Color - full color scanning, modes list depends of scanner abilities)
      Scandal scanprefs.png

      Depending on scanner and driver function:
    • hardware Gamma correction
    • quality change
    • negative scan mode
    • scanning in preview mode, which should be faster than normal scanning mode
    • scanning speed mode
    • paper source (Flatbed/ADF/TA)
    • halftones (works only in b-w mode for most backends)
    • threshold (works only in b-w mode for most backends)
  2. Scanning area settings are placed in Scan tab, additionally in preview area you can mark the desired scan area using mouse, left button double-click marks whole available area. Scan area marker frame has got white spots. Holding left mouse button over them allows you to resize or move the frame. In MorphOS version, moving mouse pointer over the spots will cause it (pointer) to change shape, so the user knows, that the resize or move options are available.
    Scandal frame.png

Scanning preferences can be saved in project file.

Supported scanners

The following SANE backends has been ported to MorphOS:

Backend name Supported scanner list
umax http://www.sane-project.org/sane-backends.html#S-UMAX
epson2 http://www.sane-project.org/sane-backends.html#S-EPSON2
epson (deprecated)
gt68xx http://www.sane-project.org/sane-backends.html#S-GT68XX
plustek http://www.sane-project.org/sane-backends.html#S-PLUSTEK
mustek_usb http://www.sane-project.org/sane-backends.html#S-MUSTEK-USB
hp5590 http://www.sane-project.org/sane-backends.html#S-HP5590
lexmark http://www.sane-project.org/sane-backends.html#S-LEXMARK
genesys http://www.sane-project.org/sane-backends.html#S-GENESYS


Scanners listed as supported by these backends on http://www.sane-project.org/sane-backends.html should work. In addition, scanner drivers written for Betascan 68k work (http://aminet.net/search?query=betascan).


TESTED SCANNERS

Scanner
model
Driver Morphos
native
Ports Notes
UMAX Astra 1200S Umax.device Y SCSI working without problems
quite fast
Epson 1640SU Epson2.device Y USB 1.1/SCSI working without problems, fast
ADF supported, TA supported
Mustek Paragon 600 II CD mustek.device N SCSI working without problems
quite slow
HP ScanJet 6300C hp.device N USB 1.1/SCSI stop working after a few scans
probably hardware failure
Mustek BearPaw 1200 TA gt68xx.device Y USB quite slow, TA supported, problems with quality
Plustek S24 gt68xx.device Y USB 1.1 gamma supported, slow warming up,
quality quite ok
Mustek 600 CU mustek_usb.device Y USB working without problems, MorphOS 2.7 required, gamma, preview, threshold supported
Epson Perfection 1260 Photo plustek.device Y USB TA supported, can't change color mode, can't change scanning area size - driver problem


ADF - Auto Document Feeder, TA - Transparency Adapter

Configuring EPSON Scanners

  1. Epson2 driver is included in MorphOS, check MOSSYS:Devs/Scanners/
  2. For SCSI scanners choose valid communication device in Device field (for example symbios.device), USB scanners don't need additional settings
  3. In SCANdal preferences choose Epson2.device full path in Scanner Driver
  4. Check if SCANdal connect to the scanner if not go to the next point
  5. (optional, usb scanners should autoconfigure since MorphOS 3.10)

Create and copy epson2.conf to S:

  • For SCSI scanners leave this file unchanged
#epson2.conf
#usb prod_id vendor_id
#usb 1208 266
scsi EPSON
  • When You use USB just comment scsi line and uncomment usb 1208 266:
#epson2.conf
#usb prod_id vendor_id
usb 1208 266
#scsi EPSON

You have to look in poseidon preferences whether product id and vendor id match (decimal numbers). Values 1208 and 266 in this example are for Epson 1640SU only! Additionally, scanner has to be unbinded from any Poseidon usb classes (if it is binded) and Device field in SCANdal preferences should be left blank.

You can also try using the driver for USB scanners without any configuration file but it may not work.

Epsonconf.png

Configuring gt68xx Scanners

  1. Included in MorphOS 3.10: MOSSYS:Devs/Scanners/gt68xx.device
  2. Download scanner's rom and put it in s:gt68xx directory
  3. Set correct path for scanner driver in SCANdal preferences, choose USB type connection
  4. Create a configuration file s:gt68xx.conf
 # Autodetect Mustek BearPaw 1200 TA and Mustek BearPaw 1200 CS
 usb 0x055f 0x021e

You have to look in Poseidon preferences for your scanner product id and vendor id (hex format) or check this page for ids and roms: http://www.meier-geinitz.de/sane/gt68xx-backend/

Configuring UMax Scanners

  1. Included in MorphOS 3.10: MOSSYS:Devs/Scanners/Umax.device
  2. Create/copy a configuration file s:umax.conf
  3. Choose valid scsi device (for example symbios.device) in SCANdal preferences Device field and appropriate Unit number.

If Your scanner doesn't work well in color mode try setting "option scan-lines" to lower value (10). It has been rewritten not to use fork() and pipe() so it's more stable than 68k version and it supports only SCSI connections.

Configuring mustek_usb Scanners

  1. Included in MorphOS 3.10: MOSSYS:Devs/Scanners/Mustek_usb.device
  2. Set correct path for Scanner Driver in SCANdal preferences, choose USB type connection
  3. Download to S: [1]

Configuring plustek-usb Scanners

  1. Download Driver: [2] (11.01.2011)
  2. Copy the plustek-usb.device to any directory
  3. In SCANdal preferences choose plustek-usb.device full path in Scanner Driver field
  4. Copy plustek.conf to S:
  5. Edit configuration file
#[usb] vendor- and product-ID 
[usb] 0x07B3 0x0017

Additionally, scanner has to be unbinded from any Poseidon usb classes (if it is binded) and Device field in SCANdal preferences should be left blank.

Configuring Lexmark Scanners

  1. Included in MorphOS 3.10: MOSSYS:Devs/Scanners/Lexmark.device
  2. Set correct path for Scanner Driver in SCANdal preferences, choose USB type connection
  3. Copy lexmark.conf to S

Configuring Sm3840 Scanners

  1. Included in MorphOS 3.10: MOSSYS:Devs/Scanners/Sm3840.device
  2. Set correct path for Scanner Driver in SCANdal preferences, choose USB type connection

Configuring canon630u Scanners

  1. Download Driver: [3] (30.11.2010)
  2. Copy the canon630u.device to any directory
  3. In SCANdal preferences choose canon630u.device full path in Scanner Driver field

THIS DRIVER HAS NOT BEEN TESTED. BE CAREFULL

Configuring Genesys Scanners

  1. Included in MorphOS 3.10: MOSSYS:Devs/Scanners/Genesys.device
  2. Set correct path for Scanner Driver in SCANdal preferences, choose USB type connection

Configuring Hp5590 Scanners

  1. Included in MorphOS 3.10: MOSSYS:Devs/Scanners/Hp5590.device
  2. Set correct path for Scanner Driver in SCANdal preferences, choose USB type connection


Configuring Hp3500 Scanners

  1. Included in MorphOS 3.10: MOSSYS:Devs/Scanners/Hp3500.device
  2. Set correct path for Scanner Driver in SCANdal preferences, choose USB type connection


Configuring Fujitsu Scanners

  1. Included in MorphOS 3.10: MOSSYS:Devs/Scanners/Fujitsu.device
  2. Set correct path for Scanner Driver in SCANdal preferences, choose USB type connection

Authors

Main code
Michał 'rzookol' Żukowski
email
rzookol at poczta.onet.pl
rzookol / #morphos / #ppa freenode.net
Additional code
Gianfranco 'ShInKurO' Gignina
Antoine 'Czeko' Dubourg
Icons
Maciej Żukowski