Bug 1257028

Summary: Can't print an envelope (Oki B4350)
Product: Red Hat Enterprise Linux 7 Reporter: Todd <ToddAndMargo>
Component: foomatic-dbAssignee: Zdenek Dohnal <zdohnal>
Status: CLOSED ERRATA QA Contact: Petr Sklenar <psklenar>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: jpopelka, psklenar, thozza, ToddAndMargo
Target Milestone: rcKeywords: FastFix, Patch
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: foomatic-db-4.0-41.20130911.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 22:17:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Proposed patch
none
ppd file for Okidata B4350 none

Description Todd 2015-08-26 06:30:21 UTC
Dear Red Hat,

I am coming from the community: Scientific Linux 7.1.

$ rpm -qa cups
cups-1.6.3-17.el7_1.1.x86_64

$ uname -r
3.10.0-229.11.1.el7.x86_64

Printer: Okidata B4350

I just upgraded to Scientific Linux 7.1 from SL 6.7 (total wipe and fresh install).

Now I can't print an envelope to my Oki B4350.  Paper size mismatch.  CUPS tells my printer that a #10 envelope (Monarch Envelope) is a B5 piece of paper.  overriding the prompt from my printer results in a ruined envelope.

This reproduces from Libre Office and Lotus Approach and Word Pro running under Wine Staging.

Many thanks,
-T

Comment 3 Todd 2015-08-26 22:16:09 UTC
Figured it out.  The ppd you include with CUPS for the Oki B4350 is a NIGHTMARE!

The current ppd for the Oki B4350 fixes the issue:
http://openprinting.org/ppd-o-matic.php?driver=ljet4&printer=Oki-B4350&show=1

Please correct your CUPS rpm to include the proper PPD.

Many thanks,
-T

Comment 4 Todd 2015-08-26 22:19:38 UTC
Here is the link to the Oki B4350 page:

http://openprinting.org/printer/Oki/Oki-B4350

Comment 7 Zdenek Dohnal 2016-10-21 12:07:08 UTC
Hi Todd,

if I fix this bug, would you mind testing it, if it works, please?

Comment 8 Todd 2016-10-21 18:53:10 UTC
Sure.  But there is really nothing to fix.  You just use the ppd from

http://openprinting.org/printer/Oki/Oki-B4350

and ditch the old, bad one

Comment 9 Zdenek Dohnal 2017-01-19 21:56:48 UTC
Todd, would you mind trying these rpms https://zdohnal.fedorapeople.org/.foomatic-db/ ?

Comment 10 Zdenek Dohnal 2017-01-19 21:57:52 UTC
Created attachment 1242617 [details]
Proposed patch

Comment 11 Todd 2017-01-20 19:20:32 UTC
Hi Zdenek,

"Foomatic" had nothing to do with problem.  It was the ppm that was seriously out-of-date.  After installing the current ppm and only the current ppm (nothing else), the problem was solved.  Foomatic never changed.

The problem is that your ppm's are way, way, seriously out-of-date.\

-T

Comment 12 Zdenek Dohnal 2017-01-23 09:01:32 UTC
Todd,

PPD for your printer is supposed to be shipped by foomatic-db package, so IMHO it is foomatic-db problem. Your "installing the current PPD" probably only overwrote ancient PPD shipped by foomatic-db - so my fix is that foomatic-db package will ship current PPD, which should work for you (that's why I asked you to test the package - better to be sure it is working), so you do not have to manually install current PPD.
So would you mind testing these rpms?

Comment 13 Todd 2017-01-23 09:03:22 UTC
Hi Zdenek,

No problem, but it may be a week or so till I get enough office time

-T

Comment 14 Todd 2017-02-06 23:03:17 UTC
Created attachment 1248224 [details]
ppd file for Okidata B4350

Hi Zdenek,

I downloaded "foomatic-db-4.0-40.20130911.el7.noarch.rpm" from pbone.net and took a look inside.  There is not a single ppd file included in the package.

I have attached my ppd for you to compare with yours.

-T

Comment 15 Zdenek Dohnal 2017-02-07 09:48:01 UTC
Todd,

would you mind downloading and testing rpms from this link https://zdohnal.fedorapeople.org/.foomatic-db/ ? Because rpms from different sources is meaningless for finding out if our rpms are working fine. And ppds are in foomatic-db-ppds subpackage, which should be installed with base foomatic-db package.

Comment 16 Todd 2017-02-23 23:12:40 UTC
Hi Zdenek,

The ppd inside:

foomatic-db-ppds-4.0-41.20130911.el7.noarch.rpm/usr/share/foomatic/db/source/PPD/Oki/ok4350u1.ppd.gz

Is identical to the one I downloaded from Open Printing:

http://openprinting.org/ppd-o-matic.php?driver=ljet4&printer=Oki-B4350&show=1


Thank you!

-T

Comment 21 errata-xmlrpc 2017-08-01 22:17:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:2028

Comment 22 Todd 2017-08-05 06:03:26 UTC
Thank you!