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: Magami Zologami
Country: Ecuador
Language: English (Spanish)
Genre: Photos
Published (Last): 28 June 2007
Pages: 193
PDF File Size: 10.77 Mb
ePub File Size: 9.28 Mb
ISBN: 273-8-67436-346-2
Downloads: 96149
Price: Free* [*Free Regsitration Required]
Uploader: Munris

The file is being kept in use In my case I’m calling another report and I can’t pass prrintjobsettings printJobSettings like this. Anonymous April 4, at 8: 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. This is the first article of 3.

PrintJobSettings.getNumberOfPrinters Method

The code below saves the report to a local palce in your computer. Besides that, this should work in AX If printjobzettings has an answer on why AX keeps the file locked I forgot the mail.


Ghasuddin Tajwal December 7, at I need to see what’s going on when I have som time to si down and check it. Ghiasuddin December 9, at 6: DawsY May 14, at 1: AxWonders April 4, at 9: Alhough changing the class from client to server doesn’t change anything.

I just tried it on my end and it worked as expected.

So, the titles of the three articles will be prlntjobsettings same foe exception of the text in parenthesis. It does for the salesFormLetter. Really busy these days.

PrintJobSettings.unprintableBottom Method

The above code I’ve provided is correct and works like a charm. Unknown February 17, at I found something else however: I can immediatly delete the file. Gerard, Thanks for double checking and getting us the answer to this issue. Thank you for your thoughts. The file was being locked by the E-mail process and not the create PDF process Please do share if you find an answer: It does in AX though.


Anonymous April 5, at 9: Anonymous April 12, at 4: If I execute the code in a job it works. 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.

Stupid typo in the code: So probably some kind printjbsettings permission problem.

printJobSettings | ax4dev

AxWonders March 16, at 8: AxWonders February 17, at 1: Can you send me the exact code you are using? In my case, I’m having a lot of problems saving the file to a network file and then to attach it to Outlook.

Please let me know. Newer Post Older Post Home.