MCPcopy Create free account
hub / github.com/OpenPrinting/cups / cupsPrintFile

Function cupsPrintFile

cups/util.c:702–713  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

700 */
701
702int /* O - Job ID or 0 on error */
703cupsPrintFile(const char *name, /* I - Destination name */
704 const char *filename, /* I - File to print */
705 const char *title, /* I - Title of job */
706 int num_options,/* I - Number of options */
707 cups_option_t *options) /* I - Options */
708{
709 DEBUG_printf(("cupsPrintFile(name=\"%s\", filename=\"%s\", title=\"%s\", num_options=%d, options=%p)", name, filename, title, num_options, (void *)options));
710
711 return (cupsPrintFiles2(CUPS_HTTP_DEFAULT, name, 1, &filename, title,
712 num_options, options));
713}
714
715
716/*

Callers 1

mainFunction · 0.85

Calls 1

cupsPrintFiles2Function · 0.85

Tested by 1

mainFunction · 0.68