[SOLVED] Libreoffice doesn't print files with language specific charakters in filename
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Libreoffice doesn't print files with language specific charakters in filename
Hi,
I set up a box with Slackware64 14.0 with all updates until now. I also installed AlienBobs Libreoffice 4.0.1 packages.
My problem is now that Libreoffice does not print any file (I tried only .odt so far) which has a language specific (German) character in the filename.
I can open, modify and save the file and I can export it to pdf.
But if I try to print it, nothing happens, not even an error message occurs (also no console output if I start it from a terminal).
If I open the file with Calligra I can print it without any problem. Also if I export it to pdf with the same filename I can print it with Okular.
If I rename the file so that there is no language specific (German) character then I can print the file with Libreoffice, too.
Has anyone an idea what could be the problem here?
May or may not be related but I had a similar problem with names of font files/folders. I installed a number of fonts in /usr/local/share/fonts and fixed a /etc/fonts/local.conf to tell fc-cache to look additionally in this folder for fonts. I found that fc-cache found all the fonts except the ones that were in a folder named including accented character. This one folder was ignored. I renamed the folder to use only regular 7-bit ascii characters and everything worked fine. Looks as though something along the way does not recognise unicode characters - not sure exactly where the fault lies.
Thanks for your answer, but I'm not sure if this is related to my problem.
The weird thing is, that it seems that only Libreoffice has a problem with the filenames if I try to print it. Other activities like open, modify, save work as expected.
At my other box with Slackware64 13.37 and AlienBobs Libreoffice 3.5.4 this problem does not exist.
Does Libreoffice use another way to print or another command or interface than other programs?
The language settings in Libreoffice are set to German.
And the language specific characters like ä, ö, ü are printed correctly, if the document is printed.
The problem is, that the documents with a language specific characters in the filename (not in the text) does not get printed by Libreoffice. If I rename it, so that there is no special character left in the filename, Libreoffice prints it without any problem.
I could verify the behavior with another user account and another Display Manager (Fluxbox).
My LANG variable in /etc/profile.d/lang.sh is set to de_DE@euro.
And i have tried it with setting LANG=C in a terminal and starting Libreoffice from within the terminal. Libreoffice then showed up with menus in english then (as expected) but the behavior regarding the printing was the same.
Have you tried print-to-file from Libreoffice? This might help narrow it down, by eliminating CUPS from the process. (I assume you are using CUPS as your printing system. Did you check your CUPS log files to see if it got the document that failed to print?)
lib643, thanks for your hint.
Seems that there was some problem with the printer setup.
First time I set up the printer with HP Device manager.
This time I set the printer up over the CUPS webadmin (localhost:631).
Now I can print files with special characters in filename out of Libreoffice.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.