Opened 3 months ago

Last modified 5 weeks ago

#30 new defect

CUPS wizard doesn't parse localhost CUPS printer list

Reported by: ydario Owned by:
Priority: Feedback Pending Milestone:
Component: wizzard Version:
Severity: high Keywords:


When selecting 'Existing CUPS printer' in the 'Network printer' dialog, I see code invokes

lpstat -h localhost -p -c

to get printer list: this list is showed using current NLS settings, so 'printer' word is not present:

E:\>lpstat -h localhost -p -c la stampante Cups-PDF è inattiva. è stata abilitata da mer 12 dic 17.08.53 2018

Setting 'LANG=en' before starting cupswiz from command line works.

Change History (2)

comment:1 Changed 2 months ago by lewisr

These localized strings are stored in %UNIXROOT%\usr\share\locale\XX\cups_XX.po. The format of a .po file is fairly straightforward, so selecting the right string to match from that shouldn't be too difficult. If the .po file for the given LANG is missing, CUPS and friends fall back to EN, anyway.

comment:2 Changed 5 weeks ago by diver

  • Priority changed from major to Feedback Pending

this would be a task for Alex to add right? Any work done on it?

Note: See TracTickets for help on using tickets.