i have the following code:
FileInputStream fis =
new FileInputStream("C:/test.pdf");
//PrintJob.Builder test = new PrintJob.Builder(fis);
//test.duplex(true);
//test.build();
Map <String,String> newMap = new HashMap<String, String>();
newMap.put("job-attributes", "sides:keyword:two-sided-short-edge#copies:2");
PrintJob pj = new PrintJob.Builder(fis).jobName("testJob").copies(2).attributes(newMap).build();
cp.print(pj);
The issues i have is even though i have set copies to (2) it only prints it out once....
anything i have done wrong?