Posts about printJobSettings written by Sebastien. Technicals tips over Dynamics AX. Search. Menu. Skip to content. Home. Tag Archives. Classes Microsoft Dynamics AX System Classes PrintJobSettings Class. PrintJobSettings Class tableBottom Method. PrintJobSettings. System Classes Microsoft Dynamics AX System Classes PrintJobSettings Class [ AX ]. PrintJobSettings Class [AX ] PrintJobSettings.

Author: Migrel Mezisho
Country: Azerbaijan
Language: English (Spanish)
Genre: Music
Published (Last): 17 October 2011
Pages: 392
PDF File Size: 20.74 Mb
ePub File Size: 20.15 Mb
ISBN: 849-3-59659-634-1
Downloads: 34301
Price: Free* [*Free Regsitration Required]
Uploader: Gajas

Anonymous April 4, at 8: If I execute the code in a job it works.

PrintJobSettings.getNumberOfPrinters Method

DawsY May 14, at 1: Please let me know. File is not saved.

I can immediatly delete the file. So, the titles of the three articles will be the same foe exception of the text in parenthesis. Hi Bro, The dynaics is not saving file for me.

If someone has an answer on why AX keeps the file locked I’m not sure what’s different in your machine.

berOfPrinters Method | Microsoft Docs

The next article will show how to save the file into a network share and pass a Sales Order dynamically, and the last part will be about attaching the PDF to an Outlook instance and create a dynamic subject. In stead I use this code: The code below saves the report to a local palce in your computer. How can I save my private report, this one made by me.


In my case I’m calling another report and I can’t pass the printJobSettings like this. Alhough changing the class from client to server doesn’t change anything. Can you send me the exact code you are using?

Hi Sanjeev, are you using the exact same code I posted? Unknown February 17, at Please do share if you find an answer: In my case, I’m having a lot of problems saving the file to a network file and then to attach it to Outlook. Hi, Thanks for sharing your code. Anonymous February 7, at 1: Also, make sure that your menu item is pointing to the right class.

Ghasuddin Tajwal December 7, at Really busy these days. The best to you man! The above code I’ve provided is correct and works like a charm.

error printjobsettings not initialized

Have a great day! AxWonders April 5, at 9: Anonymous April 12, at 4: Thank you for your thoughts.

Investigate this a bit more next week long weekend ahead: AxWonders April 4, at 9: I was playing with this in my AX virtual box this morning and I’m able to save the file. I forgot the mail.


How to use X++ to change the printer settings of SO’s and PO’s

I found something else however: AxWonders February 17, at 1: This is the first article of 3. I need to see what’s going on when I have som time to si down and check it.

Ghiasuddin December 9, at 6: Regrading your question, windows will create a reference on a temp location when AX creates the PDF file, therefore AX will ock the file until it is saved. Stupid typo in the code: