Shop Floor Hardware Setup / Network Print to Bartender

It’s a different approach, but may be worth thinking about if you have still had no joy.

I use Zebra designer to design the label and then print to file to get the printer code.

I have then written an Epicor function that combines the output from a BAQ with the printer code

File.AppendAllText(sourcefile, @“^XA” + Environment.NewLine);
File.AppendAllText(sourcefile, @“^MMT” + Environment.NewLine);
File.AppendAllText(sourcefile, @“^PW472” + Environment.NewLine);
File.AppendAllText(sourcefile, @“LL201” + Environment.NewLine);
File.AppendAllText(sourcefile, @“^LS0” + Environment.NewLine);
File.AppendAllText(sourcefile, @“^FT18,50^A0N,27,28^FH^CI28^FD” + linedesc + “^FS^CI27” + Environment.NewLine);
File.AppendAllText(sourcefile, @“^FT18,86^A0N,27,28^FH^CI28^FD” + rowSNo[“Calculated_PartRevNum”] + " " + rowSNo[“SerialNo_JobNum”] + “^FS^CI27” + Environment.NewLine);

Once the file has been created, I then copy the file to network Zebra printer assigned to the workstation.

File.Copy(sourcefile, destfile, true);

The function is called from application studio using the erp-function widget.

We tried the bartender way, but we are typically printing 1000 serial numbers at a time and we didn’t find it scalable in terms of time taken to print the labels off.

3 Likes