public override IEnumerable <string> Render(ZPLRenderOptions context) { //^ GE300,100,10,B ^ FS List <string> result = new List <string>(); result.AddRange(Origin.Render(context)); result.Add("^GE" + context.Scale(Width) + "," + context.Scale(Height) + "," + context.Scale(BorderThickness) + "," + LineColor + "^FS"); return(result); }
public override IEnumerable <string> Render(ZPLRenderOptions context) { //^GDw,h,t,c,o List <string> result = new List <string>(); result.AddRange(Origin.Render(context)); result.Add("^GD" + context.Scale(Width) + "," + context.Scale(Height) + "," + context.Scale(BorderThickness) + "," + LineColor + "," + (RightLeaningiagonal ? "R" : "L") + "^FS"); return(result); }
public override IEnumerable <string> Render(ZPLRenderOptions context) { //^GSo,h,w List <string> result = new List <string>(); result.AddRange(Origin.Render(context)); result.Add("^GS" + Orientation + "," + context.Scale(Height) + "," + context.Scale(Width) + "^FD" + CharacterLetter + "^FS"); return(result); }
public override IEnumerable <string> Render(ZPLRenderOptions context) { //^GCd,t,c List <string> result = new List <string>(); result.AddRange(Origin.Render(context)); result.Add("^GC" + context.Scale(Diameter) + "," + context.Scale(BorderThickness) + "," + LineColor + "^FS"); return(result); }
public override IEnumerable <string> Render(ZPLRenderOptions context) { List <string> result = new List <string>(); result.AddRange(Font.Render(context)); result.AddRange(Origin.Render(context)); result.Add("^TB" + Font.Orientation + "," + context.Scale(Width) + "," + context.Scale(Height)); result.Add(RenderFieldDataSection()); return(result); }
public override IEnumerable <string> Render(ZPLRenderOptions context) { //^ XA //^ CF0,30,30 ^ FO25,50 // ^ FB250,4,, //^ FDFD command that IS\& // preceded by an FB \&command. // ^ FS // ^ XZ List <string> result = new List <string>(); result.AddRange(Font.Render(context)); result.AddRange(Origin.Render(context)); result.Add("^FB" + context.Scale(Width) + "," + MaxLineCount + "," + context.Scale(LineSpace) + "," + TextJustification + "," + context.Scale(HangingIndent)); result.Add(RenderFieldDataSection()); return(result); }
public override IEnumerable <string> Render(ZPLRenderOptions context) { string textOrientation = Orientation; if (string.IsNullOrEmpty(textOrientation)) { textOrientation = context.DefaultTextOrientation; } return(new[] { "^A" + FontName + textOrientation + "," + context.Scale(FontHeight) + "," + context.Scale(FontWidth) }); }
public override IEnumerable <string> Render(ZPLRenderOptions context) { //^ FO100,100 //^ BQN,2,10 //^ FDMM,AAC - 42 ^ FS List <string> result = new List <string>(); result.AddRange(Origin.Render(context)); result.Add("^BQN," + Model + "," + context.Scale(MagnificationFactor) + "," + ErrorCorrection + "," + MaskValue); result.Add("^FD" + ErrorCorrection + "M," + Content + "^FS"); return(result); }
public override IEnumerable <string> Render(ZPLRenderOptions context) { //^FO100,100 ^ BY3 //^BCN,100,Y,N,N //^FD123456 ^ FS List <string> result = new List <string>(); result.AddRange(Origin.Render(context)); result.Add("^BC" + Orientation + "," + context.Scale(Height) + "," + (PrintInterpretationLine ? "Y" : "N") + "," + (PrintInterpretationLineAboveCode ? "Y" : "N")); result.Add("^FD" + Content + "^FS"); return(result); }
public override IEnumerable <string> Render(ZPLRenderOptions context) { //^ FO50,50 return(new string[] { "^FO" + context.Scale(PositionX) + "," + context.Scale(PositionY) }); }
public override IEnumerable <string> Render(ZPLRenderOptions context) { return(new[] { "^BY" + context.Scale(ModuleWidth) + "," + Math.Round(BarWidthRatio, 1) + "," + context.Scale(Height) }); }
public override IEnumerable <string> Render(ZPLRenderOptions context) { return(new[] { "^A" + FontName + Orientation + "," + context.Scale(FontHeight) + "," + context.Scale(FontWidth) }); }