Table of Contents

Print Plugin

The Print Plugin of the 365 business Proxy Application enables the printing of PDF documents.

It is one of the Standard Plugins and can be installed directly via the Proxy Application Clients page in Microsoft Dynamics 365 Business Central.

Good to know Are you looking for a fully integration of your local printer infrastructure in Microsoft Dynamics 365 Business Central?
Would you like to connect regular printers or label printers and control them natively from Microsoft Dynamics 365 Business Central?

Then 365 business Print Agent is the right solution for you!
Find out more and book a free, no-obligation demonstration.

AL integration

All functions are provided via the code unit bdev.PRX Proxy Application (ID 5523630).

Functions

success: Boolean := Print([clientId: Guid,] printerName: Text, file: Codeunit "Temp Blob")

Parameter

  • clientId: Guid (Optional)
    Specifies the ID of the proxy application client on which the operation is to be executed.
  • printerName: Text
    Specifies the name of the printer.
  • file: Codeunit "Temp Blob"
    Specifies the document to be printed (e.g. PDF file).

Return

Returns true if the print job was successfully created.


success: Boolean := Print([clientId: Guid,] printerName: Text, filePath: Text)

Parameter

  • clientId: Guid (Optional)
    Specifies the ID of the proxy application client on which the operation is to be executed.
  • printerName: Text
    Specifies the name of the printer.
  • filePath: Text
    Specifies the document to be printed (e.g. PDF file).

**Returns

Returns true if the print job was successfully created.