Programming :: Program For /usr/bin For Scanning With Color Using Scanimage?
May 21, 2010
scanimage is cool. It would be great if there was a command line that one can configure to scan without X, and with rather quite some options to configure... convert to jpgcapable of finding -d snap:lib... whatever you plug and replug the scanner
View 12 Replies
ADVERTISEMENT
Jul 28, 2010
Is there an easy scanning program for kubuntu and where do I go to get it? My mom is running it and needs to scan things. She has the all-in-one mentioned in the thread title.
View 4 Replies
View Related
Apr 15, 2011
I want to scan in a book and convert it to a pdf AND make an OCR text of it. I am looking for somebody who can help me to gie me some BASH helps to combine the pieces I have already got:
Workflow:
1. scan in the book pages: coverpage (=1), page 3, page 5, page 7 .... n (At this point the book is upside down)
2. scan in the book pages turn the book and scan from the back to the front:
back coverpage (= n-1), page n-3, page n-5 .... 2
3. run the program All scanned images are in directory scannedimages
#!/bin/bash
mkdir temppic
for i in `find scannedimages/*.png`
[code]....
how to make it, but I have no knowledge how to program it.Maybe something like that exists already and I can save the programming effort.
View 1 Replies
View Related
Aug 12, 2010
I am searching for some program for scanning documents to PDF file, I am using samsung SCX-4300. I tried XSane but the files I get are to big (1-3 Mb). Is there some other application for scanner I don't want to star my Windows just for scan some document.
View 2 Replies
View Related
Feb 25, 2011
What is your favorite 256-color color scheme for vim?
View 6 Replies
View Related
Oct 4, 2010
Is possible to detect port scanning just by using utilities included in linux (netstat, iptables...), Yes there is utility called psad but I would write some scripts for my own and learn something new
writing own Intrusion Detection System? I am not a C++ geeg, so first thing that comes to my mind is that i will use simple BASH SCRIPT that will interact with iptables and monitor user activity, network activity etc. (but I thing that would not be good solution due to performance and capabilities, and also I am not familliar with memory in linux at all). I was reading aboud SNORT HIDS, NIDS... AFAIK some information can be obtainet from /proc but I have no idea which values should be monitored.
View 1 Replies
View Related
Feb 17, 2011
share the implemented "c" program for scanning the available wireless network.
View 2 Replies
View Related
Nov 15, 2009
Is there a program that can simulate chinese watercolor style painting? I know gimp can apply some brushes and has water color, but in chinese watercoloring, you load different colors at the same brush stroke (kinda like a gradient with one color at the tip and changing towards the middle of the brush). I haven't been successful with gimp's brushes to have a nice smooth watercolor or painting stroke, it looks still computerized and "stepped"
View 1 Replies
View Related
Jan 17, 2010
I have updated my system from 10.3 to 11.2.Now I cannot run scanimage because of missing lib.rpm -qf /usr/bin/scanimage sane-backends-1.0.20-8.3.i586
ldd /usr/bin/scanimage
linux-gate.so.1 => (0xffffe000)
libsane.so.1 => /usr/local/lib/libsane.so.1 (0xb77f6000)
[code]....
View 1 Replies
View Related
Oct 25, 2010
I posted in the Ubuntu forum regarding a problem with an HP Scanjet G4010 scanner, but now I have a specific question. The scanner is reported with lsusb and recognized by sane-find-scanner, but scanimage -L does not find the scanner. My question is: What would be the cause of the scanner being reported in lsusb and sane-find-scanner but not recognized by scanimage -L?
View 8 Replies
View Related
May 13, 2011
I got a new Canon LiDE 110 scanner. It's a very cheap device but the important thing is that it is listed as "completely supported" in the SANE site. I had to compile the latest SANE from sources, but I have no problems with compiling from sources, and now everything runs from the version in /usr/local/... The problem is that "scanimage -L" doesn't detect the scanner. I also don't see any scanners under /dev/... I think it might help if I pass the scanner device with the -d option to scanimage but I don't know how to find out what the device file of it is.
This is what I see with lsusb:
Bus 005 Device 004: ID 1c4f:0003 SiGma Micro
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 007: ID 04a9:1909 Canon, Inc.
Bus 001 Device 003: ID 046d:080f Logitech, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
The scanner is on Bus 001 Device 007.
View 6 Replies
View Related
Mar 24, 2011
I am trying to use sane to acces a scanner. The system is Debian Squeeze AMD64 architechture.The scanner is Brother DCP-J715W, over a network connection. I have installed the drivers from Brother, succesfully.
I can find the scanner with:
$ scanimage -L
device `brother3:net1;dev0' is a Brother DCP-J715W Brother
[code]....
View 1 Replies
View Related
Jun 20, 2011
I've coma across a problem I have not been able to solve myself. Is there a function in the linux API similar to GetConsoleScreenBufferInfo() on Windows? refer to: http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx
I only need to get the current color settings of the active terminal.
View 3 Replies
View Related
Feb 15, 2011
I will have to code this. However I am lacking of time since I have too much to do. make a short code bash/dash to prompt the country with Zenity, then, get the PLS or m3u url and prompt with another zenity which radio to play. http://www.listenlive.eu/index.html
My code to get url's radio country.htm is:
Code:
View 2 Replies
View Related
Dec 28, 2010
I extract color theme under ~/bin, and my .emacs file is as below: However, there is an error when loading color theme.
[Code]....
View 2 Replies
View Related
Oct 14, 2010
I've introduced myself to OpenCV a bit now and can do some of the most basic things with it. My current goal is to have a solid color object (say a red ball) and have a camera be able to find that object. Anybody know of any resources to start learning how to do this? Any tutorials/books? Or is there something I should be searching for instead of color detection and tracking that will give me things more in the right direction?
View 2 Replies
View Related
Jun 14, 2011
Kernel 2.6.21.5, Slackware 12.0
KDE 3.5.7
(Mozilla) Firefox 2.0.0.4
Do color settings in the desktop environment affect color in the web browser? Thanks.
View 2 Replies
View Related
Nov 25, 2010
I would like to get the pixel color from screen at (320,240) and if the color = 0xFFFFFFFF , i would like to execute a command.
View 3 Replies
View Related
Apr 22, 2010
I am writing a bash script that utilizes the output of another script (which I will refer to as script#2.) Script#2 is not owned by me, I cannot modify it. All of the output from script#2 is blue, which makes it difficult for me to read.
I would like to have the output of it changed to grey. Is there a way I can do that in my script? A command I can pipe the output to?
Edit: One other question related to this. I put a trap function in my script that works well. Script#2 essentially runs a tail -f. When I ctrl+c to stop it, it stops script#2 and never calls the trap in my script. Is there any way I can work around that?
View 3 Replies
View Related
Apr 8, 2010
I've been trying to figure out a way to more easily color text in Perl like I do on Bash on a Linux box. In bash, what I'll do is set color variables up to equal the escape sequence, then echo out with escape seqeunces to print it exactly how I want it. Typically I'll want a character or a word in a different color, not the whole line. For example
echo -n -e "My face is turning ${RED}red${UNCOLOR} like a lobster." In Perl with the term::ANSIColor module, it seems to just do a line. Am I being dense? Is there a way that I can do it like I do it in BASH that's fairly easy to read after the fact?
View 11 Replies
View Related
Jan 12, 2011
Can GNOME Color be used to alter this change directory color in Ambiance theme? I'd rather have white.
View 4 Replies
View Related
Jul 6, 2009
I am using the screen app, and have set bce to on, and issued the following commands to set my background and foreground color: tput setab 4; clear; tput setaf 7; clear;
This temporarily sets everything properly on my screen. However, when I issue any commands that change or set their own background color (for example, when I issue an "ls" command with colorized output), the background color gets lost for any new output and I have to reissue the commands listed above in order to retrieve my background color.Ideally I'd like to keep my background color when issuing these commands, as it serves as a good way to remind me of what environment I am currently issuing commands in.
View 1 Replies
View Related
Jan 4, 2014
I have a problem for which I imagined a radical solution. Okay, I have a script that uses Alltray's "menu" feature as an interface. It's working greatly, EXCEPT sometimes lxpanel (the panel and tray of LXDE) has a hiccup and restarts, at which point the alltray menu is still running, but the icon is gone from the tray.
I want to somehow test the screen for the existence of a color, a color that is likely only to exist in the icon I've chosen for the chat menu. If the color exists on my screen, then the script can continue to do nothing, but if the color doesn't exist, then that means the alltray icon with my custom icon has disappeared, at which point I should have my bash script close the alltray process and start it again.
How to accomplish the checking of my screen for the existence of a particular color? To simplify, I already have simple screenshot scripts (scrot is good for it), so it would be fine if I could simply analyze an image.
View 6 Replies
View Related
Mar 19, 2010
I find that when I am using bash, I like to type clear <enter> ls.. or clear; ls.
I wanted to these two commands into a script called cls so I can call the script to clear the screen and list files at the same time. My script looks like this:
I did chmod a+x and put it into /usr/bin
The script works fine, except that when I execute it, the folders/files are not color coded. If I type clear; ls on the command line, they are color coded.
How can I make this work in the script?
View 2 Replies
View Related
Jan 15, 2010
Ok so Basically i have 2 questions
1. i know how to create a file with c++ using but is there a way to save it to a specific location on your computer with windows and linux
Code:
2. i need to know how to run/execute/open a file in a c++ program im using and its not working
Code:
View 4 Replies
View Related
May 5, 2011
(bare with me as I am sort of new with scripting) I am trying to figure out how to run a script that does a basic chkconfig and to get only those services that are running, but changing the color of "on" to red in my output file. Here is what I am working with so far:
Quote:
#/bin/bash
RED=$(tput setaf 1)
BLK=$(tput setaf 0)
[code]....
*I had to substitute a "-" and <colon_symbol> for ":" in front of the on's, because the forum thought they were smiley faces (i.e. n) how to make the "on" to be red while the rest of everything remains in black text. I have been trying to read up on sed and awk, but it is still pretty much a mystery to me right now. There will be other things in the output file that I wouldn't want a rogue "on" to be in red, so just the instances of "on" in that one chkconfig return.
View 4 Replies
View Related
Aug 5, 2010
I found someone who has a CanoScan 9000F (the new Canon flatbed scanner replacing the 8800F which is already supported in SANE 1.0.21), and managed to find out that it also uses the PIXMA protocol (the protocol used in the scanners for Canon's multi-function printer/copier/scanner devices of the PIXUS/PIXMA MP series (and other names depending on sales region).
Support for the scanner has therefore been added in the pixma backend. However, the initial tester is having trouble compiling and configuring SANE from source, so I am hoping there will be some people here who have access to this scanner and can try to help out as well.
After compiling SANE, if "scanimage -L" does not detect the scanner, probably "usb 0x04a9 0x1908" needs to be added to /etc/sane.d/pixma.conf and /usr/local/etc/sane.d/pixma.conf.
After that slow steps need to be taken to get support for the various resolutions, as this scanner as double the number of CCD rows as the 8800F, and can do double the resolution (up to 9600dpi) optically.
View 14 Replies
View Related
Feb 12, 2011
im trying to build a simple program for my C programming class, this is the source code
#include <stdio.h>
int main()
{
int length, width, length, height, area, perimeter;
perimeter = width + length + height;
area = width * length + heigth;
[Code]...
i dont see any error (you might)but every time i run it it runs but after it asks me to input for the width i do it but it doesn't take me to the length, it just stays blank until i input another value in the same place for the width, it asks me for 4 inputs in total i don;t know why, and after i run it different times it gives me different values for the perimeter and are. how can I fix this?
View 5 Replies
View Related
Feb 2, 2010
I have an HP color laser printer and I am looking for a way to print black as black instead of using tri-color. For example If I print a document that has colored text then any black text is printed using the color cartridges rather then using black. I have been surviving by using windows XP in virtualbox but I'm hoping someone can help me with this. I've looked all over then net for a solution but I've found nothing. I remember having similar problems like this with older Macs because of postscript printing and I'm thinking this is the same problem but I don't know how to fix it. I've searched the forums as well but no joy.
View 3 Replies
View Related
Feb 5, 2009
I found some interesting behavior when discussing the pow function from Math.h with someone. I am well aware of the need to compile with the -lm flag, but to my surprise this actually isn't necessary if the arguments to the pow function are literals. For example, this program compiles in gcc without using -lm:
Code:
#include <stdio.h>
#include <math.h>
int main()
[code]....
If I try to change the call to any of these:
Code:
double bCubed = pow(2.0, e);
Code:
double bCubed = pow(b, 3.0);
Code:
double bCubed = pow(b, e);
Then the -lm option is required or else it can't compile. So does anyone know why it's necessary to use -lm when the argument(s) is/are variable(s) but it works fine if both arguments are literal values? As a side note, any of the above compile with g++ however. Also, if it helps, this is the version of gcc I'm using:
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)
This doesn't happen on my Mac however that is running: i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5484)
View 3 Replies
View Related