Libreoffice printing on Freebsd via LPD spooling

Warren Block wblock at wonkity.com
Sat Jan 18 22:05:54 UTC 2014


On Sat, 18 Jan 2014, Juris Kaminskis wrote:

> sorry have not been reading carefully previous posts the problem is already known
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=167441

Tested, and it works perfectly with the base lpd/lpr.  Patch 
editors/libreoffice/Makefile:

Index: editors/libreoffice/Makefile
===================================================================
--- editors/libreoffice/Makefile	(revision 340210)
+++ editors/libreoffice/Makefile	(working copy)
@@ -175,7 +175,7 @@

  .if ${PORT_OPTIONS:MCUPS}
  LIB_DEPENDS+=		libcups.so:${PORTSDIR}/print/cups-client
-CONFIGURE_ARGS+=	--enable-cups --without-ppds
+CONFIGURE_ARGS+=	--enable-cups
  .else
  CONFIGURE_ARGS+=	--disable-cups
  .endif

Rebuild and reinstall.  Then run 
/usr/local/lib/libreoffice/program/spadmin.  Mine is set to "Disable 
CUPS Support" and the command is just 'lpr' or 'lpr -Pqueuename'.

Could someone who uses CUPS verify that this patch does not cause 
problems there?


More information about the freebsd-office mailing list