Hi all

On 07/11/2017 10:10 PM, Tim Tassonis wrote:
Hi all

After having discovered the missing printers in epdfview, I also noticed that they don't show up in libreoffice. I must add that I don't compile libreoffice myself, but use the x64 binary from libreoffice.org. However, a search in google resulted in a discussion on archlinux, where the same problem with libreoffice and cups 2.2.4 is mentioned:


https://bbs.archlinux.org/viewtopic.php?id=227947

There, the consensus seems to be to downgrade to cups 2.2.3. Does anybody experience the same problem with cups 2.2.4 and libreoffice?


Sorry for my lack in concentration, but after some furthe reading, I found the solution:

https://bugs.archlinux.org/task/54695 mentions the fix for this problem, which has now been commited by apple:


https://github.com/apple/cups/commit/b2f85109da901eb652babdc4f2a846c1c28228ff


This will fix the issue with libreoffice and also epdfview, rendering my epdfview obsolete. I have attached the patch to this mail, it applies to cups 2.2.4 and fixes the missing printer option. It's the exactly the apple fix shown in the above commit.


Cheers
Tim



Cheers
Tim



--
decentral.ch - IT Stuff
Tim Tassonis
Badenerstrasse 219
8003 Zürich

[email protected]
+41 79 229 36 17
diff -ruN cups-2.2.4/cups/dest.c cups-2.2.4-cupsgetdests-1/cups/dest.c
--- cups-2.2.4/cups/dest.c	2017-06-30 17:44:38.000000000 +0200
+++ cups-2.2.4-cupsgetdests-1/cups/dest.c	2017-07-11 22:22:49.432477666 +0200
@@ -2059,15 +2059,6 @@
 
   cupsEnumDests(0, 1000, NULL, 0, 0, (cups_dest_cb_t)cups_get_cb, &data);
 
-  if (cupsLastError() >= IPP_STATUS_REDIRECTION_OTHER_SITE)
-  {
-    cupsFreeDests(data.num_dests, data.dests);
-
-    *dests = (cups_dest_t *)0;
-
-    return (0);
-  }
-
  /*
   * Make a copy of the "real" queues for a later sanity check...
   */
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to