Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 407833 - app-office/libreoffice - --without-ppds causes printing problems
Summary: app-office/libreoffice - --without-ppds causes printing problems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-11 17:56 UTC by Eugeny Shkrigunov
Modified: 2012-03-31 05:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
loprint.png (loprint.png,168.21 KB, image/png)
2012-03-14 10:44 UTC, Tomáš Chvátal (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eugeny Shkrigunov 2012-03-11 17:56:26 UTC
Hi!
Sorry for my English.
LibreOffice built with the option --without-ppds not working as it should - there are a variety of strange problems:
File -> Print: "No default printer found" regardless of the selected default printer.
/usr/lib{,64}/libreoffice/program/spadmin: "No printers can be installed, because the filesystem is read-only" - it is not possible to save the settings of printers.
The problem is the absence of files SGENPRT.PS, SGENT42.PS in the directory /usr/lib{,64}/libreoffice/basis3.4/share/psprint/driver (libreoffice-3.4)
/usr/lib{,64}/libreoffice/share/psprint/driver (libreoffice-3.5)
Adding these files eliminates the above problems. As I understand it, these files are missing due to option --without-ppds in configure.


Reproducible: Always
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2012-03-14 10:44:02 UTC
Created attachment 305291 [details]
loprint.png

Uhh, why would you want to use the lo internal printer configurator when you should have your printers set-up in cups thus working for whole system.

see attached image for how it looks when it loads the info from running cups.
Comment 2 Eugeny Shkrigunov 2012-03-14 17:17:47 UTC
spadmin does not save printer settings (PostScript level, print quality, paper size, etc.).
How to print PostScript instead of the default PDF? LibreOffice ignores settings from psprint.conf in the absence of SGENPRT.PS, SGENT42.PS.
How about an error message every time you print: "No default printer found"?
At least, this parameter has to be used with the USE-flag (f.e. "ppds").
Comment 3 Eugeny Shkrigunov 2012-03-14 17:43:08 UTC
And yes, we have hundreds of printers and hundreds of users with different requirements for these printers: we can't satisfy all of the settings in CUPS. As with printing PDF files from LibreOffice to CUPS-1.4 has a lot of problems (orientation, borders size, multiple copies, etc.), the first recommendation with which the user faced in the search on the internet is to configure printing to PostScript using spadmin (which failed). With the option --without-ppds they have to do this after every restart LibreOffice.
Comment 4 Eugeny Shkrigunov 2012-03-27 12:31:09 UTC
Are there any news?
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2012-03-30 13:20:04 UTC
Fixed in 3.5.2.2 and later.

Lets just copy those two files as it does not matter for most users because they will be using cups anyway.
Comment 6 Eugeny Shkrigunov 2012-03-31 05:07:05 UTC
Thank you.