After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 170753 - Printing: 'no paper options are defined' after upgrade to gnome
Printing: 'no paper options are defined' after upgrade to gnome
Status: RESOLVED OBSOLETE
Product: gnome-print
Classification: Deprecated
Component: general
unspecified
Other All
: Normal critical
: ---
Assigned To: Jody Goldberg
Jody Goldberg
: 319271 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-03-18 04:30 UTC by Daniel Kasak
Modified: 2009-11-27 05:14 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8



Description Daniel Kasak 2005-03-18 04:30:11 UTC
Please describe the problem:
Until recently, I have been able to select a paper tray for print jobs, from the
gnome printing dialog. For example, we produce PDF reports which I open in gpdf,
and print them to tray 1 ( default is tray 2 ).

After upgrading *something* ( sorry - I use Gentoo and I upgrade a fair bit ),
every application which uses the gnome printing dialog now has the text 'no
options are defined' in place of the usual list of 'paper tray' options.

Steps to reproduce:
1. Upgrade to the latest version of Gnome & libraries.
2. Open an application that uses the gnome printing libraries ( eg the gnome
text editor, or gpdf )
3. Press 'File ==> Print'
4. In the dialog that appears, click the 'paper' tab, and inspect the 'paper
tray' options.

Actual results:
The paper tray options displays "no options are defined".

Expected results:
The combo box should list the trays available according to the CUPS definition (
in my case, Tray 1, Tray 2 ).

Does this happen every time?
Yes.

Other information:
Everything was working under Gnome-2.8.2.
Comment 1 Andreas J. Guelzow 2005-03-29 00:36:55 UTC
Which version of libgnomeprint are you using. The newest version has problems
with printers obtained through broad casting.
Comment 2 Daniel Kasak 2005-03-29 00:54:35 UTC
Thanks for the comment.

I'm using libgnomeprint-2.8.2.
I will now test with prior versions and report back.
Comment 3 Daniel Kasak 2005-03-29 01:35:00 UTC
All of the 2.8.x versions have the same problem.

Reverting to libgnomeprint ( and libgnomeprintui ) 2.6.2 seems to have given us
back our functionality :)

This will do for now. I'm more than willing to help with testing any proposed
solutions to get it working under 2.8.x.
Comment 4 Andreas J. Guelzow 2005-03-29 05:25:48 UTC
In the most recent version we lost all our broadcast printers. We got them back
by recompiling libgnomecups with 
go_directly_to_printer_when_possible = TRUE;
set in libgnomecups/gnome-cups-printer.c

I don't know whether that will help you.

In any case, Your problem is a major issue, so I am raising the severity level.
Comment 5 Daniel Kasak 2005-04-19 01:47:49 UTC
I've just tested with gnome-2.10 ( libgnomeprint-2.10.3 and
libgnomeprintui-2.10.2 ) and this version contains the same bug.
Comment 6 Daniel Kasak 2005-05-04 05:43:39 UTC
Any news?
The version number keeps going up, but the bug remains...
Comment 7 Andreas J. Guelzow 2005-05-04 06:10:04 UTC
It seems that nobody else can replicate your problem (you do see the problem
with go_directly_to_printer_when_possible = TRUE; I assume), so chances that it
will be fixed any time soon are imho slim.
Comment 8 Daniel Kasak 2005-05-04 06:17:25 UTC
I have no idea what to do with "go_directly_to_printer_when_possible = TRUE". I
assume I have to edit the source code of something and recompile? That's the
impression that I got from a previous post, but it had no-where near enough
detail for me to do anything with it.
Comment 9 Andreas J. Guelzow 2005-05-04 06:29:04 UTC
In the source for libgnomecups find the file libgnomecups/gnome-cups-printer.c.

In it there is a line 
go_directly_to_printer_when_possible = FALSE;
change that line to
go_directly_to_printer_when_possible = TRUE;

compile and install libgnomecups and see what happens.
Comment 10 Daniel Kasak 2005-05-05 04:07:42 UTC
Many thanks :)
That's fixed it for now.

There's a comment just above this line in the source that says "disable for
now". So I assume that later down the track, this will be enabled by default? Or
is something else planned? I only ask because the option of selecting paper
trays is quite important to us, and if I'm going to have to deal with it
breaking again, I might as well know now so I can look into other options.
Comment 11 Andreas J. Guelzow 2005-05-05 05:32:21 UTC
With "=FALSE" we can't even print properly. so I share your hope that it will be
changed again. 
Comment 12 Nickolay V. Shmyrev 2005-10-20 04:11:59 UTC
*** Bug 319271 has been marked as a duplicate of this bug. ***
Comment 13 André Klapper 2009-08-11 20:08:39 UTC
Which exact GNOME version and distribution is this about?
Is this still an issue in GNOME 2.24/2.26?

Note that gnome-print has been deprecated and superseded by GTK+ printing functionality since GNOME 2.16. This means that gnome-print is NOT actively maintained anymore.

If your reported issue is still valid for GTK+ printing, please feel free to file a bug report against gtk+/printing.
Comment 14 Akhil Laddha 2009-11-27 05:14:11 UTC
Closing this bug report as no further information has been provided. Please 
feel free to reopen the bug if the problem still occurs with a newer
version of GNOME 2.28.1 or later, thanks.