Searched defs:copies (Results 1 - 14 of 14) sorted by relevance

/openjdk7/jdk/src/share/classes/java/awt/print/
H A DPrinterJob.java526 * by equivalent method calls, (for example), copies:
565 * Sets the number of copies to be printed.
566 * @param copies the number of copies to be printed
569 public abstract void setCopies(int copies); argument
572 * Gets the number of copies to be printed.
573 * @return the number of copies to be printed.
/openjdk7/jdk/src/share/classes/sun/print/
H A DPSStreamPrintService.java380 private boolean isSupportedCopies(Copies copies) { argument
381 int numCopies = copies.getValue();
H A DPSStreamPrintJob.java90 private int copies = 1; field in class:PSStreamPrintJob
524 copies = ((Copies)attr).getValue();
H A DRasterPrinterJob.java205 * The number of book copies to be printed.
211 * when multiple copies are requested. For two copies
939 Copies copies = (Copies)attributes.get(Copies.class);
940 if (copies != null) {
941 setCopies(copies.getValue());
1097 Copies copies = (Copies)attributes.get(Copies.class);
1098 if (isSupportedValue(copies, attributes) ||
1099 (!fidelity && copies != null)) {
1100 copiesAttr = copies
1608 setCopies(int copies) argument
[all...]
H A DPSPrinterJob.java161 private static final String COPIES = "/#copies exch def";
455 Copies copies = (Copies)attributes.get(Copies.class);
456 if (copies != null) {
457 setCopies(copies.getValue());
607 /* PostScript printers can always generate uncollated copies.
1525 * If the printer makes copies itself then this
1538 String banner, int copies, String spoolFile) {
1561 if (copies > 1) {
1581 execCmd[n++] = "-#" + copies;
1601 execCmd[n++] = "-n" + copies;
1536 printExecCmd(String printer, String options, boolean noJobSheet, String banner, int copies, String spoolFile) argument
[all...]
/openjdk7/jdk/src/windows/classes/sun/print/
H A DWin32PrintJob.java105 private int copies = 0; field in class:Win32PrintJob
507 if (copies == 0) {
509 copies = c.getValue();
525 job.setCopies(copies);
565 if (copies == 0) {
567 copies = c.getValue();
569 job.setCopies(copies);
714 copies = ((Copies)attr).getValue();
H A DWin32PrintService.java712 private boolean isSupportedCopies(Copies copies) { argument
719 int numCopies = copies.getValue();
/openjdk7/jdk/src/solaris/classes/sun/print/
H A DUnixPrintJob.java112 private int copies = 1; field in class:UnixPrintJob
622 job.setCopies(copies);
661 job.setCopies(copies);
811 copies = ((Copies)attr).getValue();
835 String banner, int copies, String spoolFile) {
859 if (copies > 1) {
880 execCmd[n++] = "-n " + copies;
898 execCmd[n++] = "-#" + copies;
996 mNoJobSheet, jobName, copies, fileName);
833 printExecCmd(String printer, String options, boolean noJobSheet, String banner, int copies, String spoolFile) argument
H A DUnixPrintService.java372 private boolean isSupportedCopies(Copies copies) { argument
373 int numCopies = copies.getValue();
H A DIPPPrintService.java1174 private boolean isSupportedCopies(Copies copies) { argument
1187 int value = copies.getValue();
/openjdk7/jdk/src/share/classes/java/awt/
H A DJobAttributes.java31 * Instances of this class control the number of copies, default selection,
164 * It is used to control how the sheets of multiple copies of a single
174 "separate-documents-collated-copies",
175 "separate-documents-uncollated-copies"
180 * that the job should be divided into separate, collated copies.
188 * that the job should be divided into separate, uncollated copies.
244 private int copies; field in class:JobAttributes
267 * Number of copies defaults to <code>1</code>. Multiple document handling defaults
297 * @param copies an integer greater than 0
335 public JobAttributes(int copies, DefaultSelectionTyp argument
413 setCopies(int copies) argument
[all...]
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_PrintControl.cpp810 unsigned int copies = 1; local
835 copies = devmode->dmCopies;
841 copies = pd.nCopies;
925 copies = pd.nCopies;
957 // copies & range are always set so no need to check for any flags
960 copies);
H A Dawt_PrintJob.cpp568 jint copies) {
573 short nCopies = (copies < (jint)SHRT_MAX)
574 ? static_cast<short>(copies) : SHRT_MAX;
963 int copies = 1; local
966 // multiple copies although it actually can . So this modification
967 // handles that, to make sure that we report copies = 1 because
968 // we already emulated multiple copies.
971 copies = getIntField(env, self, ATTCOPIES_STR);
972 } // else "driverDoesMultipleCopies" is false, copies should be 1 (default)
1012 if (copies
567 Java_sun_awt_windows_WPrinterJob_setNativeCopies(JNIEnv *env, jobject self, jint copies) argument
[all...]
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWPrinterJob.java205 * indicates how many copies of a print job an application must render.
207 * set on return indicates the application generated copies should be
210 * generating multiple copies themselves, but uncollated is more
211 * universal than collated copies.
223 * DM_COPIES flag indicates support for multiple driver copies
224 * and dmCopies is the number of copies the driver will print
225 * DM_COLLATE flag indicates support for collated driver copies and
228 * Multiple copies from Java applications:
229 * We provide API to get & set the number of copies as well as allowing the
231 * we can accurately report back the number of copies selecte
1275 setCopies(int copies) argument
1287 setNativeCopies(int copies) argument
1579 setRangeCopiesAttribute(int from, int to, boolean isRangeSet, int copies) argument
[all...]

Completed in 74 milliseconds