First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 89886
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Printing Team <printing@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Daniel Kasak <dkasak@nusconsulting.com.au>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
enable_network_printer_options.patch Re-enable printing options in CUPS printers shared via IPP browsing patch Daniel Kasak 2005-05-04 21:14 0000 591 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 89886 depends on: Show dependency tree
Bug 89886 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-04-20 21:33 0000
The bug is basically described at
http://bugzilla.gnome.org/show_bug.cgi?id=170753

It is currently not fixed, and I'm not confident that it will be fixed in the
near future. A workaround ( or possible fix ) is posted part-way down the page,
which I'll repeat here:

recompile libgnomecups with 
go_directly_to_printer_when_possible = TRUE;
set in libgnomecups/gnome-cups-printer.c

I have no idea how to do this, so I'm instead posting this bug report in the
hope that the above is included in the ebuild until it's fixed upstream.

Reproducible: Always
Steps to Reproduce:
1. Upgrade to libgnomeprint 2.8 or greater
2. Open any gnome application that uses libgnomeprint to print
3. Select a CUPS printer shared via IPP browsing
4. In the dialog, choose the 'paper' tab, and inspect the ( lack of ) paper
tray options.

Actual Results:  
Paper tray options combo box says:
no options are defined

Expected Results:  
Paper tray option combo box should list paper tray options from CUPS-provided
PPD ( eg Tray 1, Tray 2, etc ).

If I downgrade to libgnomeprint and libgnomeprintui version 2.6.x, I get the
paper tray options back. These are *essential* to our desktop use.

------- Comment #1 From foser (RETIRED) 2005-04-24 14:40:01 0000 -------
printing guys could you check this out ?

I'm not in a position where I can even reproduce this stuff.

------- Comment #2 From Daniel Kasak 2005-05-04 21:14:19 0000 -------
Created an attachment (id=58097) [edit]
Re-enable printing options in CUPS printers shared via IPP browsing

This patch re-enables printing options for us. I of course think this is grand
:)

A note just above the section that I patched in the source says:

/* JEG
 * Disable this for now.  The default SuSE network config does not
 * produce a resolvable hostname for the localhost and cups has a bug
 * that will produce an infinite loop when presented with an invalid
 * hostname.  This will also produce a hang if the remote printer is
 * unavailable and we do a syncronous lookup. */

I don't quite understand what sort of issues this could cause if the 'remote
printer is unavailable and we do a syncronous lookup'. I will report back if I
experience any problems.

------- Comment #3 From Luis Medinas (RETIRED) 2005-08-02 10:53:02 0000 -------
did you continue to have this problems Daniel ? The patch listed here works
fine
for you ? 

------- Comment #4 From Daniel Kasak 2005-08-02 15:06:57 0000 -------
Yes the patch works for me.
I am by no means a C programmer, and have no idea what effects it would have on
other people's systems. In particular, the comment:

/* JEG
 * Disable this for now.  The default SuSE network config does not
 * produce a resolvable hostname for the localhost and cups has a bug
 * that will produce an infinite loop when presented with an invalid
 * hostname.  This will also produce a hang if the remote printer is
 * unavailable and we do a syncronous lookup. */

sounds a little unfortunate for SuSE users. Either way, it fixes the issue on my
system; all paper options are available on network CUPS printers with the patch
applied. I haven't had any issues myself, nor have I had any reports of problems
from users ( 5 users on our network using Gentoo ).

------- Comment #5 From Luis Medinas (RETIRED) 2005-08-04 11:41:34 0000 -------
libgnomecups-0.2.0-r1 with the new patch is in cvs. Thanks and sorry for the
delay.

First Last Prev Next    No search results available      Search page      Enter new bug