ZplOptimizer
public static class ZplOptimizerShrinks ZPL without changing what gets printed. Field data (^FD/^FV … ^FS) is never modified, state tracking is reset at ^XA, ^DF, ^XF and ^MU, and input that changes the command prefixes (^CC/^CD/^CT) is returned unchanged.
Methods
| Method Signature | Returns | Description |
|---|---|---|
static # Optimize(string zpl, ZplOptimization level, GraphicCompression? graphicCompression = default) | string | Optimises zpl at level. zpl: ZPL source. · level: Optimisation level. · graphicCompression: Aggressive only: encoding for ^GFA data (null = shortest of all). |

