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

Function cupsPrintFile2

cups/util.c:723–736  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

721 */
722
723int /* O - Job ID or 0 on error */
724cupsPrintFile2(
725 http_t *http, /* I - Connection to server */
726 const char *name, /* I - Destination name */
727 const char *filename, /* I - File to print */
728 const char *title, /* I - Title of job */
729 int num_options, /* I - Number of options */
730 cups_option_t *options) /* I - Options */
731{
732 DEBUG_printf(("cupsPrintFile2(http=%p, name=\"%s\", filename=\"%s\", title=\"%s\", num_options=%d, options=%p)", (void *)http, name, filename, title, num_options, (void *)options));
733
734 return (cupsPrintFiles2(http, name, 1, &filename, title, num_options,
735 options));
736}
737
738
739/*

Callers

nothing calls this directly

Calls 1

cupsPrintFiles2Function · 0.85

Tested by

no test coverage detected