PrintNode Connector version 2.2.7702.0 and up provides developers with extensible support to send RAW printing commands to a printer through the PrintNode service.
Before starting, ensure PrintNode Connector is installed (see Install and Uninstall PrintNode Connector). Once PrintNode Connector is installed, you can download the symbols and use the RAW printing function. Complete the following to obtain the symbols:
- Create an AL project in Visual Studio Code.
- Set the launch.json file in the project to the Microsoft Dynamics 365 Business Central sandbox.
The RAW printing function is contained in Codeunit “IWX PrintNode API Mgt.”.
This function sends the RAW printing request to the PrintNode service. The following parameters are in order of the function signature.
The following is a sample extension where an action is added to the IWX PrintNode Printer List page to trigger the RAW printing request. The action opens a worksheet page for the user to input the RAW printing commands to send with the request.