--- cups-1.1.21rc1/backend/ipp.c~ 2004-08-12 18:54:45.000000000 -0400 +++ cups-1.1.21rc1/backend/ipp.c 2004-08-13 11:56:52.766254976 -0400 @@ -273,6 +273,17 @@ if (content_type == NULL) content_type = "application/octet-stream"; + /* + * The scheduler sets IPP_PORT in the environment to + * point back to whatever port it's running on. + * That's not interesting to us because we want + * to talk to remote IPP servers, which by default + * will be listening to the standard IPP port 631. + * If they aren't, the URI will should a port + * value, which will override this. + */ + ippSetPort(IPP_PORT); + /* * Extract the hostname and printer name from the URI... */