! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
The cups backend only works proper if the cups server is on localhost (hardco...
Status:
CLOSED: FIXED
Product:
Xfprint4
Component:
General

Comments

Description Holger Moser 2005-04-19 00:07:58 CEST
The cups backend doesnt retrieve the cups servername during runtime. instead
"localhost" is hardcoded. Here is a "fix" that solves the problem (line 78 in
cups.c):
      const char * server = cupsServer();
      sprintf (buf, "ipp://%s:631/printers/%s", server, dests[i].name);
      ippAddString (request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri",
NULL, buf);
      request->request.op.operation_id = IPP_GET_PRINTER_ATTRIBUTES;

      HTTP = httpConnect (server, 631);

Reproducible: Always
Steps to Reproduce:
1. 
2. 
3.
Comment 1 Jean-François Wauthy editbugs 2005-06-14 16:16:30 CEST
fixed in SVN, it uses local CUPS config now

Bug #918

Reported by:
Holger Moser
Reported on: 2005-04-19
Last modified on: 2009-07-14

People

Assignee:
Jean-François Wauthy
CC List:
0 users

Version

Attachments

Additional information