Red Hat Bugzilla – Bug 1257028
Can't print an envelope (Oki B4350)
Last modified: 2017-08-05 02:03:26 EDT
Dear Red Hat,
I am coming from the community: Scientific Linux 7.1.
$ rpm -qa cups
$ uname -r
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.
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:
Please correct your CUPS rpm to include the proper PPD.
Here is the link to the Oki B4350 page:
if I fix this bug, would you mind testing it, if it works, please?
Sure. But there is really nothing to fix. You just use the ppd from
and ditch the old, bad one
Todd, would you mind trying these rpms https://zdohnal.fedorapeople.org/.foomatic-db/ ?
Created attachment 1242617 [details]
"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.\
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?
No problem, but it may be a week or so till I get enough office time
Created attachment 1248224 [details]
ppd file for Okidata B4350
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.
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.
The ppd inside:
Is identical to the one I downloaded from Open Printing:
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.