use io;
import"label.j"as label;
def l aslabel.Label initlabel.new(50.0, 30.0);
$l = label.image($l, 2.0, 2.0, "R:LOGO.GRF"); # stored on the printerdef zpl asstringinitlabel.render($l, label.zpl(300));
label.send("127.0.0.1", 9100, $zpl); # the raw port; here a stand-inio.printf("sent %d bytes\n", len($zpl));