--- cups-1.2.10/scheduler/printers.c 2007-02-27 16:46:10.000000000 +0100 +++ cups-1.2.10-printer-op-policies/scheduler/printers.c 2007-03-30 18:38:26.000000000 +0200 @@ -1186,8 +1186,16 @@ cupsdLoadAllPrinters(void) } else if (!strcasecmp(line, "OpPolicy")) { - if (value) + if (value) { cupsdSetString(&p->op_policy, value); + + /* + * Update the operation policy pointer... + */ + + if ((p->op_policy_ptr = cupsdFindPolicy(p->op_policy)) == NULL) + p->op_policy_ptr = DefaultPolicyPtr; + } else { cupsdLogMessage(CUPSD_LOG_ERROR,