Bug 474742

Summary: CUPS not selecting paper trays / envelope feeder.
Product: [Fedora] Fedora Reporter: Simon Slater <pyevet>
Component: cupsAssignee: Tim Waugh <twaugh>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 8CC: pyevet, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-12-11 08:03:57 UTC Type: ---
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
The PPD file being used none

Description Simon Slater 2008-12-05 04:27:04 UTC
Description of problem:
When using OOWriter to print via cups to Lexmark Optra S 1255 with multiple trays, duplexer and envelope feeder.  Print jobs containing an envelope and single page print as: both on paper OR both on envelopes rather than 1 envelope and 1 page.  Selection of Tray1, 2 or 3 works as usual.

Version-Release number of selected component (if applicable):
cups-1.3.9-1.fc8

How reproducible:
Every attempt.

Steps to Reproduce:
1.Create document with envelope setting appropriate envelope / paper sizes
2.Insert text
3.Send to print
  
Actual results:
Text on envelope and in document printed with correct page breaks, but all from same media source.

Expected results:
Envelope from envelope feeder and paper from appropriate tray.

Additional info:

Comment 1 Tim Waugh 2008-12-05 11:49:08 UTC
Please try this test package, just built:

http://koji.fedoraproject.org/koji/taskinfo?taskID=980974

It contains a small fix that I think might help.

Comment 2 Tim Waugh 2008-12-05 11:52:14 UTC
Oh, your architecture is i386.  These are the packages you need then:

http://koji.fedoraproject.org/koji/taskinfo?taskID=980978

Comment 3 Simon Slater 2008-12-06 11:01:10 UTC
Bear with me since I've never been involved in this process before.  I installed the cups and cups-libs rpms.  The media selected by the printer for the envelope is whatever is set on the printer as default.  The media selected by the printer for the paper is according to the page size set by the page style, so works correctly.

Comment 4 Tim Waugh 2008-12-07 15:44:41 UTC
Yes.  That's the behaviour I see here as well.  The OpenOffice.org output only seems to include a '%%IncludeFeature' line for one of the two input slots I have on a test printer here.

So the (CUPS part of the) problem is fixed with those packages?

Comment 5 Simon Slater 2008-12-08 00:01:57 UTC
I don't think so.

Just tried KWrite to see what happens:
From print dialogue, printer properties:
-select A4 paper, takes media from tray3  -  correct.
-select A5 paper, takes media from tray2  -  correct,
-select envelope but media is paper from default tray, not envelope feeder.

How else can I check?

Comment 6 Tim Waugh 2008-12-08 11:41:43 UTC
Could you attach your PPD please?

Comment 7 Simon Slater 2008-12-08 21:56:18 UTC
Created attachment 326208 [details]
The PPD file being used

I think this is what you want.

Comment 8 Tim Waugh 2008-12-09 12:22:07 UTC
All seems to be working from the point of view of printing from OpenOffice.org.  The output I get after CUPS filters includes all the expected /MediaPosition settings.

If selecting a media type from the kwrite printer dialog is not working, that is some other bug (in whichever KDE application is responsible for that).

Comment 9 Fedora Update System 2008-12-09 12:34:04 UTC
cups-1.3.9-3.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/cups-1.3.9-3.fc9

Comment 10 Fedora Update System 2008-12-09 12:34:51 UTC
cups-1.3.9-6.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/cups-1.3.9-6.fc10

Comment 11 Simon Slater 2008-12-09 21:40:26 UTC
(In reply to comment #8)
> All seems to be working from the point of view of printing from OpenOffice.org.
>  The output I get after CUPS filters includes all the expected /MediaPosition
> settings.
> 
> If selecting a media type from the kwrite printer dialog is not working, that
> is some other bug (in whichever KDE application is responsible for that).

After your request for the ppd file I thought I'd have a look myself.  In the InputSlot/Media section there are no lines for the Envelope feeder.  If I add to this will cups object?  Other than restarting cups are there any other steps?  I've downloaded the ppd specs but haven't read them yet.

Comment 12 Fedora Update System 2008-12-10 04:38:55 UTC
cups-1.3.9-6.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update cups'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2008-11118

Comment 13 Fedora Update System 2008-12-10 04:39:27 UTC
cups-1.3.9-3.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing-newkey update cups'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-11125

Comment 14 Fedora Update System 2008-12-11 08:03:51 UTC
cups-1.3.9-3.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2008-12-11 08:06:22 UTC
cups-1.3.9-6.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.