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.............. 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 monospaced font like font C, where each character is always 10 dots wide and the intercharacter gap is 2 dots wide