---
title: Editing the D-Workflow Interface Settings
description: >-
  Learn how to configure and edit D-Workflow interface settings in APM or Lab 50
  software, including printer, host, and template options.
---

> **For AI agents:** the complete documentation index is at [llms.txt](/llms.txt). Append `.md` to any page URL for its markdown version.

To configure the APM or Lab 50 software for D-workflow, make sure a keyboard and mouse are attached then:

**Sending orders straight from the kiosk (Print Server):**

1. Press the bottom, left corner of the intro screen.
2. Enter the passcode (default is 1234).
3. Select the **Setup Wizard**.

**Using Lab 50 installed on a separate computer:**

1. Click on the Settings tab in Lab 50.
2. Select the Fulfillment option on the left side of the screen to expand it.
3. Select Print Server.
4. Press the **Setup Wizard** button, and the Setup Wizard will launch.

**Once you have the Setup Wizard open:**

1. Click on **Printer Configuration**.
2. Select the **Add Printer** option.
3. In the menu at the right, select **Agfa D-Workflow Interface**.
4. In the **Printer Name** field, enter "DWF", or any name you wish to use.
5. Click the Add button.
6. Click on the newly created **Agfa D-Workflow** option in the top, left corner to display the options for this interface.

|                                           |
|:------------------------------------------|
| ![Agfa SW](/images/printer-guides/editing-the-d-workflow-interface-settings/agfa-sw.jpg)            |
| Setup Wizard Printer Configuration Screen |

**Agfa D-Workflow Options:**

|                                |
|:-------------------------------|
| ![DWF](/images/printer-guides/editing-the-d-workflow-interface-settings/dwf.jpg) |
| D-Workflow - General Settings  |

- **DB45 Path:** This setting should not be changed. This contains the path for the necessary D-Workflow folder/file structure to interface with D-Workflow properly. (Default is C:\APM\_FOLDERS\agfa\_db)
- **Debug Mode:** If after changing all of the settings, the D-Workflow interface does not work, come back into this screen and set Debug Mode to **True**. (Default is **False**.)
- **Dealer Name:** This is set in the pfdf file for the printer. This field should not be changed.
- **Dealer Number:** This setting is not used.
- **dWorkflow Host:** This needs to be set to the same IP address as the D-Workflow machine. (Default is **127.0.0.1** which is assuming that the D-Workflow is running on the local machine).
- **Machine ID:** This variable should be unique from other devices connecting to D-Workflow, including other APMs. The default value is **10**.

\*\***Note:** If you choose another ID, it must also be configured and authorized in the D-Workflow software.

- **Machine Type:** 122= Connection Kit in Agfa Terminology. This option should remain unchanged.
- **Operator Name:** This field will show up in the D-Workflow software.
- **Operator Number:** This setting is not used.
- **Connection Port:** This should remain unchanged. The default is **5001**. This port must be properly configured or opened for D-Workflow.
- **Purge complete orders:** This should be set to **True** if deleting orders from the queue after they are processed by D-Workflow is desired. The default value is **False**.
- **Back print template:** This setting is used to specify the information that needs to be collected from the order data file and printed on the back of each print. The default is **%ORDER%*%ITEM%*(%PRODUCT% %FINISH%)%QTY%**.

The following is a list of available, case-sensitive parameters that may be used:

- **%ORDER%** - Order Number
- **%PRODUCT%** - Product Name
- **%PROD\_ID%** - Product ID
- **%FINISH%** - Finish option (glossy/matte)
- **%QTY%** - Quantity
- **%ORIG\_FN%** - Original File Name
- **%ITEM%** - Item Index
- **%YEAR%** - Current 4 digit year
- **%MONTH%** - Current 2 digit month
- **%DAY%** - Current 2 digit day
- **%FNAME%** - Customer first name
- **%LNAME%** - Customer last name
- **%PHONE%** - Customer phone number

- **Glossy Surface:** The default value is 4. Please leave this setting as is.
- **Matte Surface:** The default value is 2. Please leave this setting as is.
