Quantcast
Channel: Microsoft Dynamics 365 Community
Viewing all articles
Browse latest Browse all 17314

Print PDF files from AX X++ code

$
0
0
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)

Viewing all articles
Browse latest Browse all 17314

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>