Bug 419855

Summary: Installation of network printer fails in YaST2 - interface problem with CUPS?
Product: [openSUSE] openSUSE 11.0 Reporter: Forgotten User 7Vd19u3Vod <forgotten_7Vd19u3Vod>
Component: YaST2Assignee: E-mail List <bnc-team-screening>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.0   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Output from save_y2logs

Description Forgotten User 7Vd19u3Vod 2008-08-23 19:40:42 UTC
Created attachment 235112 [details]
Output from save_y2logs

OpenSuse 11.0 final
Installed from Installation DVD, latest updates from repository
Arch: x86_64
Printer: HP LaserJet 5L on Micronet print server
Desktop: kde4 (German)

Overview:
Since my new system does not have a parallel port any more I bought a simple print server to connect my parallel port HP LaserJet 5L directly to my home network. I'm trying to install with YaST my printer for direct-local-network printing. This worked perfectly for my old openSuSE 10.3 systems. However, it does not work on my new 64bit system with openSuSE 11.0. The Yast
Printer-Configuration-Manager  seems to work fine until I try to print a test page or to save the configuration. Then I get always a message window with the text: "cups(File) DoRequest error: client-error-bad-request". Printer does NOT get installed.


Steps To Reproduce:
- Click 'Printer' in YaST Control Center (i'm using kde4 desktop)
- Select 'Pritners and Queues', click 'Add'
- Select 'Network Printers'
- Select 'Print directly to a network printer'
- Select 'Direct TCP Port Printing'
- In 'Hostname of Printer', I typed the IP address ( No local DNS right now).
- Click 'Test Remote Socket Access' 
==> Returns "The Print Server Is Accessible"
==> The print servers LCD lights up and displays "receiving data", as expected.

- (click 'Next' again)
- "Queue Name", filled in printer name and information. Then click 'Next'. 

- "Printer Queue Edit Dialog"
-  Filled in necessary information, i.e. printer model and driver option

- (click 'Next' again)
-  printer appears as configured in the list on the main printer configuration panel
- select the configured printer and click on "Print Test Page" ==> a window with the error message "cups(File) DoRequest error: client-error-bad-request" pos up. Nothing get printed.

- (click on 'Finish')
- Pop-up window "initialising cups server"
- a few second later pop-up window with "cups(File) DoRequest error: client-error-bad-request"

Printer gets not installed.

I got the printer finally to work by brute force copying the /etc/cups directory from my old 10.3 system over /etc/cups on my new computer.
However, the printers are not visible in YaST and cannot be administered there, e.g. e.g to change driver options.
Comment 1 Forgotten User 7Vd19u3Vod 2008-08-27 19:47:23 UTC
Problem solved:

The root cause was that I had copied my user environment from my previous system - including .profile setting the locale. Using the standard .profile of the distribution with
export LANG=de_DE.UTF-8
makes the problem disappear (I should have read the release notes more carefully).
Printer administration with YaST works now.