LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-09-2013, 07:22 PM   #1
integrale16
Member
 
Registered: Sep 2009
Posts: 56

Rep: Reputation: 15
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?

--
integrale16
 
Old 03-10-2013, 05:27 AM   #2
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Slackware 14.0, Slackware 14.1, Slackware-current
Posts: 306

Rep: Reputation: 33
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.
 
Old 03-10-2013, 11:44 AM   #3
integrale16
Member
 
Registered: Sep 2009
Posts: 56

Original Poster
Rep: Reputation: 15
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?
 
Old 03-10-2013, 12:29 PM   #4
dwblas
Member
 
Registered: Jun 2011
Posts: 87

Rep: Reputation: Disabled
Check the locale setting under Tools, Options, Language Settings. You have to have it set to what ever character set you want to use.
 
Old 03-10-2013, 12:58 PM   #5
integrale16
Member
 
Registered: Sep 2009
Posts: 56

Original Poster
Rep: Reputation: 15
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.

I have still no idea what the problem is.
 
Old 03-10-2013, 04:35 PM   #6
ljb643
Member
 
Registered: Nov 2003
Posts: 526

Rep: Reputation: Disabled
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?)
 
Old 03-10-2013, 09:40 PM   #7
integrale16
Member
 
Registered: Sep 2009
Posts: 56

Original Poster
Rep: Reputation: 15
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.
 
  


Reply

Tags
libreoffice, print, printing


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Find/grep command to find matching files, print filename, then print matching content stefanlasiewski Programming 9 06-30-2016 05:30 PM
Filename completion in a specific directory for a specific command using tcsh Leo Simon Linux - Software 3 12-29-2012 10:44 AM
How to delete all files with specific word in filename? moviecarpet Programming 13 05-26-2011 08:44 AM
[SOLVED] Amarok doesn't play files with umlauts in the filename (locale problem?) P42 Slackware 9 01-10-2011 06:38 PM
Find/grep/wc command to find matching files, print filename and word count dbasch Linux - Newbie 10 09-14-2009 05:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration