LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-10-2009, 11:04 AM   #1
mfklinux
LQ Newbie
 
Registered: Aug 2008
Posts: 12

Rep: Reputation: 0
Scanner will not copy to printer


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.
 
Old 02-10-2009, 02:05 PM   #2
almatic
Member
 
Registered: Mar 2007
Distribution: Debian
Posts: 547

Rep: Reputation: 67
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 ?
 
Old 02-11-2009, 11:31 AM   #3
mfklinux
LQ Newbie
 
Registered: Aug 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Thank you for your reply.

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.

lpr -P deskjet_series_5400_series
lpr: deskjet_series_5400_series: unknown printer

mfk@localhost:~$ lpr -P CUPS/deskjet_5400_series
lpr: CUPS/deskjet_5400_series: unknown printer
mfk@localhost:~$
mfk@localhost:~$ lpr -P deskjet_5400_series
lpr: deskjet_5400_series: unknown printer
mfk@localhost:~$

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.
 
Old 02-11-2009, 12:40 PM   #4
almatic
Member
 
Registered: Mar 2007
Distribution: Debian
Posts: 547

Rep: Reputation: 67
what happens if you just type

lpr /etc/motd

?

edit: if the above command does not work, please try

lp /etc/motd

Last edited by almatic; 02-11-2009 at 12:47 PM.
 
Old 02-11-2009, 09:05 PM   #5
mfklinux
LQ Newbie
 
Registered: Aug 2008
Posts: 12

Original Poster
Rep: Reputation: 0
This is the output from those two trys.
mfk@localhost:~$ lpr /etc/motd
(No output after this line

mfk@localhost:~$ lp /etc/motd
request id is deskjet_5400_series-6 (1 file(s))
mfk@localhost:~$

Last edited by mfklinux; 02-11-2009 at 09:09 PM.
 
Old 02-11-2009, 11:15 PM   #6
almatic
Member
 
Registered: Mar 2007
Distribution: Debian
Posts: 547

Rep: Reputation: 67
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.
 
Old 02-14-2009, 10:28 PM   #7
mfklinux
LQ Newbie
 
Registered: Aug 2008
Posts: 12

Original Poster
Rep: Reputation: 0
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.
 
Old 02-15-2009, 06:11 AM   #8
almatic
Member
 
Registered: Mar 2007
Distribution: Debian
Posts: 547

Rep: Reputation: 67
have you tried without the -P option (this option only works for lpr btw.). Try with only lpr or lp. See this pic.

http://s10.directupload.net/file/d/1...gaqwkj_png.htm
 
Old 02-15-2009, 09:19 AM   #9
mfklinux
LQ Newbie
 
Registered: Aug 2008
Posts: 12

Original Poster
Rep: Reputation: 0
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
 
Old 02-23-2009, 08:14 PM   #10
mfklinux
LQ Newbie
 
Registered: Aug 2008
Posts: 12

Original Poster
Rep: Reputation: 0
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.
 
Old 02-23-2009, 08:52 PM   #11
mfklinux
LQ Newbie
 
Registered: Aug 2008
Posts: 12

Original Poster
Rep: Reputation: 0
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#

But, it is not printing. MFK
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Scanner/Printer Combo Unit - Scanner Works - Printer Does Not rrrssssss Linux - Hardware 1 03-04-2007 10:49 PM
Tell me what printer/scanner multifunction to get! RoaCh Of DisCor Linux - Hardware 10 02-16-2006 08:34 PM
Printer and scanner tsitras Debian 2 10-19-2003 11:31 PM
Epson all in one printer/copy/scanner?? rberry88 Linux - Hardware 7 09-24-2003 09:58 PM
Scanner and Printer! Khalinsar Linux - Hardware 1 09-14-2003 10:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration