Common values
203 DPI: ^PW812 and ^LL1218. 300 DPI: ^PW1200 and ^LL1800. 600 DPI: ^PW2400 and ^LL3600.
^XA
^PW812
^LL1218
^FO50,50^A0N,40,40^FD4x6 label at 203 DPI^FS
^XZCanvas size and DPI migration are separate tasks
Choose 4 × 6 inches in the workbench. At 8 dpmm the theoretical target is about 813 × 1219 dots; the renderer may use a nominal density and round differently. Export PDF and check its physical page size: 288 × 432 points. Changing the canvas does not scale all ^FO coordinates, fonts or barcodes. For a second label use PNG index 1; PDF includes all labels.
