We consider the general problem of determination of an optimal process mean setting and the upper screening limit in relation to a fixed lower limit for a canning problem when the amount of fill follows an arbitrary continuous distribution. We show that the optimal upper limit is given by a very simple formula regardless of the shape of the distribution. We obtain a general condition to solve for the optimal process mean. Some specific distributions considered in the paper include normal, truncated normal, and truncated logistic. Comparisons are made in terms of the values of the optimal process mean, container rejection rate, and expected profit per fill attempt. Moreover, for any continuous fill distribution it is shown that a two-level control scheme with optimal upper limit is always economically superior to a single level scheme.