Direct Label Printing Help
Direct Label Printing enables seamless shipment import and printing.
When starting DHL Direct Printing for the first time the API needs to be configured
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.
In case the connection to the DHL API Gateway needs a proxy server, it can be configured here.
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:
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:
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
done
will contain files that were successfully imported.failed
will contain files for which the import failed.log
will contain a list of processed rows with shipment information if available or any error for that row.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.
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.
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.
Uses the Operating System driver to print labels.
Requirements:
This option uses the printing pool of the OS for queuing and managing print jobs.
Instead of printing the label this option will download the label as PDF or ZPL file to a folder of your choice.
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.
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.
After starting the virtual printer service, the virtual printer can be selected in MDP under Settings - Printer & labels