Printers won't run

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

--

No votes yet

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Printers won't run

> 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/help/ 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

--

Printers won't run

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 help!
Dennis

--

Printers won't run

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

--

Printers won't run

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

--

Printers won't run

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 help!

Dennis

--

Syndicate content