Lines Matching refs:execCmd
842 String execCmd[];
869 execCmd = new String[ncomps];
870 execCmd[n++] = "/usr/bin/lp";
871 execCmd[n++] = "-c"; // make a copy of the spool file
873 execCmd[n++] = "-d" + printer;
877 execCmd[n++] = "-t " + quoteChar+banner+quoteChar;
880 execCmd[n++] = "-n " + copies;
883 execCmd[n++] = "-o nobanner";
886 execCmd[n++] = "-o " + options;
889 execCmd = new String[ncomps];
890 execCmd[n++] = "/usr/bin/lpr";
892 execCmd[n++] = "-P" + printer;
895 execCmd[n++] = "-J " + banner;
898 execCmd[n++] = "-#" + copies;
901 execCmd[n++] = "-h";
904 execCmd[n++] = "-o" + options;
907 execCmd[n++] = spoolFile;
909 System.out.println("UnixPrintJob>> execCmd");
910 for (int i=0; i<execCmd.length; i++) {
911 System.out.print(" "+execCmd[i]);
915 return execCmd;
962 final String[] execCmd, final int result) throws IOException {
967 for (String arg: execCmd) {
995 String execCmd[] = printExecCmd(mDestination, mOptions,
998 Process process = Runtime.getRuntime().exec(execCmd);
1002 handleProcessFailure(process, execCmd, result);