MFP Scanner Driver Manual

This command performs scan on command line.

This command perform scanning on the specified device, and the scanned image is output to standard-output(stdout) or specified file in the PNM format.

okiscan -dev <scanner-name>
        [-source Auto|Flatbed|ADF]
        [-mode Color|Gray|BW]
        [-resolution <50..1200{dpi}(75)>]
        [-duplex-scanning None|RightLeftBind|TopBind]
        [-sharpness None|Sharpen|SharpenMore]
        [-bg-eliminat-level <0..6(0)>]
        [-edge-erase <0,5..50{mm}(0)>]
        [-font-smoothing yes|no]
        [-moire-elimination yes|no]
        [-left <0..max-paper-width{mm}(0)>]
        [-top <0..max-paper-height{mm}(0)>]
        [-width <0..max-paper-width{mm}(max-paper-width)>]
        [-height <0..max-paper-height{mm}(max-paper-height)>]
        [-paper-width <0..max-paper-width{mm}(0)>]
        [-paper-height <0..max-paper-height{mm}(0)>]
        [-output-dir <output-directory>]
        [-file-name <filename>]

Execution example

Following example performs scan in full-size on MB471 network scanner, and convert the scanned image into the JPEG format, and save it to a file.

$ okiscan -dev MB471 | pnmtojpeg > test.jpeg