Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Linux Magazine: The source for advanced Linux know-how

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 198 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

xscanimage



SYNOPSIS

       xscanimage [--version|-V] [--help|-h] [--display d] [--no-
       xshm] [--sync] [devicename]


DESCRIPTION

       xscanimage provides a graphical user-interface to  control
       an image acquisition device such as a flatbed scanner or a
       camera.  It allows previewing and scanning invidual images
       and  can  be invoked either directly from the command-line
       or through The GIMP image manipulation  program.   In  the
       former case, xscanimage acts as a stand-alone program that
       saves acquired images in a suitable PNM  format  (PBM  for
       black-and-white  images, PGM for grayscale images, and PPM
       for color images).  In the latter  case,  the  images  are
       directly passed to The GIMP for further processing.

       xscanimage  accesses image acquisition devices through the
       SANE (Scanner Access Now Easy)  interface.   The  list  of
       available  devices  depends on installed hardware and con­
       figuration.  When invoked without an  explicit  devicename
       argument,  xscanimage  presents  a  dialog  listing of all
       known and available devices. If the  environment  variable
       SANE_DEFAULT_DEVICE  is  set to the devicename, the device
       is preselected in  the  dialog.  To  access  an  available
       device  that  is  not  known to the system, the devicename
       must be specified explicitly. The format of devicename  is
       backendname:devicefile (e.g. umax:/dev/sga).


RUNNING UNDER THE GIMP

       To run xscanimage under the gimp(1), simply copy it to one
       of the gimp(1) plug-ins directories.  If you want to  con­
       serve  disk-space,  you can create a symlink instead.  For
       example, for gimp-1.0.x the command

       ln -s /usr/X11R6/bin/xscanimage ~/.gimp/plug-ins/

       and for gimp-1.2.x the command

       ln -s /usr/X11R6/bin/xscanimage ~/.gimp-1.2/plug-ins/

       adds a symlink for the xscanimage  binary  to  the  user's
       plug-ins directory.  After creating this symlink, xscanim­
       age will be queried by gimp(1) the next time it's invoked.
       From   then   on,   xscanimage   can  be  invoked  through
       "Xtns->Acquire Image->Device dialog..." menu entry.

       You'll also find that the "Xtns->Acquire Image" menu  con­
       tains  short-cuts  to the SANE devices that were available
       at the time xscanimage  was  queried.   For  example,  the
       first  PNM  pseudo-device  is  typically  available as the
       short-cut "Xtns->Acquire Image->pnm:0".  Note that gimp(1)
       caches  these  short-cuts in ~/.gimp/pluginrc.  Thus, when
       The --display flag selects the X11 display used to present
       the graphical user-interface (see X(1) for details).

       The --no-xshm flag  requests  not  to  use  shared  memory
       images.   Shared memory images usually enhance performance
       but cause problems with some buggy  X11  servers.   Unless
       your  X11  server dies when running this program, there is
       no need or advantage to specify this flag.

       The --sync flag requests a synchronous connection with the
       X11 server.  This is for debugging purposes only.


ENVIRONMENT

       SANE_DEFAULT_DEVICE
              The       default       device-name.       Example:
              SANE_DEFAULT_DEVICE="hp:/dev/scanner".

       SANE_DEBUG_XSCANIMAGE
              This environment variable controls the debug  level
              xscanimage.   Higher debug levels increase the ver­
              bosity of the output.

                            Value  Descsription
                            0      print fatal errors
                            1      print errors
                            2      print warnings
                            3      print information messages
                            4      print everything

                            Example:
                            SANE_DEBUG_XSCANIMAGE=3


FILES

       $HOME/.sane/xscanimage/xscanimage.rc
              This files holds the user  preferences.   Normally,
              this  file  should  not  be  manipulated  directly.
              Instead, the  user  should  customize  the  program
              through the "Preferences" dialog.

       $HOME/.sane/xscanimage/devicename.rc
              For  each  device,  there is one rc-file that holds
              the saved  settings  for  that  particular  device.
              Normally,  this  file  should  not  be  manipulated
              directly.  Instead, the user should use the  xscan­
              image  interface  to  select appropriate values and
              then save the device settings  using  the  "Prefer­
              ences->Save Device Settings" menubar entry.

       $HOME/.sane/preview-devicename.ppm
              After  acquiring  a  preview,  xscanimage  normally
              saves the preview  image  in  this  device-specific
              file.   Thus,  next time the program is started up,


SEE ALSO

       sane(7), gimp(1), xcam(1), scanimage(1), scanadf(1), sane-
       scsi(5), sane-dll(5), sane-net(5), sane-"backendname"(5)


AUTHOR

       Tristan Tarrant, Andreas Beck, David Mosberger,  and  Hen­
       ning Meier-Geinitz

                           27 Jan 2002              xscanimage(1)
  

Looking for a "printer friendly" version?


Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
You can choose larger fonts by selecting a different themes.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.09 Seconds