![]() Threshold calculation to darken or lighten the result 1.0 should be close toĪccurate reproduction, with 1.1 slightly more legible on screen for typicalĭocuments 0.5 is a good guess for very dark originals, and 2.0 a good guess density x, where x is floating point value from 0.1 to 10.0 adjusts the dtc x, where x is d, 1, or 2 for scanner's best, full, or simplified threshold xxx, is 1-254, applies to mono, ignored for gray & color, ![]() Of 1/1200 inch, centered on scan area, default is the entire page left xxx, -top xxx, -width xxx, -height xxx, scan area in units Given, then the scanner's maximum (for the scan's resolution) will be used To length specified in paper-height, and create output image ofĪctual length (does not work with landscape scanning) if no paper-height is auto-length, if specified, automatically detect length of paper up paper-width xxx, -paper-height xxx, size of document in units of resolution xxx, dots per inch, from 50-600 in 1 dpi increments, Remember that width & height are specified in terms of how one reads theĭocument, in other words 11 wide by 8.5 high for US letter-size & landscape rotate-f-f, -rotate-l-l, -rotate-l-r, -rotate-r-l, and -rotate-r-r, landscape allowable values are -rotate-n-n, -rotate-n-f, -rotate-f-n, rotate-f-b where f stands for rotation of front side, b stands for rotation ofīack side, possible values are 'n' for none, 'f' for 180 degrees flip, 'l' forĩ0 degrees left, and 'r' for 90 degrees right -rotate-r-l is equivalent to duplex to scan front and back, otherwise scan front only compress option, where only option is zlib for gray & color TIFF tiff to create TIFF file, -pdf to create PDF file, default is tiff adf to scan from automatic document feeder, -flatbed to scan from flatbed append to add to, rather than overwrite, an existing file Scan pages into file 'filename' where possible options are: Given a usb location (from -enumerate), list the scanner information Given a usb location (from -enumerate), list the scanner capabilities Scan the USB bus for all supported scanners and list them Note that trying the command fscanx with no arguments will in typical UNIX fashion give you a concise summary of the options: The rest of the examples will assume the utility is on the search path, as is the case with the default location /usr/sbin. This assumes that fscanx is located where it will be found in the search path, if not you'll have to either use the full path, or be in the directory where the utility is located. Will scan all the pages on the scanner's document feeder and create myfile.tif in the current directory. The options all have reasonable defaults: monochrome scanning, 300dpi, 8.5x11 inch page with no margins, multi-page TIFF output. The command line utility takes a number of options, followed by a file name. There is more information on the Automator action, including a bried introduction to Automator and several examples, online here. Please note that it was built with Xcode 5.0.1 and may not work with older versions of Apple's development tools That is in the “fScanX-GUI” folder in the “Integration Examples” folder, and if you want to look at it you can copy it where you want it. The installer does not install the source for the GUI application. Like any command-line program, if you move it to a directory that is not part of your command search path, you will have to change to its containing directory or use the full path name in order to invoke it. You may copy (or symlink) it from fScanX.app/Contents/MacOS/fsxanx to anywhere on your hard disk. The installer no longer installs the command-line utility fscanx into your /usr/local/bin/ directory. The user interface is self-explanatory: a few options for scan type and size, and a scan button that when clicked asks you to choose a location and name for the file. This application is self-contained and can just be dragged to any other location on your hard disk if you wish. The installer puts the GUI application, fScanX, into the Applications folder. The software requires at least OS X 10.7.5. ![]() (The GUI application is a Cocoa wrapper using the command-line utility, and its source is included as an example of how to build a user interface on top of the command-line utility.) Installation Notes The fscanx command-line utility, for scripting workflow applications, which can easily be called from shell scripts, AppleScript, or any programming language that supports executing command-line utilities (in other words, all languages).An Automator action, for quick & easy automation of scanning.The GUI application, fScanX.app, for standalone scanning.TThe fScanX package consists of 3 components: Double-click the “fScanX.mpkg” item to launch the installer, then just follow the prompts.
0 Comments
Leave a Reply. |