Label viewer tool

Dawid Kaczmarek Updated by Dawid Kaczmarek

Label viewer tool

To support the process of design, setup and control of labels, a label preview tool is available. The tool can be found in [Warehouse management / Setup / Document routing – Warehouse label viewer]

The viewing tool will be running when opened but can be paused if needed. Several settings and filtering can be done, to control what work order type to monitor.

Figure 10: Warehouse label viewer

When running, the tool will capture all labels being printed, before sending a print job to the label printer. The print job will still be sent to the printer if a valid label printer is setup for the document routing. If no valid printer is found, the label preview tool will still capture the print job.

The purpose of this tool is to be able to test the execution of a given label design, document routing for label printing, and view the actual layout with data content.

The tool is using a public web service to present the label, using a web browser. Not all ZPL commands can be previewed using the web service, but most commonly used can be handled. For viewing labels with a more complex design, it is recommended to use an "Edge" browser, because this type of browser can handle more information in the address bar.

When several labels are printed in the same process, each label is presented in a separate browser tab page, like in the below example.

D

D

Figure 11: Preview of 2 labels in browser (note: Some of the data in labels above requires the CEPHEO WHS label extension)

Setup of label size

Figure 12: Label size setup

This setting is controlling the expected print size for the label when presented in a browser. The values can be changed, and the new values will be used for the view and preview function.

View label

Figure 13: View label When selecting a label record, and using the

When selecting a label record, and using the "View label" menu, the label data will be presented with the original layout, setup for the type of label record and the original data for the label record. In this case it is a label design showing information of a specific sample (Samples are not part of standard Dyn365FO or this module but is part of the CEPHEO Quality and Sample Management package).

The label is presented in a browser tab page

Test label view web service

To test if the web service for presentation of labels is online, this small

To test if the web service for presentation of labels is online, this small "Hello World" design is available.

When pressing the "Test" button, the label design is sent to the web service, and a webpage are presented with the layout.

Preview of a document layout

When doing design of labels, using the ZPL language, it can be difficult to see the actual layout without having real label data intended for this label. Using the preview feature, it now is possible to select one of the label designs available and see the layout using the preview.

Select the wanted label design and press the [Preview] button.

Figure 16: Preview a document label

This will show the selected label design, without any Dyn365FO label data and present the actual layout of the label.

Figure 17. Example LP label

A new fast tab on form Warehouse label viewer

To be able to handle running automated testcases, a fast tab is available on the form 'Warehouse label viewer' called Label validation:

On this tab we have added a menu item to activate/Open the warehouse emulator (to enable using the warehousing app functionality in the task recorder) and a field where the latest label URL (which normally opens a new web page) can be picked up as a result, when using the task recorder to create test cases.

This functionality makes it possible to create and run automated test cases using the Microsoft Regressions Suite Automation tool program.

How did we do?

Contact