Disabling Printing from Certain Applications

Users of Acrobat® and Acrobat Reader® are prevented from printing DOCX documents to the DOCX Converter printer. If they attempt to print a document while using these applications, the following message appears: "The file being printed is already in DOCX format. The print conversion will stop." This limitation was implemented because printing of a DOCX to another DOCX is usually a source of errors unless the font embedding options are properly set.

To disable this feature, call:

SetPrinterParamStr("PrintDisabled", "")

To prevent printing from other applications, e.g. Excel:

SetPrinterParamStr("PrintDisabled","Acrobat.exe|Acrord32.exe|Excel.exe")

To hide the error message displayed to the user:

SetPrinterParamStr("PrintDisabledMessage", "")

To change the error message displayed to the user:

SetPrinterParamStr("PrintDisabledMessage", "Impossible d' imprimer à partir d' Acrobat.")