DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am running Debian lenny. My scanner (epson 1200 perfection Photo) using xsane interface, will not copy to my HP5440 printer. Printing works from Office. I have set it up in the Xsane interface to use the queue name given when I set up the printer. I have also tried several other names. Scanning to view works fine.
Does the command, that you set up in xsane, work from the commandline ?
If not, give more info please. How did you set up your printer (cups ?) How do you print from other applications/commandline ? What command did you enter in the xsane configuration for copy ?
Does the command, that you set up in xsane, work from the commandline ?
If not, give more info please. How did you set up your printer (cups ?) How do you print from other applications/commandline ? What command did you enter in the xsane configuration for copy ?ma
My system is intel , 4 G of memory.Intel(R) Core(TM)2 Duo CPU E8500 @ 3.16GHz stepping 06 And 640 Gb hard drive. OS os Debian Lenny 4.0 Kernel ver 2.6.24 64bit. Debian is the only OS on the computer.
I have loaded everything in the synaptic package manager that I thought could possibly be useful except the CUPS stuff. I am not familiar with that and thought it might conflict with something else. In checking back I see that CUPS is loaded, but not CUPS commands.
In setting up the printer I clicked “Applications, system tools, printers”, entered password, got a menu titled “foomatic-gui”. I clicked “add”, got the option to “add printer queue”. I followed the wizard to set up the queue. At the end it gave me the queue name, “deskjet_5400_series”
l
I click Applications, Graphics, Xsane Image scanning program. I get xsane 0.995 device selection. It has two options: Epson Perfection 1200 flatbed scanner (Epson2:libusb:004:002)
Epson Perfection 1200 flatbed Scanner (Epson:libusb:004:002)
I have tried both. I now will try the first.
I get the menu block titled “xsane 0.995 perfection1200:002 I will show only pertinent data.
Copy
deskjet_5400_series
color, etc and scan at the botton
I click “scan” It scans and I get : Error during save: Broken pipe with the option “OK” I click OK
I get Error during save: Resource temporarily unavailable (my note: printer is on and ready)
I click on OK I get Error during save: Resource temporarily unavailable.
I click on OK I get “Failed to execute printer command: “lpr -P deskjet_5400_series”
I went to google to find a printer command that I had forgotten. In printing out the page the print options menu came us showing the printer as “ CUPS/deskjet_5400_series”. The page from google printed.
I thought the “CUPS/deskjet_5400_series might solve the problem. I tried that command line in the COPY/Scan menu, but to no avail.
I made the following entries from the command line (not as SU). I am not sure the syntax is correct but all seem to be saying the printer is not found.
Then as SU
mfk@localhost:~$ su
Password:
localhost:/home/mfk# lpr -P deskjet_5400_series /etc/motd
lpr: deskjet_5400_series: unknown printer
localhost:/home/mfk# lpr -P 5440 USB Printer #1 /etc/motd
lpr: 5440: unknown printer
localhost:/home/mfk# lpr -P CUPS/deskjet_5400_series /etc/motd
lpr: CUPS/deskjet_5400_series: unknown printer
localhost:/home/mfk#
I print from OpenOffice by clicking on File, then Print (which shows the printer name as just “deskjet_5400_series” or by clicking on the printer icon at the top of the page. Both work fine.
this looks about right to me. Did the document print ? If yes, go to xsane settings, and in the copy menu enter as printer command "lpr" or "lp". Then it should work.
The name of the printer obviously is "deskjet_5400_series-6" (not "deskjet_5400_series"), but you don't have to specify this explicitly, because it will use the default printer if you leave the -P option away.
I now have in the Xsane menu CUPS/deskjet_5400_series-6 for the name. (I tried it with and without the CUPS/) The command line is lp -P deskjet_5400_series-6
I still get the same error messages and no printer output. the lp /etc/motd is the command that produced output from the command line but not from xsane.
I tried both. I now have lp deskjet_5400_series-6
This is copied from the xsane setup menu. I tried to do screen shots but they come out too small to send. I looked at the pix. That is the same as where I am making my changes. It seems to all come down to the fact that this application is not finding the printer. I cannot understand why the "lp deskjet_5400_series-6" will print the /etc/motd file and the Office documents will print but it cannot find the printer here. Is there a file somewhere that needs to have something manually added? MFK
Since my last post here I deleted the printer configuration and reinstalled it the same way. The printer is still identified as deskjet_5400_series. The command line in the xsane setup is set to lpr and I no longer get an error when I copy from the scanner. However, when the scan completes nothing else ever happens. I can still send things to the printer from Office and other things I want to print, but the Copy from the scanner does not do anything, no errors or print.
I work with this just when I have time so my responses here are scattered. I hope my reply here will benefit someone else. I am nor organized enough to know what I have done a lot of times so cannot report it accurately. Thanks to all who have responded to this and other posts.
Mon. Feb. 23 8:49 pm. When I scan with the Xsane Copy option it scans with no error and spools the output, but no print. When I give the command lpq I get the following messages.
debian:/home/mfk# lpq
lp is ready and printing
Rank Owner Job Files Total Size
active mfk 14 (standard input) 32740 bytes
debian:/home/mfk#
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.