SourceCodeToHTMLPrinter

This is for those developers whom from time to time print their X++ source code to a printer.

The standard functionality only prints in black and white. This small Module will allow you to print in color and will give the same look and feel as the CodeEditor.



[[Media:SharedProject SourceCodeToHTMLPrinter.zip]]

This Project has been developed for Microsoft Dynamics AX 2009

After the XPO SourceCodeToHTMLPrinter has been imported, the Method addIns_PrintCode should be inserted in the standard Class EditorScripts. The Method may be found in the Class SourceToHTML_Converter.

Additional Links:

Version 2 for Dynamics AX 2009 [[Media:SharedProject SourceCodeToHTMLPrinter (2).xpo]]

I have made a small correction in the Class SourceToHTML_TokenDeterminer. The original version had some problems with certain Code. Test the original, for instance, by printing the Mapi Macro. With this new Version, this problem is taken care of. Additionally, I have added the standard Form CCHTMLPrintPreview to the Project. Those interested in creating an Outlook EMail with the Code in the Body of the EMail may like to implement the additions to this Form.

Version 2 for Dynamics AX 30 [[Media:SourceCodeToHTMLPrinter AX30.xpo]]

Here is the Project as may be imported to an Axapta 3.0 Version