• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/cups-408/cups/ppdc/

Lines Matching refs:driver

49   ppdcDriver	*driver;		// Driver
70 // See if the driver has already been imported...
71 if ((driver = find_driver(ppd->pcfilename)) == NULL)
80 driver = new ppdcDriver();
81 driver->type = PPDC_DRIVER_PS;
83 drivers->add(driver);
97 driver->add_copyright(ptr);
116 driver->add_attr(new ppdcAttr("NickName", NULL, NULL, ppd->nickname));
119 driver->add_attr(new ppdcAttr("ShortNickName", NULL, NULL,
122 driver->manufacturer = new ppdcString(ppd->manufacturer);
123 driver->model_name = new ppdcString(ptr);
124 driver->pc_file_name = new ppdcString(ppd->pcfilename);
126 driver->version = new ppdcString(attr ? attr->value : NULL);
127 driver->model_number = ppd->model_number;
128 driver->manual_copies = ppd->manual_copies;
129 driver->color_device = ppd->color_device;
130 driver->throughput = ppd->throughput;
131 driver->variable_paper_size = ppd->variable_sizes;
132 driver->max_width = ppd->custom_max[0];
133 driver->max_length = ppd->custom_max[1];
134 driver->min_width = ppd->custom_min[0];
135 driver->min_length = ppd->custom_min[1];
136 driver->left_margin = ppd->custom_margins[0];
137 driver->bottom_margin = ppd->custom_margins[1];
138 driver->right_margin = ppd->custom_margins[2];
139 driver->top_margin = ppd->custom_margins[3];
156 driver->add_filter(filter);
160 driver->default_font = new ppdcString(attr ? attr->value : NULL);
181 // Create a new media size record and add it to the driver...
188 driver->add_size(csize);
191 driver->set_default_size(csize);
198 driver->add_group(cgroup);
244 driver->add_constraint(cconstraint);
276 driver->add_font(font);
280 driver->set_custom_size_code(attr->value);
320 driver->add_attr(new ppdcAttr(attr->name, attr->spec, attr->text,
331 driver->add_attr(new ppdcAttr(attr->name, attr->spec, attr->text,