Bug 2674

Summary: Printer printing garbage
Product: Mageia Reporter: Koos Uys <uyskoos>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: doktor5000
Version: 1   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:
Attachments: Postscript Garbage
Cups Garabge

Description Koos Uys 2011-09-09 03:05:01 CEST
Description of problem:

The printer is printing garbage often. I had to open many single page documents yesterday. Most was in PDF format. However, every second to fifth page printed, was garbage although there was no other issues like unusual delays in printing. 

There was no pattern in garbage printing and a page that was for example printed as garbage and then reprinted immediately, came out perfect.

I am using CUPS with the HP Laserjet 6P V5.2.6 Drivers
This happened in the following packages:

1. Okular

2. I then thought it was an Okular quirk and installed Foxit Reader.

3. It also happened in Libre Office with a .doc document.


Version-Release number of selected component (if applicable):


How reproducible:

Often, but I cannot detect specific patterns


Steps to Reproduce:
1.
2.
3.
Comment 1 Florian Hubold 2011-09-09 09:59:15 CEST
Could you please show the output of
rpm -qa | grep hplip

CC: (none) => doktor5000

Comment 2 Koos Uys 2011-09-09 11:36:14 CEST
I looks like this:

hplip-hpijs-ppds-3.11.3a-5.mga1
hplip-gui-3.11.3a-5.mga1
hplip-hpijs-3.11.3a-5.mga1
hplip-3.11.3a-5.mga1
hplip-model-data-3.11.3a-5.mga1
Comment 3 Florian Hubold 2011-09-09 16:51:51 CEST
OK, so your cauldron install is not up-to-date, you should update your system so that you get hplip-3.11.7. But the problem you're describing could also be caused by some CUPS breakage.

Can you confirm this behavior was always like that in cauldron, and if not, when did it change? Is this the same behavior with Mageia 1?
Comment 4 Florian Hubold 2011-09-09 16:54:02 CEST
Looking at the packages suffix again, it seems you're running Mageia 1, and this bug was reported against Cauldron, which would be the development version. Is this a Cauldron install or Mageia 1?
Comment 5 Koos Uys 2011-09-09 17:06:20 CEST
Apologies for that. It is Mageia 1 and I will make sure that I select that in future in the bug reports.

The installation is now 3 days old and it surfaced basically from the first printing jobs I did after printing the original test page.

Version: Cauldron => 1

Comment 6 Florian Hubold 2011-09-09 17:31:30 CEST
In this case you can't test the newer packages which i wrote of.

No problem. May i ask how did you setup your printer?
Does it help if you remove the printer in CUPS web frontend (called printer management in the menu) and readd it or select another driver for it?
It should be possible to select either at least an HPIJS or HPLIP driver. Does any of those make a difference?

Additionally, is it correct the printer only has a parallel connection, no USB?

Component: Release (media, process) => RPM Packages

Comment 7 Koos Uys 2011-09-09 22:30:17 CEST
The printer is a Xerox PE-120. Initially to get it installed, I had to pull the USB plug first and push it in again for Mageia to see the printer. It then installed the Mageia Xerox driver, but that did not work at all and it was garbage from the word go.

However, I used this printer with HP Laserjet 6P drivers since I have it. It did came with a full Linux installation package that also makes the scanner work, but it never installed very cleanly and I decided to live without the scanner.

What I did for the Mageia installation, was to add the HP 6P printer manually on the LPT1 port and copy and paste the URL for the USB port. This was done from Mageia Control centre. It was not possible to change the Xerox driver to the HP driver with the application.

I will try the other drivers and see if it works.
Comment 8 Florian Hubold 2011-09-09 22:43:00 CEST
So no wonder it prints only garbage :)

Please check http://www.openprinting.org/printer/Xerox/Xerox-WorkCentre_PE120
Is it that one? Then check the light grey box at the top, you see "Recommended Driver"? Try if you can select one of those drivers for the printer.

Also, you can just change the connection, don't copy&paste such things, as most printers use special, vendor-dependent URLs to talk to their printers. Please look at this post and try if you can change the connection of your printer analog to what i'm describing in the post:
https://forums.mageia.org/en/viewtopic.php?p=6045#p6045
Comment 9 Koos Uys 2011-09-10 09:32:21 CEST
Created attachment 777 [details]
Postscript Garbage

Text garbage when used with Postscript drivers.
Comment 10 Koos Uys 2011-09-10 09:34:11 CEST
Created attachment 778 [details]
Cups Garabge

This is teh type of garbage I get with the Cups driver. It is intermittend. No real pattern in when it is produced. If a document came out like this, I can reprint immediately and it comes out perfect. Had the same issue with Okular, Foxit Reader and Libreoffice
Comment 11 Koos Uys 2011-09-10 09:45:13 CEST
OK, the attachment messed up my original comment, so lets just write that again.

I could now easily manage to change both connection and Driver with the CUPS web interface. It works well.

Using any Postscript or foomatic driver - and I tried all the drivers in your link - I get the text garbage as per the attachment. This was also true on my Mandriva 2008 installation as well as for Ubuntu. The only drivers types that ever worked with this printer, was CUPS drivers.

In fact, I also had a big HP 3500 CP plotter that was supposed to print straight Postscript 3, but that also did not work from Linux. So in this regard, I could never get a PS driver on any of my printers to work.

Using the "HP LaserJet 6P hpcups 3.11.3a" works on my Xerox, but also with a snag. If I queue jobs, it will only print the first document and then stops. It does not finish the print jobs in the queue. If I switch the printer off and on, it will take the next job, but stops after that again.
Comment 12 Florian Hubold 2011-09-10 10:14:21 CEST
Have you tried the Linux drivers which are available directly from Xerox?
http://www.support.xerox.com/support/workcentre-pe120-pe120i/downloads/enus.html?operatingSystem=linux&fileLanguage=en
Comment 13 Koos Uys 2011-09-10 11:01:04 CEST
Yes. If I install the PPD file that is supposed to be for CUPS, I get the same type of text garbage of for the Postscript / Foomatic Driver.

The MFP installation does not work. It seems to refer to files it cannot find.
Comment 14 Koos Uys 2011-09-11 04:25:49 CEST
I managed to install another driver coming from the Xerox site. This one works from cups but I get the same issue as with the "HP LaserJet 6P hpcups 3.11.3a" driver. It prints only a single document and does not complete the print queue.
Comment 15 Florian Hubold 2011-09-11 11:07:10 CEST
Actually i can't help you further here. If there are no proper drivers, or vendor-supplied drivers don't work properly/at all, then theres nothing we can do.

I'd advise you to open up a thread in the forums, as this is no real bug that can be fixed like that. I'm closing this as INVALID, and we'll continue this in the forums, OK?

Status: NEW => RESOLVED
Resolution: (none) => INVALID

Comment 16 Koos Uys 2011-09-11 15:25:20 CEST
Any explanation why it worked with the other Linux Distros I used?

And why would it print three or four pages correctly, make mess from the next one, but prints that same page correctly with a reprint?
Comment 17 Koos Uys 2011-09-11 15:25:49 CEST
BTW, we can move it to the forums and see what falls out there.