Enhanced Printing Server
The module lets you print Business Central reports on remote printers through an external printer server, or automatically save them as PDF files in a file storage folder. It also adds a detailed printer selection, which lets you choose the printer based on user, report and location.
Configured printer servers appear in the Business Central list of available printers and can be selected like any other printer.
Search for Printer Servers. The page lists the configured servers; opening a line (or creating a new one) opens the server card.
The card can also be reached from the Printer Management page: opening the settings of a printer that corresponds to a printer server opens its card directly.
| Field | Description |
|---|---|
| Code | Server identifier. It is also the name under which the printer appears in Business Central. |
| Description | Printer description shown in the printer list. |
| Server Endpoint | Web address of the printer server the documents are sent to. |
| Token | Access key for the printer server. The value is masked and stored securely. |
| Device Name | Name of the physical printer, managed by the printer server, to print on. |
| Passive | When enabled, documents are not sent to the server but saved as PDF files in file storage. |
| Passive Path | File storage folder where PDFs are saved. Editable only when Passive is enabled. |
| Field | Description |
|---|---|
| Paper Kind | Paper format used by the printer (e.g. A4, Letter, custom). |
| Paper Width (mm) | Paper width in millimetres. Editable only with a custom format. |
| Paper Height (mm) | Paper height in millimetres. Editable only with a custom format. |
| Landscape | Prints in landscape orientation. |
| Black & White | Asks the server to print in grayscale. |
- Open Printer Servers and create a new record.
- Enter Code and Description.
- For remote printing, fill in Server Endpoint, Token and Device Name.
- Alternatively, to save documents as PDF, enable Passive and fill in Passive Path.
- In the Paper section set the format, any custom dimensions, orientation and black & white printing.
- Close the card: the new printer is immediately available in printer selections and print dialogs.
Search for Detailed Printer Selection, or use the Detailed Printer Selections action on the Printer Management page.
| Field | Description |
|---|---|
| User ID | User the rule applies to. |
| Report ID | Report the rule applies to. |
| Report Caption | Report name (read-only). |
| Printer Name | Printer to use. |
| Location Code | Location the rule applies to. |
| Warehouse Code | Warehouse the rule applies to (when warehouse management is active). Setting it clears location and shipping line. |
| Shipping Line Code | Warehouse shipping line the rule applies to (when warehouse management is active). |
Setting Location Code clears Warehouse Code and Shipping Line Code.
- Sending to the server: when a report is printed on a printer that corresponds to a printer server, the document is converted to PDF and sent to the server, which prints it on the configured device. If the server returns an error, the message is shown to the user.
- Passive mode: when the server is set as Passive, the PDF is saved in the folder specified in Passive Path, with a name made of the report name, the print date and time and a unique suffix.
- Background printing: the Print Documents batch activity type is available to print documents automatically. It currently handles posted transfer shipments: the report is taken from the report selections for this document type and the printer from Detailed Printer Selection, looking first for a rule for the report and the transfer-from location and, if none is found, for a rule for the report only.