libreoffice-5.2.7.2 [Solved]

Discussion in general that pertains to Sabayon Linux - Must Pertain to Sabayon Linux

Moderator: Moderators

Post Reply
redwood
Young Hen
Posts: 25
Joined: Sat Jan 25, 2014 19:20

libreoffice-5.2.7.2 [Solved]

Post by redwood » Mon Jul 10, 2017 22:53

After latest uprade to libreoffice-5.2.7.2 all system (cups) printers are missing. libreoffice only shows a generic printer and doesn't offer any means of adding new/discovering printers.


Did a little googling and found a similar problem with Ubuntu. (https://ubuntuforums.org/showthread.php?t=2355393)

Their solution was:

Code: Select all

sudo snap connect libreoffice:cups-control :cups-control
Anyone else run into this problem of Sabayon and any solution?

Thanks

Fitzcarraldo
Sagely Hen
Posts: 8200
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: libreoffice-5.2.7.2

Post by Fitzcarraldo » Mon Jul 10, 2017 23:58

SL doesn't use the Snappy package manager, so the 'solution' you posted from that Ubuntu Forums thread is not relevant. Your problem looks to me like it could be due to a bug in the current version of CUPS (2.2.4) available in SL: 2.2.4 breaks printing from Qt applications #5046.

Are you using KDE? Do you have a default printer assigned in the CUPS Printer Manager (http://localhost:631/)? If not, set a default printer in the CUPS Printer Manager and see if that helps.

redwood
Young Hen
Posts: 25
Joined: Sat Jan 25, 2014 19:20

Re: libreoffice-5.2.7.2

Post by redwood » Tue Jul 11, 2017 15:10

Thanks.

Code: Select all

lpstat -p
shows that there is a default printer and it's enabled but it still doesn't show up in libreoffice, just the "generic" printer which is useless for printing.

I am running KDE. I don't see any configuration option in KDE for printers (there used to be such an icon in the systemsettings program).

Fitzcarraldo
Sagely Hen
Posts: 8200
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: libreoffice-5.2.7.2

Post by Fitzcarraldo » Tue Jul 11, 2017 17:37

The command 'lpstat -p' does not show the default printer. The command 'lpstat -d' shows the default printer:

Code: Select all

$ lpstat -p
printer Canon_MG6100_series is idle.  enabled since Thu 22 Oct 2015 16:39:35 BST
printer Canon_MP510_Printer is idle.  enabled since Thu 22 Oct 2015 16:38:36 BST
printer Canon_MP560_Printer is idle.  enabled since Mon 03 Apr 2017 11:07:33 BST
printer Canon_MP560_WiFi is idle.  enabled since Mon 21 Mar 2016 10:59:21 GMT
printer HP_CLJ_5550 is idle.  enabled since Tue 21 Jun 2016 13:52:06 BST
printer Samsung_MultiXpress_C9352_01 is idle.  enabled since Mon 07 Dec 2015 11:37:32 GMT
printer Samsung_MultiXpress_C9352_02 is idle.  enabled since Mon 18 Apr 2016 11:03:11 BST
printer Samsung_Xpress_C460FW is idle.  enabled since Thu 23 Jun 2016 07:37:44 BST
printer Samsung_Xpress_C460FW_WiFi_Direct is idle.  enabled since Thu 03 Mar 2016 07:30:37 GMT
printer Virtual_PDF_Printer is idle.  enabled since Thu 15 Dec 2016 07:44:32 GMT
$ lpstat -d
system default destination: Canon_MP560_Printer
'Printers' is under the 'Hardware' section in KDE Plasma 5 'System Settings'. If you're not seeing a 'Printers' entry in 'System Settings', something must be wrong with your installation. Try making sure you have a sane installation by using the following commands as root user:

Code: Select all

# equo update # Make sure you have the latest list of packages.
# equo upgrade # Upgrade all installed packages to the latest available versions.
# equo conf update # Make sure all configuration files are up to date.
# equo deptest # Check, and if necessary fix, all installed dependencies.
# equo libtest # Check, and if necessary fix, all installed libraries.

redwood
Young Hen
Posts: 25
Joined: Sat Jan 25, 2014 19:20

Re: libreoffice-5.2.7.2

Post by redwood » Wed Jul 12, 2017 0:45

Thanks, Got it figured out finally.

I ran your suggested

Code: Select all

equo update; equo upgrade; equo conf update; equo deptest; equo libtest
and there were some updates today, but unfortunately, libreoffice printing still didn't work.

I also manually added my default printer to /etc/cups/lpoptions as well as ~/.cups/lpoptions and verified that

Code: Select all

lpstat -d
showed the correct default printer, but the system printers still didn't show up in libreoffice.


Then I checked another computer system where I had the kde printer configuration tool and noticed that that tool was installed from

Code: Select all

kde-apps/print-manager
which was missing on the broken system.

So I installed the missing KDE5 app and voila my printers returned to libreoffice.

THANKS again for all your help!

Post Reply