hplip-3.10.2-r4 has buggy ppd file re-occured for 3.10.9

Bug #665967 reported by fireicer
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
HPLIP
Fix Released
Undecided
Unassigned
Gentoo Linux
Fix Released
Low

Bug Description

I not sure if this is down to a large scale updating tool thats doing this or
weather there is a procedure call in the source code that needs be found but
the ppd file keeps getting changed in the newer distributions of hplip.

Cut to the chase.

hp-officejet_pro_l7600.ppd from version 3.10.9-11 compared against the
hp-officejet_pro_l7600.ppd from version 3.9.10-72

6c6
< *FileVersion: "hpcups 3.10.9.11"
---
> *FileVersion: "hpcups 3.9.10.72"
17c17
< *NickName: "HP Officejet Pro l7600, hpcups 3.10.9.11"
---
> *NickName: "HP Officejet Pro l7600, hpcups 3.9.10.72"
293c293
< *OrderDependency: 10.0 AnySetup *Duplex
---
> *OrderDependency: 10.0 PageSetup *Duplex
381c381
< *% End of hp-officejet_pro_l7600.ppd, 24152 bytes.
---
> *% End of hp-officejet_pro_l7600.ppd, 24153 bytes.

Clearly shown above the one section regarding duplex is different instead of
PageSetup it is AnySetup.

The AnySetup seems to cause the ppd printer config to print over text and
messed up margins, strange artifacts etc on the second page and subsequent
print pages.

If i modify the ppd file of version 3.10.9.11 changing AnySetup -> PageSetup
the duplex printing works fine.

I have no idea how hplip development tree works so i presume this line as above
is either change via a portage, source management tool or its just s simple
typo. Worst case scenario is source code has an error that needs correcting to
convert the cal PageSetup into AnySetup.

I have not dug deeper into the source so if any of you know why or can fix it
permanently then hey please do as every update it seems to overwrite my ppd
changes.

Find the full bug thread of history behind discovering this bug here:

http://bugs.gentoo.org/show_bug.cgi?id=315381

It needs fixing again not sure how this bug is getting changed like this

Revision history for this message
In , fireicer (f1r31c3r) wrote :

I been having an issue with the ppd file in this version of hplip with cups. I use the office_pro_l7600 ppd file from this version and it seems to mirror the second page on duplex printing. Basically one side is backwards text and page and one side is perfect.

When i mod/change the ppd file downgrade to version 3.9.10 (i do not downgrade hplip or cups only change the ppd file through cups web interface) The printer works prints correctly on both sides.

Maybe i am wrong but there may be a fault in the ppd file for the higher version that portage brought in and updated for me.
Think i was lucky to have had a back version form last year when i installed the driver.

Of course its not a proper fix seen as the higher version is the problem and having to downgrade to fix.

I have no idea how these files work as yet so i thought i would let you guys know see if you can chase down the error. Just sounds like a mistype in the code/script or something, not sure.

Reproducible: Always

Steps to Reproduce:
1.configure cups manually or by using hp-setup
2.Use the hplip ppd office_pro_l7600 model of ppd file from version 3.10.2 hplip
3.Enable auto duplex printing and print two pages the reverse page prints backwards.

Actual Results:
Reversed page on auto-duplex prints backwards text and page (mirrored)

Expected Results:
printed normally in the way we all read a document left to right top to bottom

using the cups config web UI and downgrading/changing the ppd file by modifying the printer and selecting a ppd file from the hplip 3.9.10 version located inside its folder under ppd hp-cups it works as expected.

Revision history for this message
In , Billie-gentoo (billie-gentoo) wrote :

Does one of the following bugs match your problem?

https://bugs.launchpad.net/hplip/+bug/426826
https://bugs.launchpad.net/hplip/+bug/475972
https://bugs.launchpad.net/hplip/+bug/173857
https://bugs.launchpad.net/hplip/+bug/421165

Also please do your own research at the upstream bug tracker in case I missed something. If hplip installs incorrect files there is not much we can do about it besides opening a bugreport directly at the hplip bugtracker. So please check if there is already an upstream bug and if nothing matches your issue open a bug there.

Revision history for this message
In , Pchrist (pchrist) wrote :

Can't you manually install the old ppd file to the new cups/hplip configuration? This can fix your problem for the time being.

Revision history for this message
In , Billie-gentoo (billie-gentoo) wrote :

f1r31c3r please can you check at hplips bugzilla if there is a bug matching your problem, especially those I have looked up for yo already.

Revision history for this message
In , Billie-gentoo (billie-gentoo) wrote :

What about 3.10.5?

Revision history for this message
In , fireicer (f1r31c3r) wrote :

(In reply to comment #4)
> What about 3.10.5?
>

Well I am glad this bug is still open.

after a recent emerge --sync and emerge --update world the portage tree pulled in a downgrade to 3.9.12 this ppd and driver seems to work well with cups with tweaking all be it(see bellow).

Now on the 3.9.12 version to print double sided for printing consisting of more than 10 or 20 pages(tested on a 300 page double sided print) it would not print with error messages from ghostscript
D [18/May/2010:14:43:33 +0100] [Job 120] GPL Ghostscript 8.71: Unrecoverable error, exit code 1
D [18/May/2010:14:43:33 +0100] [Job 120] prnt/hpcups/HPCupsFilter.cpp 505: cupsRasterOpen failed, fd = 0
D [18/May/2010:14:43:33 +0100] [Job 120] prnt/backend/hp.c 839: ERROR: null print job total=0
E [18/May/2010:14:43:33 +0100] PID 4650 (/usr/libexec/cups/filter/pstoraster) stopped with status 1!
E [18/May/2010:14:43:33 +0100] PID 4651 (/usr/libexec/cups/filter/hpcups) stopped with status 1!
.
I was not able to put my finger on it only by chanced guess, what solved this problem which maybe you might know was developing a classes device.

I used cups web interface and made a classes device for my printer, then sent the 300 page document to the classes from Adobe PDF reader and it printed fine.

As for version 3.10.5 and its ppd file i am not sure would you like me to unmask and emerge and try it?

Is it in the latest portage tree for me to unmask?

Revision history for this message
In , fireicer (f1r31c3r) wrote :

(In reply to comment #3)
> f1r31c3r please can you check at hplips bugzilla if there is a bug matching
> your problem, especially those I have looked up for yo already.
>

Hi eek sorry for delay in responding.

Yes i did a search i usually spend a good 20 min searching for a bug or pointing in the right direction before i post. I do miss posts sometimes and end up posting a bug which may duplicate but i am pretty sure in this case i was the only post for this error.
I checked the links you posted and none of them seemed to work so i just rolled back the ppd driver through the cups interface until my last emerge pulled in a downgrade to 3.9.12. This broke something else as mentioned in the latter post.

Obviously i think the error still exists to the original problem version maybe ill try the updated one see if its resolved.

Thank you you are a star and a gentlemen

Revision history for this message
In , Billie-gentoo (billie-gentoo) wrote :

(In reply to comment #5)
> As for version 3.10.5 and its ppd file i am not sure would you like me to
> unmask and emerge and try it?
>
> Is it in the latest portage tree for me to unmask?
>

It is in the portage tree and you need to unmask it. You should already have 3.10.2 unmasked though as it is also testing.

Revision history for this message
In , fireicer (f1r31c3r) wrote :

(In reply to comment #7)
> (In reply to comment #5)
> > As for version 3.10.5 and its ppd file i am not sure would you like me to
> > unmask and emerge and try it?
> >
> > Is it in the latest portage tree for me to unmask?
> >
>
> It is in the portage tree and you need to unmask it. You should already have
> 3.10.2 unmasked though as it is also testing.
>

Hi Daniel

I have emerged and tested the version 3.10.5 in regard to this bug and it seems the problem does not exist any more.

I have not looked into it closer but double sided printing from Open Office has stopped working with this version.
Irrelivant to this bug at present. I'll need test further for that other fault as it may just be a setting to blame.

3.10.5 seems to have corrected the problem that's what counts here so i guess this updated version solves the problem.

Thanks

Revision history for this message
In , fireicer (f1r31c3r) wrote :

I am re-opening this bug with the bug information required to fix.

I not sure if this is down to a large scale updating tool thats doing this or weather there is a procedure call in the source code that needs be found but the ppd file keeps getting changed in the newer distributions of hplip.

Cut to the chase.

hp-officejet_pro_l7600.ppd from version 3.10.9-11 compared against the hp-officejet_pro_l7600.ppd from version 3.9.10-72

6c6
< *FileVersion: "hpcups 3.10.9.11"
---
> *FileVersion: "hpcups 3.9.10.72"
17c17
< *NickName: "HP Officejet Pro l7600, hpcups 3.10.9.11"
---
> *NickName: "HP Officejet Pro l7600, hpcups 3.9.10.72"
293c293
< *OrderDependency: 10.0 AnySetup *Duplex
---
> *OrderDependency: 10.0 PageSetup *Duplex
381c381
< *% End of hp-officejet_pro_l7600.ppd, 24152 bytes.
---
> *% End of hp-officejet_pro_l7600.ppd, 24153 bytes.

Clearly shown above the one section regarding duplex is different instead of PageSetup it is AnySetup.

The AnySetup seems to cause the ppd printer config to print over text and messed up margins, strange artifacts etc on the second page and subsequent print pages.

If i modify the ppd file of version 3.10.9.11 changing AnySetup -> PageSetup the duplex printing works fine.

I have no idea how hplip development tree works so i presume this line as above is either change via a portage, source management tool or its just s simple typo. Worst case scenario is source code has an error that needs correcting to convert the cal PageSetup into AnySetup.

I have not dug deeper into the source so if any of you know why or can fix it permanently then hey please do as every update it seems to overwrite my ppd changes.

Revision history for this message
In , Billie-gentoo (billie-gentoo) wrote :

I don't think there is anything I can do about this. Would you care to open a bug about this issue at https://launchpad.net/hplip and the the link to the bug here.

Revision history for this message
In , fireicer (f1r31c3r) wrote :

(In reply to comment #10)
> I don't think there is anything I can do about this. Would you care to open a
> bug about this issue at https://launchpad.net/hplip and the the link to the bug
> here.
>

Thanks for reply i posted on the link provided and posted link to this thread:

https://bugs.launchpad.net/hplip/+bug/665967

tags: added: 3.10.9 buggy file for has hplip-3.10.2-r4 ppd re-occured
tags: added: duplex
removed: file for has re-occured
Changed in gentoo:
status: Unknown → Confirmed
Changed in gentoo:
importance: Unknown → Low
Changed in gentoo:
status: Confirmed → Unknown
Revision history for this message
In , Billie-gentoo (billie-gentoo) wrote :

Still a problem with hplip-3.12.2?

Revision history for this message
In , Billie-gentoo (billie-gentoo) wrote :

Any news here?

Revision history for this message
In , Billie-gentoo (billie-gentoo) wrote :

We are now at hplip-3.13.9. Is this still a problem?

Revision history for this message
Daniel Pielmeier (daniel-pielmeier) wrote :
Changed in hplip:
status: New → Fix Released
Changed in gentoo:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.