We run linux clients that connect to a central print server.  I found
this works:

1) Install cups server on the clients.

2) On clients turn on "Show printers shared by other systems" in web
interface or in /etc/cups/cupsd.conf

# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny 
BrowseAllow all
BrowseLocalProtocols CUPS dnssd
BrowseAddress @LOCAL
BrowseAddress server:631
# *** NOTE I've added an entry that points directly to our main cups server - 
to speed up discovery.

3) On clients add a "BrowseAddress server:631" that points directly to
your cups server.  Change "server" to addres of your cups server. ( see
above )

4) On clients comment out all entries in /etc/cups/client.conf .  This
will force cups to use /var/run/cups/cups.sock on the client.


Generally works because libreoffice doesn't communicate over TCP:631, rather 
directly to the local socket and the client<=>server communication is done via 
cupsd<=>cupsd:

Client Libreoffice ...
 =>local-cups(with browsing on listening on /var/un/cups/cups.sock) ...
   =>server:631 browsing cups ...
     =>printer.


It uses a bit more RAM on the client to run the cups server but RAM is not as 
much of an issue these days.
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root      1071  0.0  0.2  11164  3816 ?        Ss   10:45   0:00 
/usr/sbin/cupsd -F

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/1020048

Title:
  after certain time printing to cups stops working

Status in LibreOffice Productivity Suite:
  New
Status in “cups” package in Ubuntu:
  Fix Released
Status in “libreoffice” package in Ubuntu:
  Confirmed

Bug description:
  in our institution we are running only printers through a cups server.
  while freshly opened document prints well, after some time (few
  minutes) clicking "print file directly" and menu item "print" do not
  work any more. after close and open again, thing prints correctly. i
  have checked what exactly is going on in such cases and logs on the
  cups server don't show any submissions and/or errors so that the thing
  is obviously stopped at the level of libreoffice.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: libreoffice 1:3.5.3-0ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
  Uname: Linux 3.2.0-26-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu8
  Architecture: amd64
  Date: Mon Jul  2 12:29:31 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 
(20120425)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
   LC_PAPER=en_GB.UTF-8
  SourcePackage: libreoffice
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to