Using ^MU ZPL Command to have 1 template for 203 and 600 dpi printer


Audience

Templates created in ZebraDesigner for Developers are send to 2 types of printers, 203 dpi and 600 dpi. How can I use the ^MU ZPL command to have 1 template for both types of printer ? It's possible to print at lower resolution so template will be build for 600 dpi and the ZPL command will be send to the 203 dpi printers.
^MUd,600,200

Submitted by SSi1 on July 19, 2021 Permalink

When using ZebraDesigner for Developers, the label layout is based on the resolution of the chosen printer. There are three types of resolutions: 200dpi, 300dpi and 600dpi. Ideally, a template should be used for its designated resolution.

With ^MU command, we could use the template designed for a lower resolution for a higher resolution printer. For example, if the template is designed for 200dpi, we can add the following command at the beginning of the template, so that the template can be used for a 600dpi printer.

### Convert a 200 dpi format to a 600 dpi format with a base in dots:
^MUd,200,600

The ^MUd,600,200 is illegal, because ZPL doesn't allow to convert a higher resolution format to a lower resolution format.

Submitted by francois.charr… on July 20, 2021 Permalink

Thank you for your response. What you mention is understood.
Is it possible to use the conversion command ^MU for a printer instead of a template ? If yes, I could send the ZPL command ^MUd,200,600 to all 600 dpi printer and create template for 200 dpi without needing to add the conversion command for every template.

Submitted by SSi1 on July 22, 2021 Permalink

Yes, you can use the following command to tell the printer to start the 200dpi to 600dpi conversion for all ZPL formats going forward.

^XA
^MUd, 200, 600
^XZ

After you are done, remember to use the following command to restore the printer resolution back to 600dpi.

^XA
^MUd, 600, 600
^XZ