Bug 856796 - printer setup via yast2: no drivers shown
Summary: printer setup via yast2: no drivers shown
Status: RESOLVED DUPLICATE of bug 727911
Alias: None
Product: openSUSE 13.1
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Final
Hardware: All openSUSE 13.1
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Johannes Meixner
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-25 17:04 UTC by Axel Braun
Modified: 2014-01-21 08:44 UTC (History)
0 users

See Also:
Found By: Community User
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
screenshot of printer dialog (457.68 KB, image/png)
2014-01-12 13:58 UTC, Axel Braun
Details
screenshot: driver package (370.26 KB, image/png)
2014-01-18 08:08 UTC, Axel Braun
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Braun 2013-12-25 17:04:25 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0

For whatever reason...printer configuration in Yast is a nightmare since ages.

Reproducible: Always

Steps to Reproduce:
1. Select printing via network and enter ipp: data
2. Check connection to print server: Connection OK
3. Enter HP as printer manufacturer
4. Try to find a printer driver: You can enter any search string or leave it blank, no printer driver is found
5. you cant finalize the printer configuration
Actual Results:  
No printer drivers displayed, although all required packages are installed


Expected Results:  
I just want a postscript printer driver......
Comment 1 Johannes Meixner 2014-01-07 14:00:21 UTC
http://en.opensuse.org/SDB:How_to_Report_a_Printing_Issue
Comment 2 Axel Braun 2014-01-12 13:57:51 UTC
> Always tell the openSUSE version

openSUSE 13.1

> Always tell the exact printer model name

HP Color Laserjet 2550L

> Always tell how the printer is connected 

Via network, see 1.)above

> Always tell which printer driver is used

Generic postscript level 2 printer driver should be used. Bus as described above, no printer drivers were listed.

> Which printer setup tool are you using? 
YaST 2 printer tool, as written above


I solved teh setup-problem by copying the /etc/cups tree from another openSUSE laptop. But in fact this does not solve the malfunction of the YaST2 Printer setup. The attached screenshot shows that - beside the existing driver - it does not show any drivers at all when searching for postscript
Comment 3 Axel Braun 2014-01-12 13:58:36 UTC
Created attachment 574102 [details]
screenshot of printer dialog
Comment 4 Johannes Meixner 2014-01-14 09:26:58 UTC
For me it works.

When I enter HP as printer manufacturer, I get very many drivers
where the driver description matches "hp"
(in particular all drivers for HP printers).

When I enter "postscript", I get very many drivers
where the driver description matches "postscript".

When I enter "hp postscript", I get many drivers
where the driver description matches "hp" and "postscript"
(basically all drivers for HP PostScript printers
in particular for the "HP Color Laserjet 2550").

Perhaps you do not have the various RPM packages installed
that provide all the various kind of drivers, see
http://en.opensuse.org/YaST_Printer#Driver
and "openSUSE printer driver software packages" at
http://en.opensuse.org/Concepts_printing

When you have openSUSE printer driver software packages installed
then YaST basically shows what the CUPS command "lpinfo -m" shows.

Does "lpinfo -m" (run it as root) show very many driver descriptions?
Comment 5 Axel Braun 2014-01-18 08:08:08 UTC
(In reply to comment #4)

> When you have openSUSE printer driver software packages installed
> then YaST basically shows what the CUPS command "lpinfo -m" shows.

I did a zypper dup from 12.3, so whatever is installed in standard should be installed
 
> Does "lpinfo -m" (run it as root) show very many driver descriptions?

Not really:
Z60:~ # lpinfo -m
lpinfo: Success
Z60:~ # 

On the other other hand, the YaST driver package installation claims to have everything installed (see screenshot)
Comment 6 Axel Braun 2014-01-18 08:08:48 UTC
Created attachment 574860 [details]
screenshot: driver package
Comment 7 Johannes Meixner 2014-01-21 08:44:19 UTC
When "lpinfo -m" results only "lpinfo: Success"
but no printer driver descriptions are shown,
it is bnc#727911

It seems it only happens on a few machines
and/or under a few special circumstances.

"Something" in CUPS causes it but it is currently unknown
what exactly causes it so that it cannot be fixed.

The current workaround is to retry "lpinfo -m" (as root)
until it actually shows printer driver descriptions.

Then also YaST will show the printer driver descriptions.

*** This bug has been marked as a duplicate of bug 727911 ***