[SOLVED] Another HP printing problem on Mageia 4

[SOLVED] Another HP printing problem on Mageia 4

Postby lloyd » Feb 7th, '14, 14:12

I've got an old HP 2605dn printer that won't print anything other than a test page. I've installed a ton of stuff to make sure
I've got all the required dependencies (Linux is still dependency hell... :( )
I ran all the diagnostics for HPLIP (V3.13.9) It all checks out. Nothing missing, all dependencies installed. Print queue
checks out.

I'm thinking the problem might be with CUPS and not HPLIP. It appears that HPLIP is sending jobs to CUPS.
I checked the queue by logging into CUPS and it says the print job is "stopped - filter failure".
Does that sound like a CUPS problem? Any idea on how to fix it?

By the way, my printer is connected to 192.168.1.100. It printed fine under Mageia 3.

Thanks & have a great day!

Lloyd
Last edited by lloyd on Feb 15th, '14, 15:54, edited 1 time in total.
lloyd
 
Posts: 148
Joined: Feb 4th, '14, 20:27

Re: Another HP printing problem on Mageia 4

Postby lloyd » Feb 8th, '14, 17:08

actual error logfile is 240K...:-(
it looks like HPLIP is OK and the problem is with CUPS...
lloyd
 
Posts: 148
Joined: Feb 4th, '14, 20:27

Re: Another HP printing problem on Mageia 4

Postby doktor5000 » Feb 8th, '14, 17:16

You can compress the logfile and attach it here.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18045
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Another HP printing problem on Mageia 4

Postby lloyd » Feb 9th, '14, 05:39

I hope th
troubleshoot.txt.bz2
(13.39 KiB) Downloaded 488 times
is works.....
lloyd
 
Posts: 148
Joined: Feb 4th, '14, 20:27

Re: Another HP printing problem on Mageia 4

Postby paulcbrennan2001 » Feb 9th, '14, 12:43

Hello Lloyd,

Is this a solution? If so, as I am not technical just a user, what do I do?

Many thanks.
paulcbrennan2001
 
Posts: 113
Joined: May 23rd, '12, 18:42

Re: Another HP printing problem on Mageia 4

Postby lloyd » Feb 9th, '14, 14:25

Unfortunately, it's NOT a solution,,,yet. I'm hoping someone can make heads or tails out of it. It's the error log file (it's BIG).
So, not yet....
Believe me, I've tried everything - even to the point of installing CUPS from Mageia 3. That didn't work either.
lloyd
 
Posts: 148
Joined: Feb 4th, '14, 20:27

Re: Another HP printing problem on Mageia 4

Postby doktor5000 » Feb 9th, '14, 19:26

I've had a look, and tried to filter it a little bit, line numbers are at the beginning of each line:

Code: Select all
[doktor5000@Mageia3 ~]$ grep -in -e fail -e error troubleshoot.txt| grep -v -e "error=0" -e "no errors"
2:{'cups_connection_failure': False}
104:                   '  error-state                   0                                                         ',
197:                   '\x1b[31;01merror: hp-info -u/--gui requires Qt4 GUI support. Entering interactive mode.\x1b[0m',
510:                                 'printer-error-policy': u'stop-printer',
511:                                 'printer-error-policy-supported': [u'abort-job',
605:Page 9 (Error log checkpoint):
620: 'error_log_checkpoint': 102885L,
621: 'error_log_debug_logging_set': True}
640:                            'job-printer-state-message': u'Filter failed',
647:                            'job-state-reasons': u'job-completed-with-errors',
670:                            'job-printer-state-message': u'Filter failed',
677:                            'job-state-reasons': u'job-completed-with-errors',
686:Page 11 (Error log fetch):
687:{'error_log': ['D [08/Feb/2014:08:54:41 -0600] [Client 13] Sending file.',
1082:               'D [08/Feb/2014:08:54:48 -0600] Get-Printer-Attributes client-error-not-found: The printer or class does not exist.',
1083:               'D [08/Feb/2014:08:54:48 -0600] [Client 19] Returning IPP client-error-not-found for Get-Printer-Attributes () from localhost',
1179:               'D [08/Feb/2014:08:54:48 -0600] CUPS-Get-Default client-error-not-found: No default printer.',
1180:               'D [08/Feb/2014:08:54:48 -0600] [Client 18] Returning IPP client-error-not-found for CUPS-Get-Default (no URI) from localhost',
1340:               'D [08/Feb/2014:08:54:49 -0600] CUPS-Get-Default client-error-not-found: No default printer.',
1341:               'D [08/Feb/2014:08:54:49 -0600] [Client 18] Returning IPP client-error-not-found for CUPS-Get-Default (no URI) from localhost',
1353:               'D [08/Feb/2014:08:54:50 -0600] [Job 31] STATE: -media-empty-error,media-jam-error,hplip.plugin-error,cover-open-error,toner-empty-error,other',
1450:               'D [08/Feb/2014:08:54:51 -0600] CUPS-Get-Default client-error-not-found: No default printer.',
1451:               'D [08/Feb/2014:08:54:51 -0600] [Client 18] Returning IPP client-error-not-found for CUPS-Get-Default (no URI) from localhost',
1593:               'D [08/Feb/2014:08:54:59 -0600] CUPS-Get-Default client-error-not-found: No default printer.',
1594:               'D [08/Feb/2014:08:54:59 -0600] [Client 18] Returning IPP client-error-not-found for CUPS-Get-Default (no URI) from localhost',
1604:               'E [08/Feb/2014:08:54:59 -0600] [Job 31] Job stopped due to filter errors; please consult the error_log file for details.',
1794:               'D [08/Feb/2014:08:55:00 -0600] CUPS-Get-Default client-error-not-found: No default printer.',
1795:               'D [08/Feb/2014:08:55:00 -0600] [Client 18] Returning IPP client-error-not-found for CUPS-Get-Default (no URI) from localhost',
1946:               'D [08/Feb/2014:08:56:08 -0600] [Job 32] STATE: -media-empty-error,media-jam-error,hplip.plugin-error,cover-open-error,toner-empty-error,other',
2099:               'D [08/Feb/2014:08:56:08 -0600] Get-Printer-Attributes client-error-not-found: The printer or class does not exist.',
2100:               'D [08/Feb/2014:08:56:08 -0600] [Client 17] Returning IPP client-error-not-found for Get-Printer-Attributes () from localhost',
2206:               'D [08/Feb/2014:08:56:08 -0600] CUPS-Get-Default client-error-not-found: No default printer.',
2207:               'D [08/Feb/2014:08:56:08 -0600] [Client 18] Returning IPP client-error-not-found for CUPS-Get-Default (no URI) from localhost',
2349:               'D [08/Feb/2014:08:56:16 -0600] CUPS-Get-Default client-error-not-found: No default printer.',
2350:               'D [08/Feb/2014:08:56:16 -0600] [Client 18] Returning IPP client-error-not-found for CUPS-Get-Default (no URI) from localhost',
2360:               'E [08/Feb/2014:08:56:17 -0600] [Job 32] Job stopped due to filter errors; please consult the error_log file for details.',
2548:               'D [08/Feb/2014:08:56:17 -0600] CUPS-Get-Default client-error-not-found: No default printer.',
2549:               'D [08/Feb/2014:08:56:17 -0600] [Client 18] Returning IPP client-error-not-found for CUPS-Get-Default (no URI) from localhost',
2673:               "W [08/Feb/2014:08:57:23 -0600] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'HP_Color_LaserJet_2605dn-Gray..' already exists",
2674:               "W [08/Feb/2014:08:57:23 -0600] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'HP_Color_LaserJet_2605dn-CMYK..' already exists",
2676: 'error_log_debug_logging_unset': True}


I see some filters failed at the beginning, at later for some subsequent job it seems either like a paper jam, paper empty error or it's a problem with the plugin.

What does
Code: Select all
hp-plugin
say?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18045
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Another HP printing problem on Mageia 4

Postby doktor5000 » Feb 10th, '14, 20:07

Can you try if the dirty workaround from https://bugs.mageia.org/show_bug.cgi?id=11684#c18 helps?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18045
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Another HP printing problem on Mageia 4

Postby paulcbrennan2001 » Feb 14th, '14, 13:52

Can you walk me through what I should do to apply the 'dirty workaround' as I am only a user not technical.

Many thanks.
paulcbrennan2001
 
Posts: 113
Joined: May 23rd, '12, 18:42

Re: Another HP printing problem on Mageia 4

Postby wintpe » Feb 14th, '14, 17:12

i think you might struggle with this, and im sorry, but you just going to have to man up and get your hands dirty.

open a command shell

start -> systemtools -> konsole

in black konsole terminal screen, type
Code: Select all
su -

enter root password


WARNING NEWBIES IN THIS MODE PLAYING RUSSIAN ROULET.

Code: Select all
urpmi nano

(user friendly editor, unlike vi)
Code: Select all
mv /usr/bin/gs /usr/bin/gs.orig

nano /usr/bin/gs


enter the following into nano and save it

Code: Select all
#!/usr/bin/bash
if echo "$@" | grep --quiet pswrite; then
        /usr/bin/gs.orig `echo "$@" | sed "s|pswrite|ps2write|g"`
else
        /usr/bin/gs.orig "$@"
fi


you want nothing else in that file, and no blank lines above the first line.

now that its saved confirm that the save worked

Code: Select all
cat /usr/bin/gs

does it look the same.

no
Code: Select all
rm /usr/bin/gs

go back to nano

try again

if successfull.
Code: Select all
chmod 755 /usr/bin/gs

now close terminal and

see if workaround works.

regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK

Re: Another HP printing problem on Mageia 4

Postby paulcbrennan2001 » Feb 14th, '14, 20:13

Many thanks - IT WORKS!!

Fortunately I am not totally unfamiliar with konsole so following your instructions was fairly straightforward, only the 'nano' bit caused me problems. Got there in the end though.

Again, many thanks.
paulcbrennan2001
 
Posts: 113
Joined: May 23rd, '12, 18:42

Re: Another HP printing problem on Mageia 4

Postby doktor5000 » Feb 14th, '14, 21:27

FWIW, you can use any other editor you like instead of nano.

Please at least comment on the bugreport and mention that you're also affected, and the dirty workaround fixed it for you.
Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18045
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Another HP printing problem on Mageia 4

Postby paulcbrennan2001 » Feb 15th, '14, 01:31

I, unfortunately, did not start this topic so it looks like I can't edit the title.
paulcbrennan2001
 
Posts: 113
Joined: May 23rd, '12, 18:42

Re: Another HP printing problem on Mageia 4

Postby lloyd » Feb 15th, '14, 15:58

doktor5000 wrote:FWIW, you can use any other editor you like instead of nano.

Please at least comment on the bugreport and mention that you're also affected, and the dirty workaround fixed it for you.
Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks


I originally started the thread. Sorry it took so long for me to get back.
I'm pretty sure the workaround has fixed it, because I couldn't print anything at all (other than a test page)

At least I can print an e-mail now!

Thanks, everyone!

Hoping for a permanent fix soon....
lloyd
 
Posts: 148
Joined: Feb 4th, '14, 20:27


Return to Printers and Scanners

Who is online

Users browsing this forum: Rob_T and 1 guest

cron