ppdMarkOption and ppdFindMarkedChoice

shilpi shilpi at adobe.com
Wed Aug 22 05:02:01 PDT 2007

 m facing problem while marking the options for the printer in the ppd file.

the problem is : if u do ppdMarkOption(ppd, "PageSize","A4");
    and then    ppdMarkOption(ppd, "PageRegion","A4");

  then if u query for
    ppd_choice_t *choice = ppdFindMarkedChoice(ppd,"PageSize");
  it will return NULL.

This is because as soon as u mark the choice for PageRegion, the choice for PageSize get unmarked.
Is this a bug in cups or m i doing something wrong ??


More information about the cups-devel mailing list