Which is the correct way to specify collate

Anders Blomdell anders.blomdell at control.lth.se
Mon Jan 22 08:15:15 PST 2007


With cups 1.2.7 (on fedora6 at least), top level collate has stopped working from kprinter and gtklp on printers that support collate. The reason is that the collate option exists in both the ppd file and in the cups interface, so my question is simply, should collate be specified with:

  if (collate) {
    n=cupsAddOption("collate","true",n,p);
  else
    n=cupsAddOption("collate","false",n,p);

or with:

  if (collate) {
    ppdMarkOption(printerPPD,"Collate","True");
  else
    ppdMarkOption(printerPPD,"Collate","False");






More information about the cups-devel mailing list