How to Calculate Zebra Font 0 text width?
问题 Is there a way to calculate the total width of Zebra Font 0 given text? Consider the following ZPL command, **^XA^FO100,150^A030,30^FDSample Text^FS^XZ** Here both character height and width is 30 dots. I want to calculate the actual width of this text in mm. Please note that printer DPI is 300.............. 回答1: Font 0 is a variable-width font (not monospaced like some of the others), so the width of the text will depend on the text itself. One option would be to switch to a built-in