Turn Scanner + Printer + Linux computer into a copier?

I have a scanner and a printer, both supported on Linux.
What software can I use to automate copying of a sheet of paper, first scanning it, if necessary apply a threshold filter and then printing it?
Restrictions:
* no X necessary, the server (a beagle board) runs headless
* Only one LED for status information and one button to start the fully automatic process
That's how I imagine the work flow:
1. scan using sane (What cli front ends can you recommend me for sane? scanimage?)
2. if necessary, apply a threshold filter to get rid of noise and improve legibility (depends on quality of scanner output)
3. print using lp or lpr
Has anyone experience with a similar setup or knows any existing application to do the job?

Thanks a lot for your answers! And to think I wanted to use an old gamepad as input device when there are plenty of buttons on the scanner.
Googling scanbuttond brought me to an article about scanner buttons at the Gentoo Wiki.
Depending on your scanner model, the sane backend might support button presses, in my case (sane-pixma) I have to add the --button-controlled=yes option to scanimage. The information is in the man page.
I'll have a look at the example script, too, for further inspirations.

Similar Messages

  • Printer will only print from computer won't copy from printer

    My  printer will only print items that i send to it from y email. when i walk out to the printer and try to make copies the pages all come out blank no matter if i use the document feeder or place them on the glass directly. i have turned it off and back on but the problem was not corrected. 

    Hi @sandylouise,
    Welcome back to the HP Support Forums! I see you are not able to make copies from the front panel of your HP Photosmart. I would like you to go ahead and perform a Hard Reset:
    1. Unplug all cables and memory cards from the printer. Unplug the power cord, directly from the back of the printer while the printer is still turned on.
    2. Unplug the other end of the cord from the power source.
    3. If there is a power module on the power cord, disconnect one end and reconnect it.
    4. After 60 seconds, plug the cord directly into a wall outlet (not a surge protector or battery backup as they can cause the printer to lose basic functionality over time).
    5. Plug the power cord into the back of the printer.
    6. The printer should automatically power back up. If it doesn't, turn it on with the power button.
    7. Try making a photocopy (if your printer is an all-in-on printer) before connecting any other cables to the printer.
    8. Connect any other needed cables to the printer.
    If after the Hard Reset you are still unable to make copies, please call our technical support at 800-474-6836 as it may be the hardware. If you live outside the US/Canada Region, please click the link below to get the support number for your region.
    http://www8.hp.com/us/en/contact-hp/ww-phone-assist.html
    HevnLgh
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • Scanner moves and then moves back to start and turns my printer off.

    When turning on my printer, the scanner moves and then moves back to start and turns my printer off. I can not turn my printer back on unless I unplug it and plug it back in. Then it just does the same thing again and again and again.

    Hello @LuvInCayer , and welcome to the HP Forums!
    I see you're having power issues.  I would like to help!
    I'd recommend starting with a power reset.  Disconnect the power cord from the printer and the power outlet, then wait 60 seconds. After 60 seconds, plug the printer back in. Ensure you plug the printer directly to a wall outlet. Make sure to bypass any sort of surge protector or power bar.
    I would also recommend plugging the printer power into a different wall outlet.
    Good luck and please let me know the results of your troubleshooting steps. Thank you for posting on the HP Forums!
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • Copying file from a local computer into mapped LAN share.

    I tried to copy a file from a local computer into a Z: disc (a LAN share). I tried to use every method i found on the internet. Using io, nio.. nothing works. It works well on the local computer, but not through LAN. It says that there is not enough of system resources to go on (i'm talking about big files.. more than 200mb... small files are accepted).

    Hi,
    Flash itself has no filewriting capabilities other then the
    SharedObject
    stuff.
    But why can't you call a php script? You could install
    apache, PHP and
    MYSQL on the computer running the Flash app and get it all
    into the
    database in one go.
    Otherwise you either need to get going with AIR (Adobe
    Integrated
    Runtime), or use a wrapper application like Adobe Director
    (which has
    tons of ways to write to file through it's plethora of
    Xtras.) Director
    may be 'a bit' hard on your budget if you only use it for
    this purpose
    though.
    The XMLSocket is for connections to some server, local or
    remote, not to
    a file.
    Manno
    graphic_pawn wrote:
    > First, I'm using Flash CS3, and Actionscript3.
    >
    > I'm trying to set up a data collection form that will
    save the results to a
    > file that can later be imported into a database. This is
    going to be in a Kiosk
    > at a tradeshow and it won't have internet access, so I
    can't send it to an
    > online PHP or ASP, etc, script.
    >
    > The form also has several screens, so i thought I'd try
    to use the Form
    > Application (I know I can only have one frame on the
    timeline when using this
    > flash template with the data components). I want to try
    and write the data to a
    > XML file. All the information I've found is for
    importing data from an XML file
    > to a web server rather than sending data to an XML file
    on a local computer.
    >
    > I'm trying to use the XML connector,and an XML file that
    resides in the same
    > folder as my Flash file, but so far I've had very little
    luck writing to that
    > XML file. Do I need to set up a dataset to send the form
    data to that will then
    > send the data to an XML Connector component that will
    then send the data to the
    > XML file. Should I use LoadVars instead, and if I do,
    will I have to write to a
    > script, or can it also write to an XML file.
    >
    > If any one has a better idea to do this, please let me
    know.
    >
    > Thanks.
    >
    Manno Bult
    http://www.aloft.nl

  • How do you copy, for example I work with blue prints and I want to copy a section and copy into another new page?

    How do you copy, for example I work with blue prints and I want to copy a section and copy into another new page?

    Forgot to add that it would be an adjustment layer with some kind of mask on it already. The mask is uncentered when copy and pasted which throws it off.
    I guess the same question would go towards doing the same for an object. How to copy and paste it over to a new doc, keeping its position within the document? is this possible?

  • I want to automatically have my pictures copied from my iphone to my computer into "my pictures" into a dated folder.  My phone did this at first and now it doesn't.  How do I set this up?

    I want to automatically have my pictures copied from my iphone to my computer into "my pictures" into a dated folder.  My phone did this at first and now it doesn't.  How do I set this up?  Thank you.

    What does the family WiFi have to do with iCloud? iCloud is on Apple's servers.
    If it is a shared computer what you can do is create a new user ID on the computer. Log in with the new ID. This will give you a "clean" iTunes library that you can use for backing up the the old phone and syncing the new phone.

  • HT203175 How can I copy my Word document and my films which I already have in my computer into my itouch?

    How can I copy my Word documents and my films which I already have in my computer into my itouch?

    Yes.
    Everything in iCal on the Mac is archived with the Export.
    This is another method for backing up your iCal data. The Address Book includes the same option.

  • Unfortunately I have deleted my entire itunes library and back up from my computer, is there any way I can copy my ipod nano back onto my computer into the itunes library? and re-download all the tunes I have purchased  from I tunes.

    Unfortunately I have deleted my entire itunes library and back up from my computer, is there any way I can copy my ipod nano back onto my computer into the itunes library? and re-download all the tunes I have purchased  from I tunes.

    Hello bigali,
    Your options are kinda limited. I would use this first:
    Downloading past purchases from the App Store, iBookstore, and ...
    Then check here for the non-purchased items:
    https://discussions.apple.com/thread/2452022
    You want to rebuild the library first, then sync the ipod.
    Here is a good idea for when your done:
    How to back up your media in iTunes
    Hope this helps.
    ~Julian

  • HT1349 i pad won't turn on even after plugging into computer?

    I pad will not turn on even after plugging into computer and into wall. Any suggestions?

    Have you tried a soft-reset to see if that gets it to boot up ? Press and hold both the sleep and home buttons for about 10 to 15 seconds, after which the Apple logo will hopefully appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • The computer is connected to the printer but the printer says its offline so it won't print. how do i turn the printer online?, the computer is connected to the printer but the printer says its offline so it won't print. how do i turn the printer online?

    the computer is connected to the printer but the printer says it is offline. how do i turn the printer online?

    All I know is that you have some kind of MacBook.
    Not enough to frame a question, let alone an answer

  • When I turn off the printer my computer locks up. HP Desktop.Photosmart D7360, Windows 7

    When I turn off my printer the computer locks up.  HP Desktop computer.  Windows 7.  Photosmart D7360.
    I have reinstalled the drivers.
    This question was solved.
    View Solution.

    Have you tried a different usb cable? It could be that the usb cable is grounding out which could be a short in the usb cable, or the port on the printer. Although it is also possible that it is the USB controller on your computer's motherboard so if trying a different cable doesn't fix it try it with another computer if at all possible. If the other computer doesn't have any problems then it is the HP desktop. At that point you're out of my realm of expertise friend . (In other words if this doesn't work, try your luck on the desktop forums or by calling 1-800-474-6836)
    Hope this helps!
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • Can't establish wireless connection between the printer and computer.

    I recently upgraded my wireless to an Apple AirPort Time Capsule. I'm able to set up the printer via USB cable. And I'm able to set up the printer on the network via the Airport WPA utility. However I cannot establish a wireless connection between the computer and the printer. When I go to the printers window  in my system prefereces, there is no wireless printer available to add in the "available printers" menu. Only the USB version printer is listed and of course when I disconnect the USB cable it shows as offline.I've tried all the fixes on HP's support pages. I've tried reinstalling the printer on both the router and the computer numerous times. The only thing I haven't done is reinstall the printer using the "Install Wizard" software that is supposed to come with the printer - (mine never came with it in the first place and of course HP doesn't have it available for download). And when I reset the printer to factory settings, then connect it to the computer via the USB, there is no installation software that pops up. Cant even find the **bleep** thing in "Finder". (I'm assuming that it should show up as some sort of external device.) I've checked to make sure both computer and printer are on the same network. (sometimes my computer will grab a connection with the next nearest network.) I've checked all the settings for the printer via the HTML configuration utility. I've even updated my Macbook software and restarted it multiple times. Note: the printer actually worked for a bit when I first switched routers, but the printer's wireless function went offline several times and then quit  altogether. Really frustrated that I bought another HP product thinking this time things would be different. HP is no help unless you want to pay $$ for a phone call. I'm about ready to take this thing out in the desert to use for target practice and never buy another HP product ever again.

    Hi , I saw your post regarding the problems you are having with your LaserJet Pro P1102w Printer not showing on your Macintosh computer. I may have found some resources for you. 
    I have a few questions for you, so I can offer some additional assistance:Before you upgraded to the Apple AirPort Time Capsule, was the printer working wirelessly without any issues?
    When you say; 'I reset the printer to factory settings', how where you trying to do this? 
    I found some instructions from this post: How do I reset my Laserjet p1102w to its defaults, copied here for you:
    To restore the printer back to factory settings, turn the printer off, hold down the wireless button and the cancel button (x button) then turn the printer back on and don't release the two buttons until the printer stops making noise. (When they say turn the printer off, I think they mean unplug the power cable.)
    "I've checked to make sure both computer and printer are on the same network."  Do you know if you are able to access the printers Embedded Web Server (EWS)?To access the EWS - Make sure that the Ready light () is on and that the printer is idle and silent.Press and hold the Cancel button (), and release it when the Ready light () begins blinking.The configuration page prints.Type the IP address or host name of the product in the address field of a supported Web browser, and then press Enter on your keyboardLet me know if this page loads 
    To answer a few more items you have listed:... When I go to the printers window in my system preferences, there is no wireless printer available to add in the "available printers" menu.This could be an issue with your print system, I recommend resetting the printing system and then Repair Disk Permissions - after that try to add the printer again.
    ... the "Install Wizard" software that is supposed to come with the printer - (mine never came with it in the first place and of course HP doesn't have it available for download)HP provides their software/drivers to Apple to be released through your Apple software updates. You can review this document on how to Install a Mac Printer Driver Using Apple Software Update. Which leads into your next point...
    ... there is no installation software that pops upWhen you connect the USB cable your mac may still recognize the printer software as being already installed - check for apple updatesOn the Mac, click the Apple menu (), and then click Software Update, or click About this Mac, and then click Software Update. A list of available updates displays.
    ... Not seeing the printer in "Finder" From what I understand most printers will not show in Finder unless you install a memory card into a supported port on certain printer models, only then will it read it like an external device. A few more things you can check are that the new settings in the Apple AirPort Time Capsule are setup to allow the printer to communicate. There are several of these settings listed in this document; Tips and Workarounds for Common Wireless Network Printer Issues.  HP regularly releases firmware updates that may also correct the problem you are experiencing. You can click on this link to Getting Printer Updates for HP LaserJet Pro P1102w Printer.  I did find 2 more documents that may offer some additional information as well;HP LaserJet Pro P1102w Printer - Connecting the Printer After Changing Your Wireless NetworkAn 'Unable to Find Printer' Error Displays for the HP LaserJet Pro P1102w Printer  Please let me know if any of these steps resolved your issue, or the details of what happened.  I look forward to hearing from you, hopefully with good news!   Thanks, 

  • I am trying to connect a Windows 7 / 64 bit to an Epson printer on my Mac.  The printer is hooked into the Mac via USB; the Mac is networked to a Linksys wireless router with an ethernet cable, as is the Windows box. Any tips on how to do this?

    I am trying to connect a Windows 7 / 64 bit to an Epson printer on my Mac.  The printer is hooked into the Mac via USB; the Mac is networked to a Linksys wireless router with an ethernet cable, as is the Windows box. I installed the current Bonjour printer services software on the Windows machine, and separately installed the driver software for the Epson printer on the WIndows machine.  Running the bonjour wizard, I get an alert saying 'I don't have sufficient access to my computer to connect to the selected printer'.
    The printer has 'sharing' turned on from the Mac end; this works with a Powerbook via the wireless connection.  Sharing is also turned on in the Windows printer control panel for this printer (under properties).  The Mac is a G5 running 10.5.8.  When I try to print a page from the Windows machine it gets hung in the print queue.
    Any advice how to proceed would be appreciated!
    thx,

    I am trying to connect a Windows 7 / 64 bit to an Epson printer on my Mac.  The printer is hooked into the Mac via USB; the Mac is networked to a Linksys wireless router with an ethernet cable, as is the Windows box. I installed the current Bonjour printer services software on the Windows machine, and separately installed the driver software for the Epson printer on the WIndows machine.  Running the bonjour wizard, I get an alert saying 'I don't have sufficient access to my computer to connect to the selected printer'.
    The printer has 'sharing' turned on from the Mac end; this works with a Powerbook via the wireless connection.  Sharing is also turned on in the Windows printer control panel for this printer (under properties).  The Mac is a G5 running 10.5.8.  When I try to print a page from the Windows machine it gets hung in the print queue.
    Any advice how to proceed would be appreciated!
    thx,

  • How can I turn my Mac using iTunes into an alarm clock?

    Here's my question: How can I turn my Mac, using iTunes, into an alarm clock?
    I want to be able to put my Mac to sleep but have it set up so that when it wakes up at the predetermined time iTunes will open and start playing the music I've selected....
    A "musical alarm clock"...
    A friend suggested using the Energy Saver option in Sys. Preferences to wake the computer at the right time. He said that then I could use iCal to start iTunes. I would then have to use an Apple Script to get iTunes to play the song I want.
    But is there a SIMPLER way to do this? Are there any programs out there that do this already??
    Thanks for any help....

    I recently got a copy of AlarmClock Pro from MacWorld UK. It is shareware, I think it is (USD?)19. I haven't had a chance to try it out much, but it does look quite good. I have an older version. The latest version looks even better.
    I'm sure there's plenty of freeware apps out there. You might also want to try looking here for an applescript here Doug's AppleScripts for iTunes
    p53

  • Apps crash when printing to turned-off printer

    Running 10.9.3 at the moment and having unusual printer issues at the office.  Basically, when going to the print dialogue box and clicking "print" to any printer that is turned off or that OSX doesn't recognize, it will crash the app.  The unusual thing is that even after turning the printer back on, any app that tries to print won't even make it to the print dialogue box and crashes immediately on clicking File>Print or Command-P.  Clicking on Printers in System Prefs crashes System Prefs.  Most of the time even a restart won't solve the issue.   It does seem to resolve itself the next day after I go home and come back to the office.

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    For this step, the title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    In the top right corner of the Console window, there's a search box labeled Filter. Initially the words "String Matching" are shown in that box. Enter the name of the crashed application or process. For example, if iTunes crashed, you would enter "iTunes" (without the quotes.)
    Each message in the log begins with the date and time when it was entered. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    ☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    ☞ Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, select
              DIAGNOSTIC AND USAGE INFORMATION ▹ User Diagnostic Reports
    (not Diagnostic and Usage Messages) from the log list on the left. There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points down. You'll see a list of crash reports. The name of each report starts with the name of the process, and ends with ".crash". Select the most recent report related to the process in question. The contents of the report will appear on the right. Use copy and paste to post the entire contents—the text, not a screenshot.
    I know the report is long, maybe several hundred lines. Please post all of it anyway.
    If you don't see any reports listed, but you know there was a crash, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post other kinds of diagnostic report—they're very long and rarely helpful.

Maybe you are looking for