|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Greetings;
I have two printers. I set both of them up using the Add Printer Wizard in/from Gnome. I have printed test pages but they are stuck in the queue with a status of job-stopped. The first printer is a windows printer, HP Deskjet 6540, IP connected, and all of my windows computers can send to it just fine. Just not my Debian Etch. The second printer has the same problem. It is a local USB connected Epson Stylus CX7800. It worked on this computer in it's previous incarnation as a Win 2k machine. The HP will eventually change to a Stopped state, and I can't resume it. I assume this has something to do with it being a shared network printer. I have poked around and can't find any error messages. The status commands that I have found don't tell me anything I don't know already. Any ideas what might be wrong? Where can I jab something to get an status/info/error message that will get me started on solving this problem? Many TIA, Dennis -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Thu, May 31, 2007 at 17:49:32 -0500, Dennis G. Wicks wrote:
> Greetings; > > I have two printers. I set both of them up using the Add Printer Wizard > in/from Gnome. > > I have printed test pages but they are stuck in the queue with a status of > job-stopped. > > The first printer is a windows printer, HP Deskjet 6540, IP connected, and > all of my windows computers can send to it just fine. Just not my Debian > Etch. I would first check if your Linux system can see the Windows printer at all. The "smbclient" command can be used to list all exported shares of a remote SMB server: smbclient -U <user> -L <server> This should produce a list of shared directories (if there are any) and printers. <user> is your username on the windows machine and <server> is its name, the same name that you use if you want to print remotely from another Windows client. You will be prompted for the (Windows) password. (In the remainder of this message I will assume that you use CUPS as the print spooler on the Linux machine.) If your printer is listed with smbclient then you should check if it is defined properly in /etc/cups/printers.conf. You should see something like this: DeviceURI smb://<user>:<password>@<server>/<printer> with <user> and <server> as above, <password> the Windows password and <printer> the designation of the printer as reported by smbclient. (The fact that <user> and <password> are in clear text makes it necessary that printers.conf is only readable by the CUPS daemon and by root.) If the DeviceURI looks OK then you should edit /etc/cups/cupsd.conf and change the line LogLevel warning to LogLevel debug Then you should restart CUPS by running (as root) invoke-rc.d cupsys restart and try to print again. /var/log/cups/error_log should now contain more details about what is going wrong. (Post this logfile here if you cannot make sense of the messages yourself.) > The second printer has the same problem. It is a local USB connected Epson > Stylus CX7800. It worked on this computer in it's previous incarnation as a > Win 2k machine. The first thing to check is if CUPS can see the printer. Run /usr/lib/cups/backend/usb It should list the printer's maker and model, and maybe also a serial number. Then you should again check the DeviceURI in /etc/cups/printers.conf. It should look like this for USB printers: DeviceURI usb://<maker>/<model>?serial=<serial number> or DeviceURI usb://<maker>/<model> or DeviceURI usb://dev/usb/lp0 If the DeviceURI looks OK then it is again time to turn to the CUPS error_log for further clues. > The HP will eventually change to a Stopped state, and I can't resume it. > I assume this has something to do with it being a shared network printer. > > I have poked around and can't find any error messages. The status commands > that I have found don't tell me anything I don't know already. > > Any ideas what might be wrong? > > Where can I jab something to get an status/info/error message that will get > me started on solving this problem? > > Many TIA, > Dennis -- Regards, | http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
> The first printer is a windows printer, HP Deskjet 6540, IP
> connected, and all of my windows computers can send to it just fine. > Just not my Debian Etch. I have never done such a thing before. Assuming that you are using CUPS go to localhost:631// get yourself a cup of coffee and start reading - the guys of cups did quite a nice job in documentation. > The second printer has the same problem. It is a local USB connected > Epson Stylus CX7800. It worked on this computer in it's previous > incarnation as a Win 2k machine. As long as it is listed on linuxprinting.org it should work smoothly. Have you got all the foomatic packeges? foomatic-db: linuxprinting.org printer support - database foomatic-db-engine: linuxprinting.org printer support - programs foomatic-filters: linuxprinting.org printer support - filters Cheers Sam -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
After following the suggestions of Florian and Samuel the Epson CX7800
prints now. But it won't print test pages. (?) That may have been the only problem with it to begin with. The HP (remote) still doesn't print. Test pages or otherwise. I could swear that I attached some files sometime back, but today my post gets rejected. So, I have uploaded the printers.conf file and the error_log file, as plain text and zipped, to: http://www.mgssub.com/xfer/ You can browse them there or download them as you prefer. (For those who may see this later the files will be deleted 7 days after the date of this post.) Before I copied the error_log I stopped cups, rm'd the error_log and then started cups, then printed a file, not a test page, to the HP so there shouldn't be too many extraneous msgs in the error_log. Thanks for the ! Dennis -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
On Thu, Jun 07, 2007 at 08:58:55 -0500, Dennis G. Wicks wrote:
> After following the suggestions of Florian and Samuel the Epson CX7800 > prints now. But it won't print test pages. (?) That may have been the only > problem with it to begin with. > > The HP (remote) still doesn't print. Test pages or otherwise. [...] > Before I copied the error_log I stopped cups, rm'd the error_log > and then started cups, then printed a file, not a test page, to > the HP so there shouldn't be too many extraneous msgs in the error_log. DeviceURI smb://JOYCE/HPDeskjet You are not supplying any login credentials to joyce if the DeviceURI is set up like that. This will only work if your Linux username is identical to your Windows username and if joyce does not require a password for that user. Please check if you can see the printer listed when you run smbclient -N -L joyce while you are logged in on your Linux machine as your normal user. If you can see the printer make sure that "HPDeskjet" is indeed the name under which joyce reports the printer to samba clients. -- Regards, | http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
Florian Kulzer wrote:
> On Thu, Jun 07, 2007 at 08:58:55 -0500, Dennis G. Wicks wrote: >> After following the suggestions of Florian and Samuel the Epson CX7800 >> prints now. But it won't print test pages. (?) That may have been the only >> problem with it to begin with. >> >> The HP (remote) still doesn't print. Test pages or otherwise. > > [...] > >> Before I copied the error_log I stopped cups, rm'd the error_log >> and then started cups, then printed a file, not a test page, to >> the HP so there shouldn't be too many extraneous msgs in the error_log. > > DeviceURI smb://JOYCE/HPDeskjet > > You are not supplying any login credentials to joyce if the DeviceURI is > set up like that. This will only work if your Linux username is > identical to your Windows username and if joyce does not require a > password for that user. Please check if you can see the printer listed > when you run > > smbclient -N -L joyce > > while you are logged in on your Linux machine as your normal user. If > you can see the printer make sure that "HPDeskjet" is indeed the name > under which joyce reports the printer to samba clients. > Seems to work fine. dgwicks:~$ smbclient -N -L joyce Anonymous login successful Domain=[PINEYWOODS] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] Sharename Type Comment --------- ---- ------- IPC$ IPC Remote IPC D$ Disk Default share X$ Disk Default share print$ Disk Printer Drivers D-Drv Disk G-Drive Disk HPDeskjet Printer HP Deskjet 6500 Series z-image-i Disk z-image-k Disk z-image-j Disk c-drv Disk z-image-f Disk z-image-g Disk z-image-h Disk I-Drive Disk Y$ Disk Default share ADMIN$ Disk Remote Admin z-image-e Disk z-image-p Disk C$ Disk Default share Anonymous login successful Domain=[PINEYWOODS] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] Server Comment --------- ------- Workgroup Master --------- ------- dgwicks:~$ This is a "home" network so I don't use ids or passwords. They would just unnecessarily complicate things. Tnx, Dennis -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
On Fri, Jun 08, 2007 at 09:24:08 -0500, Dennis G. Wicks wrote:
[ snip: We are trying to solve a problem with CUPS when printing on a remote printer which is shared on a Windows machine. ] > Seems to work fine. > > dgwicks:~$ smbclient -N -L joyce > Anonymous login successful > Domain=[PINEYWOODS] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] [...] > HPDeskjet Printer HP Deskjet 6500 Series [...] > This is a "home" network so I don't use ids or passwords. They would just > unnecessarily complicate things. Try to change the DeviceURI in /etc/cups/printers.conf to DeviceURI smb://guest@joyce/HPDeskjet or DeviceURI smb://guest@pineywoods/joyce/HPDeskjet and check if that improves the situation. You have to restart CUPS after you make a change to the configuration files; to do this, run: invoke-rc.d cupsys restart (If this does not work try uppercase letters for user, workgroup and server.) -- Regards, | http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
Florian Kulzer wrote:
> On Fri, Jun 08, 2007 at 09:24:08 -0500, Dennis G. Wicks wrote: > > [ snip: We are trying to solve a problem with CUPS when printing on a > remote printer which is shared on a Windows machine. ] > >> Seems to work fine. >> >> dgwicks:~$ smbclient -N -L joyce >> Anonymous login successful >> Domain=[PINEYWOODS] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] > > [...] > >> HPDeskjet Printer HP Deskjet 6500 Series > > [...] > >> This is a "home" network so I don't use ids or passwords. They would just >> unnecessarily complicate things. > > Try to change the DeviceURI in /etc/cups/printers.conf to > > DeviceURI smb://guest@joyce/HPDeskjet > > or > > DeviceURI smb://guest@pineywoods/joyce/HPDeskjet > > and check if that improves the situation. You have to restart CUPS after > you make a change to the configuration files; to do this, run: > > invoke-rc.d cupsys restart > > (If this does not work try uppercase letters for user, workgroup and > server.) > Florian, None of those things made any difference. the HPDeskjet would not go ready and would not print. Nothing appeared to change. All the messages in the error log looked the same. I didn't run diff on them, but I didn't notice anything obviously different. I did notice a couple of things. In the error log are a lot of messages that say cupsdAuthorize: No authentication data provided. And the HPDeskjet is referred to as //localhost/printers/DeskJet-6540 When I check the HPDeskjet properties from the various places it does appear that it is recognized as being a remote printer on //joyce though. Just wondering -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#9 |
|
Messages: n/a
Hébergeur: |
On Fri, Jun 08, 2007 at 19:16:01 -0500, Dennis G. Wicks wrote:
> Florian Kulzer wrote: >> On Fri, Jun 08, 2007 at 09:24:08 -0500, Dennis G. Wicks wrote: >> [ snip: We are trying to solve a problem with CUPS when printing on a >> remote printer which is shared on a Windows machine. ] >>> Seems to work fine. >>> >>> dgwicks:~$ smbclient -N -L joyce >>> Anonymous login successful >>> Domain=[PINEYWOODS] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] >> [...] >>> HPDeskjet Printer HP Deskjet 6500 Series >> [...] >>> This is a "home" network so I don't use ids or passwords. They would just >>> unnecessarily complicate things. >> Try to change the DeviceURI in /etc/cups/printers.conf to >> DeviceURI smb://guest@joyce/HPDeskjet >> or >> DeviceURI smb://guest@pineywoods/joyce/HPDeskjet >> and check if that improves the situation. You have to restart CUPS after >> you make a change to the configuration files; to do this, run: >> invoke-rc.d cupsys restart >> (If this does not work try uppercase letters for user, workgroup and >> server.) > > Florian, > > None of those things made any difference. the HPDeskjet would not go ready > and would not print. Nothing appeared to change. All the messages > in the error log looked the same. I didn't run diff on them, but I > didn't notice anything obviously different. > > I did notice a couple of things. > > In the error log are a lot of messages that say > > cupsdAuthorize: No authentication data provided. The error_log that you put on the web has 746 lines with this message and furthermore 570 lines with cupsdAuthorize: Local authentication certificate not found! If I set the loglevel to debug and print one page on our SMB-shared network printer I get 20 lines with "No authentication ..." and 0 lines with the message about the certificate. I have never used a network printer that did not require full user/password credentials, therefore I do not know if what you see is normal for your guest/anonymous login configuration. > And the HPDeskjet is referred to as > > //localhost/printers/DeskJet-6540 > > When I check the HPDeskjet properties from the various places it does > appear that it is recognized as being a remote printer on //joyce though. I think that is normal. As far as your Linux system is concerned, the printer is called "DeskJet-6540" and it can be accessed via CUPS on localhost. (Note that these DeviceURIs start with ipp:// and not with smb://.) Only the SMB backend of CUPS needs to know where to send the print jobs in the end. Let's try something else: Point your browser of choice to http://localhost:631/printers/ and check the Printer State for DeskJet-6540. If it says "stopped" then you should see a green "Start Printer" button in the row of buttons below the printer properties and status messages. Try to start the printer again. (You will be asked for a username and password; either use root or your normal account if you are a member of the "lpadmin" group.) Can you start the printer? Does it stop again if you try to print the next job? You might have to use "Cancel All Jobs" to clear the print queue. -- Regards, | http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#10 |
|
Messages: n/a
Hébergeur: |
Florian Kulzer wrote:
> On Fri, Jun 08, 2007 at 19:16:01 -0500, Dennis G. Wicks wrote: >> Florian Kulzer wrote: >>> On Fri, Jun 08, 2007 at 09:24:08 -0500, Dennis G. Wicks wrote: >>> [ snip: We are trying to solve a problem with CUPS when printing on a >>> remote printer which is shared on a Windows machine. ] >>>> Seems to work fine. >>>> >>>> dgwicks:~$ smbclient -N -L joyce >>>> Anonymous login successful >>>> Domain=[PINEYWOODS] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] >>> [...] >>>> HPDeskjet Printer HP Deskjet 6500 Series >>> [...] >>>> This is a "home" network so I don't use ids or passwords. They would just >>>> unnecessarily complicate things. >>> Try to change the DeviceURI in /etc/cups/printers.conf to >>> DeviceURI smb://guest@joyce/HPDeskjet >>> or >>> DeviceURI smb://guest@pineywoods/joyce/HPDeskjet >>> and check if that improves the situation. You have to restart CUPS after >>> you make a change to the configuration files; to do this, run: >>> invoke-rc.d cupsys restart >>> (If this does not work try uppercase letters for user, workgroup and >>> server.) >> Florian, >> >> None of those things made any difference. the HPDeskjet would not go ready >> and would not print. Nothing appeared to change. All the messages >> in the error log looked the same. I didn't run diff on them, but I >> didn't notice anything obviously different. >> >> I did notice a couple of things. >> >> In the error log are a lot of messages that say >> >> cupsdAuthorize: No authentication data provided. > > The error_log that you put on the web has 746 lines with this message > and furthermore 570 lines with > > cupsdAuthorize: Local authentication certificate not found! > > If I set the loglevel to debug and print one page on our SMB-shared > network printer I get 20 lines with "No authentication ..." and 0 lines > with the message about the certificate. I have never used a network > printer that did not require full user/password credentials, therefore I > do not know if what you see is normal for your guest/anonymous login > configuration. > >> And the HPDeskjet is referred to as >> >> //localhost/printers/DeskJet-6540 >> >> When I check the HPDeskjet properties from the various places it does >> appear that it is recognized as being a remote printer on //joyce though. > > I think that is normal. As far as your Linux system is concerned, the > printer is called "DeskJet-6540" and it can be accessed via CUPS on > localhost. (Note that these DeviceURIs start with ipp:// and not with > smb://.) Only the SMB backend of CUPS needs to know where to send the > print jobs in the end. > > Let's try something else: Point your browser of choice to > > http://localhost:631/printers/ > > and check the Printer State for DeskJet-6540. If it says "stopped" then > you should see a green "Start Printer" button in the row of buttons > below the printer properties and status messages. Try to start the > printer again. (You will be asked for a username and password; either > use root or your normal account if you are a member of the "lpadmin" > group.) Can you start the printer? Does it stop again if you try to > print the next job? You might have to use "Cancel All Jobs" to clear the > print queue. > Florian; Initially it says "/usr/lib/cups/backend/smb failed" right after the printer name. Then "Printer State: stopped, accepting jobs, published." I clicked the green start button and after a few screen flashes I get "Printer State: idle, accepting jobs, published." I printed a web page, refreshed the LPS screen and then it says DeskJet-6540 "/usr/lib/cups/backend/SMB failed" Printer State: stopped, accepting jobs, published. I reset everything and tried printing a page w/ABIWord. The "SMB failed" message appeared, but the printer didn't stop and didn't print anything. Everything seemed to be in limbo. I canceled the job after about 5 minutes. Then I reset everything and tried printing a plain text file from gedit. Same thing. No difference at all. I am getting discouraged. It will probably turn out to be a Windows problem! Thanks for the ! Dennis -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
![]() |
| Outils de la discussion | |
|
|