Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language Setting for lpstat #61

Open
octomike opened this issue Dec 10, 2015 · 1 comment
Open

Language Setting for lpstat #61

octomike opened this issue Dec 10, 2015 · 1 comment

Comments

@octomike
Copy link

We see a bug with this great module on MacOSX 10.11 systems that do not have English set as their main language. The reason is that the output of lpstat is localized. A stackexchange article directed us to unset the SOFTWARE environment variable and a first quick fix in provider/default_printer/cups.rb seems to work but is probably not the way this should be solved. I can PR the dirty "fix" if you want me to.

[1]
http://unix.stackexchange.com/questions/33833/lpstat-and-localization-under-mac-os-x

@mosen
Copy link
Owner

mosen commented Dec 18, 2015

Hey there,
Someone submitted an earlier fix using $LANG, but I found exactly the same problem in your linked stackexchange question. I guess SOFTWARE= will be required as a dirty hack for the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants