I want to know how the property is being set in the printer
ToolKit toolKit = Toolkit.getDefaultToolkit();
Properties p=new Properties()
PrintJob printJob = toolKit.getPrintJob(this, "New Printing", p);
In all the examples i could find the propery is set to null or just put an instance as i have put right now.I want to know how to set the property,and how all are these properties is going to affect the printing.For example in some of the codes i found "p.put("java.awt.print.orientation","landscape")but in java1.1.7 there is no such package,then how could we set the properites to the printer.
Please give me a detailed answer for this question.
With best regards