Direct Label Printing

Direct Label Printing Help

Direct Label Printing

Direct Label Printing enables seamless shipment import and printing.

Prerequisites

Connection

When starting DHL Direct Printing for the first time the API needs to be configured

API

To get an authentication token, you will need the user-id and user key for your application. These unique values can be generated under the user account on the My DHL-Parcel Application page.

By selecting ‘Settings’ in the user dropdown menu and clicking the button ‘CREATE API KEY’ in the tab ‘API KEYS’, the user-id and key are generated. Hold on to this information, since it will only be given out once. When pressing the button again, a new user-id and key will be generated, overwriting and invalidating the previous one.

My DHL Parcel API Keys

Proxy sever

In case the connection to the DHL API Gateway needs a proxy server, it can be configured here.

My DHL Parcel API Keys

Debug

Enable debug mode for resolving issues.

WARNING: Sensitive data will be logged to an insecure location, only enable this issue briefly to investigate issues.

Enabling debug mode has the following effects:

My DHL Parcel API Keys

Services

Manual printing

Manual printing

It is possible to manually print labels by providing a piece tracker code. A virtual label printer needs to be selected. To print directly to a physical printer, a printer needs to be selected in the Virtual printer section.

The tracker code can be provided by:

CSV importer

CSV importer

The CSV importer watches a directory. Any file with the .csv extension will be processed. Additional directories will be created when CSV importer is started

The selected import schema will be used for the import. In addition to the default schema, new schemas can be created in MDP.

A virtual label printer needs to be selected to import shipments and print labels. To import drafts, the virtual label printer can be set to None.

Importing drafts or shipments using the CSV importer, will have the same effect as importing manually using MDP.

Virtual printer

Virtual printer

A virtual printer can be registered by starting the virtual printer service. A single Direct Label Printing instance represents a single virtual printer.

When selecting a printer, we can detect Zebra USB printers or network printers in the same network segment. The IP address for a network printer can also be entered manually.

Printers

After starting the service for the first time, the virtual printer can be selected in Manual printing and CSV importer. A refresh of the virtual printer list may be required.

It is also possible to print labels from MDP directly to your virtual printer.

Types of virtual printers

OS Printer

Uses the Operating System driver to print labels.

Requirements:

This option uses the printing pool of the OS for queuing and managing print jobs.

Download

Instead of printing the label this option will download the label as PDF or ZPL file to a folder of your choice.

Zebra USB

This option uses the embedded Zebra SDK to print labels to a Zebra printer connected via USB.

Requirements: None

Note: no print pool is used. This may cause issues when printing many labels in quick succession.

Zebra network

This option uses the embedded Zebra SDK to print labels to a Zebra printer connected via the network.

Requirements: None

Note: no print pool is used. This may cause issues when printing many labels in quick succession.

Configuring the virtual printer in MDP

After starting the virtual printer service, the virtual printer can be selected in MDP under Settings - Printer & labels

MDP printer settings