This code works in 2.2beta3 but gives an error in 2.2rc3.
var tempFile = application.createTempFile(‘myPDF’,‘.pdf’);
//print the current record (no printerSelectDialog) to the temporaryfile
var success = controller.print(true,false,plugins.pdf_output.getPDFPrinter(tempFile));
I have also let the designer of the plug in know.
John McCann