public void LabelMode(PaperMode nMode, int nLabelHeight, int nGapFeed) { if (nMode == PaperMode.GapLabel) { EZioApi.sendcommand("^Q" + nLabelHeight.ToString() + "," + nGapFeed.ToString()); } else { EZioApi.sendcommand("^Q" + nLabelHeight.ToString() + ",0," + nGapFeed.ToString()); } }
//------------------------------------------------------------------------ // Label Setup //------------------------------------------------------------------------ private void LabelSetup() { PaperMode value = PaperMode.PlainPaperLabel; Printer.Config.LabelMode(value, 40, 3); Printer.Config.LabelWidth(54); Printer.Config.Dark(10); Printer.Config.Speed(3); Printer.Config.PageNo(1); Printer.Config.CopyNo(1); }