Print External PDF file from AX This job illustrates how we can print an external PDF file to a printer chosen in AX through X++ code. Here a code sample (X++ job) to do this. static void theAxapta_pdfprint(Args _args) { PrintJobSettings printJobSettings = new PrintJobSettings(); Dialog dialog = new Dialog(); DialogField dialogFileName; str adobeExe; str adobeParm; ; dialogFilename = dialog.addField(typeid(FilenameOpen)); if (dialog.run()) { printJobSettings.printerSettings('SysPrintForm'...(read more)
↧