Hi,
I just found this code that they said can be used to specify the number of copies to be printed by default.
So i could use it and put the default number as 1.
But does anybody have any idea where i should write this code?
Here it is:
Code Snippet
if (NPSUtilities::isDeveloper() && box::yesNo('Special debugger option:\nPrint to screen instead of printer?', DialogButton::Yes) == DialogButton::Yes)
element.printJobSettings().setTarget(PrintMedium::Screen);
You would want to use:
public void init()
{
super();
element.printJobSettings().copies(2);
}
Thanks in advance