What steps will reproduce the problem?
1. Use of method setPrintParameters; on the class PrintRaw
2. Always trow an exception because of getCopies()
What is the expected output? What do you see instead?
not to trhow an Exception XD
What version of the product are you using? On what operating system?
1.8.7
Please provide any additional information below.
--------------------------------------------------------------------------------
--
public int getCopies() {
LogIt.log(Level.WARNING, "Copies is unsupported for print()",
new UnsupportedOperationException("Copies attribute for raw data has not yet been implemented"));
return -1;
}
--------------------------------------------------------------------------------
--- public void setPrintParameters(PrintApplet rpa)
{
setPrintService(rpa.getPrintService());
setJobName(rpa.getJobName().replace(" ___ ", " Raw "));
setCharset(rpa.getCharset());
setAlternatePrinting(rpa.isAlternatePrinting());
if(rpa.getCopies() > 0) // HERE !!!!!
setCopies(rpa.getCopies());
clear();
}
Original issue reported on code.google.com by olmosman...@gmail.com on 30 Apr 2015 at 6:21
Original issue reported on code.google.com by
olmosman...@gmail.com
on 30 Apr 2015 at 6:21