Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Sunshow Pro V3.0 - <b>canonscn</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
CanonScn

Scan a Targa image on a CANON IX-30F Scanner with or without ADF


Syntax

CANONSCN [<switches>] <cOUTFILE.TGA>


Switch

/aspect
Preserve aspect ratio.

/id:<n>
Set scanner id to <n> (default is 0).

/b<n>
Set brightness level to <n> (-127(dark) to 127(light)).

/s<n>
Set number of grey shades to <n> (2, 16, or 256).

/dither
Scan in black and white with error diffused dither.

/adf
Reports error if Automatic Document Feeder is not ready.

/w<x>,<y>,<w>,<h>
Set scan window in inches:
<x> = x origin (x must be greater than or equal to 0)
<y> = y origin (y must be greater than or equal to 0)
<w> = width (x + w must be less than 8.5)
<h> = height (y + h must be less than 14.0)

/o<x>,<y>,<w>,<h>
Set output window in pixels:
<x> is the x origin (x must be greater than or equal to 0)
<y> is the y origin (y must be greater than or equal to 0)
<w> is the width (w must be greater than 0)
<h> is the height (h must be greater than 0)

/compress
Compress output file.


Arguments

<cOUTFILE.TGA>
TGA file in which to save scanned image.


Remarks

Note: CanonScn is a device driver for an IX-30F flatbed scanner, not a 
Bubble Jet printer.


Remarks

The Canon IX-30F scanner is a variable DPI (up to 300 DPI) flatbed sheet 
scanner with an Automatic Document Feed (ADF) option, that can scan 
bi-level, 16 greyscale, or 256 greyscale up to 8.5" x 11.6" for single 
sheets, and with the ADF, it will scan 8.5" x 14.0". It uses asynchronous 
data transfer through an AT-compatible 8-bit SCSI interface. A device 
driver, SI3.SYS, compatible with DOS 2.0 or later is required in the 
CONFIG.SYS. CanonScn will produce a Targa 8-bit uncompressed file according 
to the parameters passed. This Targa file may then be processed as required 
for the application with other Sunshow utilities.

SI3.SYS Device driver

DEVICE=[<drive>:][<path>] SI3.SYS [/M<x>]|[/I<y> /IO=<zzz>]

Bracketed parameters are optional. Switches are separated with 
one space delimiters and must be preceded with the forward 
slash, /. There cannot be any separation between the slash, /, and 
the subsequent switch.

For example (for your CONFIG.SYS):

DEVICE=C:\SUNSHOW\SI3.SYS /IA /IO=330

Switch Explanation

/M<n>
Where <n> can be 2, 3, 4, 5, 6, or 7.  This parameter is optional. 
It defaults to "Do Not Access the Memory" with #1, #2, #3 all set to "ON". 
The Memory Address can be set with DIP switch block 2: #1, #2, and #3. 
If required you may select 6 different memory addresses. If /IO is set 
correctly the /M<n> parameter becomes invalid and is not used.

/I<c>
Where <c> can be A, B, or C.
/IA is INT 7Ah (default).
/IB is INT 7Bh.
/IC is INT 7Ch.

/IO=<nnn>
Where <nnn> can be 210, 220, 230, 240, 250, 260, 270, 330 (default), 
340, 350, or 370.

/I<n> and /IO<nnn> parameters are optional. If  not passed, SI3.SYS will 
use the defaults: /IA and /IO=330. These must be set to match the DIP 
switch settings on the Scanner Interface Card. The /IO address parameter 
<nnn>, if set incorrectly, will cause the device driver to fail without an 
error message. If the device driver installs correctly upon boot-up, a 
copyright message will display briefly, indicating that the driver has been 
installed.

Note: To avoid a conflict, you must select interrupt 7Bh or 7Ch when 
running on a Novell network. Default interrupt type, 7Ah is also used by 
Novell NetWare.

The Canon SCSI scanner interface card has two DIP switch blocks for setting 
DMA channels, interrupt types, SCSI ID, and the I/O address. Always try to 
use the default settings first, if possible.

Note: Only reset the DIP switches if there is hardware conflicts with other 
boards. In the event of hardware conflicts, it is recommended, as a 
trouble-shooting procedure, that you try to re-address other conflicting 
cards, first, before readdressing the scanner SCSI interface. In the event 
that you need to trouble shoot hardware conflicts, the general procedure is 
to isolate the PC from any networks, strip out all other non-essential 
cards, then try them one at a time until the conflict is found. If possible, 
this is the card to re-address.


Example

To scan an 8.5" x 11" document at 200 DPI with slight brightening, in 16 
greyscale, using the Automatic Document Feed to the Targa 8-bit FILE.TGA:

CANONSCN /id:0 /b10 /s16 /adf /w0,0,8.5,11 /o0,0,1750,2200 FILE.TGA



See Also: EpsonScn GPIBScan HowtekSc JX100Scn MicroScn MitsScan ScanJet TexnaiSc UmaxScan

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson