Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 315381 - net-print/hplip-3.10.2-r4 has buggy ppd file re-opened for 3.10.9
Summary: net-print/hplip-3.10.2-r4 has buggy ppd file re-opened for 3.10.9
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Daniel Pielmeier
URL:
Whiteboard: tracking upstream
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-15 04:33 UTC by f1r31c3r
Modified: 2013-10-18 05:50 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description f1r31c3r 2010-04-15 04:33:53 UTC
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.
Comment 1 Daniel Pielmeier gentoo-dev 2010-04-15 19:45:56 UTC
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.
Comment 2 Panagiotis Christopoulos (RETIRED) gentoo-dev 2010-04-19 06:42:30 UTC
Can't you manually install the old ppd file to the new cups/hplip configuration? This can fix your problem for the time being.
Comment 3 Daniel Pielmeier gentoo-dev 2010-05-15 22:42:08 UTC
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.
Comment 4 Daniel Pielmeier gentoo-dev 2010-05-22 17:55:01 UTC
What about 3.10.5?
Comment 5 f1r31c3r 2010-05-22 19:41:13 UTC
(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?
Comment 6 f1r31c3r 2010-05-22 19:49:43 UTC
(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
Comment 7 Daniel Pielmeier gentoo-dev 2010-05-22 20:01:47 UTC
(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.
Comment 8 f1r31c3r 2010-05-27 09:36:06 UTC
(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

Comment 9 f1r31c3r 2010-10-24 16:12:48 UTC
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.
Comment 10 Daniel Pielmeier gentoo-dev 2010-10-24 16:58:09 UTC
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.
Comment 11 f1r31c3r 2010-10-24 17:13:58 UTC
(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
Comment 12 Daniel Pielmeier gentoo-dev 2012-02-07 20:06:38 UTC
Still a problem with hplip-3.12.2?
Comment 13 Daniel Pielmeier gentoo-dev 2012-11-13 19:18:58 UTC
Any news here?
Comment 14 Daniel Pielmeier gentoo-dev 2013-10-13 15:53:23 UTC
We are now at hplip-3.13.9. Is this still a problem?