viernes, 11 de julio de 2014

AX 2009 PDF conversion

Converting our finely honed AX 2009 report to PDF produces a number of formatting differences.  The worst 'error', if you're an accountant, can be the lack of bold text in parts of the report.

AX 2009 Report

AX 2009 Report, exported to PDF
The solution is simple, by embedding the font into the PDF.  This can be done manually
(Image stolen from Gerrit's AX blog, see link below) 
To do this via code is also trivial change:
Use the PDF_EMBED_FONTS option

Our end result in PDF is pretty good...  But they may ask me to move stuff around by 1 mm once more...  Ye gods!

Finally, in AX4.0 SP1 there is a small bug that when changing to this option where you may lose the .pdf file extension.

No hay comentarios:

Publicar un comentario