Lines Matching defs:copies
77 slow_collate, /* Collate copies by hand? */
87 int copies; /* Number of copies */
94 int collate, /* Collate copies? */
229 _("Usage: %s job-id user title copies options [file]"),
737 if (doc->copies != 1 && (!doc->collate || !doc->slow_collate))
744 doc_printf(doc, "%%%%Requirements: numcopies(%d)%s%s\n", doc->copies,
752 doc_printf(doc, "%%RBINumCopies: %d\n", doc->copies);
893 doc->slow_collate ? 1 : doc->copies);
906 * Make additional copies as necessary...
925 * Make the copies...
931 copy = doc->copies - 1;
933 for (; copy < doc->copies; copy ++)
998 doc->slow_collate ? 1 : doc->copies);
1074 if (doc->slow_collate && doc->copies > 1)
1075 printf("%%%%Pages: %d\n", doc->copies);
1082 if (doc->copies != 1 && (!doc->collate || !doc->slow_collate))
1089 printf("%%%%Requirements: numcopies(%d)%s%s\n", doc->copies,
1097 printf("%%RBINumCopies: %d\n", doc->copies);
1142 fprintf(stderr, "PAGE: 1 %d\n", doc->temp ? 1 : doc->copies);
1182 * Make the additional copies as needed...
1185 for (copy = 1; copy < doc->copies; copy ++)
1497 doc->slow_collate ? 1 : doc->copies);
1939 * Set the number of copies for the job...
1942 if (doc->copies != 1 && (!doc->collate || !doc->slow_collate))
1944 doc_printf(doc, "%%RBIBeginNonPPDFeature: *NumCopies %d\n", doc->copies);
1949 "{userdict/#copies 3 -1 roll put}ifelse\n", doc->copies);
2308 int max_copies; /* Maximum number of copies supported */
2320 doc->copies = atoi(argv[4]);
2374 * single-document, separate-documents-collated-copies, and
2375 * single-document-new-sheet all require collated copies.
2377 * separate-documents-uncollated-copies allows for uncollated copies.
2380 doc->collate = _cups_strcasecmp(val, "separate-documents-uncollated-copies") != 0;
2565 * Now figure out if we have to force collated copies, etc.
2575 if (doc->copies > max_copies)
2577 else if (ppd && ppd->manual_copies && Duplex && doc->copies > 1)
2580 * Force collated copies when printing a duplexed document to
2582 * Otherwise the copies will end up on the front/back side of
2593 if (doc->collate && doc->copies > 1)
2601 if (doc->copies <= max_copies &&