You might find some help in this thread about some available methods (warning: if the method is not in the official docs, then it is unsupported and may disappear in future releases).
Also, try system.print.createPrintJob
You might find some help in this thread about some available methods (warning: if the method is not in the official docs, then it is unsupported and may disappear in future releases).
Also, try system.print.createPrintJob