/*
- * "$Id: printers.c,v 1.136 2003/01/29 19:54:52 mike Exp $"
+ * "$Id: printers.c,v 1.137 2003/02/05 21:18:55 mike Exp $"
*
* Printer routines for the Common UNIX Printing System (CUPS).
*
SetString(&p->hostname, ServerName);
SetStringf(&p->uri, "ipp://%s:%d/printers/%s", ServerName,
ntohs(Listeners[0].address.sin_port), name);
+ SetStringf(&p->device_uri, "file:/dev/null");
p->state = IPP_PRINTER_STOPPED;
p->accepting = 0;
ClearString(&p->job_sheets[0]);
ClearString(&p->job_sheets[1]);
ClearString(&p->device_uri);
- ClearString(&p->backend);
free(p);
/*
- * End of "$Id: printers.c,v 1.136 2003/01/29 19:54:52 mike Exp $".
+ * End of "$Id: printers.c,v 1.137 2003/02/05 21:18:55 mike Exp $".
*/
/*
- * "$Id: printers.h,v 1.29 2003/01/29 19:54:53 mike Exp $"
+ * "$Id: printers.h,v 1.30 2003/02/05 21:18:56 mike Exp $"
*
* Printer definitions for the Common UNIX Printing System (CUPS) scheduler.
*
char *job_sheets[2]; /* Banners/job sheets */
cups_ptype_t type; /* Printer type (color, small, etc.) */
time_t browse_time; /* Last time update was sent/received */
- char *device_uri, /* Device URI */
- *backend; /* Backend to use */
+ char *device_uri; /* Device URI */
int raw; /* Raw queue? */
mime_type_t *filetype; /* Pseudo-filetype for printer */
void *job; /* Current job in queue */
/*
- * End of "$Id: printers.h,v 1.29 2003/01/29 19:54:53 mike Exp $".
+ * End of "$Id: printers.h,v 1.30 2003/02/05 21:18:56 mike Exp $".
*/