New events to unblock printer extensions in Business Central online

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Enabled for Public preview General availability
Admins, makers, or analysts, automatically This feature is released. Feb 26, 2020 This feature is released. Mar 2, 2020

Business value

Using these events, developers can create extensions that implement support for cloud-printing providers.

Feature details

Using SetupPrinters, a developer can insert possible printers to be used in the printer selection page for reports (in the printer virtual table). Each printer can be given a display name as well as a specification of properties such as duplex, number of copies, color, and paper trays. In a paper tray, properties, such as PaperSourceKind, PaperKind, and landscape can be set.

Using OnDocumentPrintReady, a developer can react on reports being printed and use information in the printer virtual table to send the document to a printer.

See also

Developing Printer Extentions in Business Central (docs)