Hi Guyz ,
I am wondering if someone can help me please . I have a report which i am calling from batch class . I just want this report to print on specific printer . I have over ridden the init() method with following code
str printer;
printjobsettings printjobsettings;
super();
printer="\RIP3\Warehouse HP LaserJet 4100";
element.deviceName(printer);
element.printJobSettings().setTarget(printMedium::Printer);
element.printJobSettings().preferredTarget(printmedium::Printer);
element.printJobSettings().copies(1);
But when ever i run this report it use the default printer . I dont know what is wrong with this code .
I will appreciate your help .
Regards,