using System.Collections.Generic;
using BinaryKits.Zpl.Label;
using BinaryKits.Zpl.Label.Elements;
public static void Main()
string someUrl = "http://www.google.com/images/logos/ps_logo2.png";
using var webClient = new WebClient();
byte[] imageBytes = webClient.DownloadData(someUrl);
var elements = new List<ZplElementBase>();
elements.Add(new ZplDownloadGraphics('R', "SAMPLE", imageBytes));
elements.Add(new ZplRecallGraphic(100, 100, 'R', "SAMPLE"));
var renderEngine = new ZplEngine(elements);
var output = renderEngine.ToZplString(new ZplRenderOptions());
Console.WriteLine(output);