FAQ: TFORMer SDK
How do I generate my first label from C#?
How do I generate my first label from C#?
Install TECIT.TFORMer from NuGet and use the example template QRCodeTemplate.tff with the field fieldQRCode. Supply the field value, choose the output and start the job. This example creates a JPG; the template is available in the linked sample project.
using TECIT.TFORMer;
var row = new Record();
row.Data.Add("fieldQRCode", "https://www.tec-it.com");
var data = new JobDataRecordSet();
data.Records.Add(row);
var job = new Job { RepositoryName = "QRCodeTemplate.tff", JobData = data };
job.PrinterType = PrinterType.ImageJpg;
job.OutputName = "label.jpg";
job.Print();