private void buttonEtqSimples_Click(object sender, EventArgs e) { SaveConfig(); acbrEtq.Ativar(); if ((new[] { 1, 2 }).Contains(comboBoxModelo.SelectedIndex)) { acbrEtq.ImprimirTexto(ETQOrientacao.orNormal, 2, 2, 2, 3, 3, "BISCOITO MARILAN RECH 335G", 0, true); acbrEtq.ImprimirTexto(ETQOrientacao.orNormal, 2, 2, 1, 8, 3, "CHOC BRANCO"); acbrEtq.ImprimirBarras(ETQOrientacao.orNormal, TipoCodBarra.barEAN13, 2, 2, 13, 5, "7896003701685", 10, ETQBarraExibeCodigo.becSIM); acbrEtq.ImprimirCaixa(13, 32, 56, 17, 1, 1); acbrEtq.ImprimirTexto(ETQOrientacao.orNormal, 3, 3, 2, 18, 35, "R$"); acbrEtq.ImprimirTexto(ETQOrientacao.orNormal, 3, 4, 4, 15, 50, "20,59"); } else { acbrEtq.ImprimirCaixa(3, 3, 90, 5, 5, 0); acbrEtq.ImprimirTexto(ETQOrientacao.orNormal, "T", 10, 10, 3, 3, "BISCOITO MARILAN RECH 335G", 0, true); acbrEtq.ImprimirTexto(ETQOrientacao.or180, "S", 10, 10, 8, 3, "CHOC BRANCO"); acbrEtq.ImprimirBarras(ETQOrientacao.orNormal, TipoCodBarra.barEAN13, 2, 2, 13, 5, "7896003701685", 10, ETQBarraExibeCodigo.becSIM); acbrEtq.ImprimirCaixa(13, 32, 56, 17, 1, 1); acbrEtq.ImprimirTexto(ETQOrientacao.orNormal, "G", 40, 80, 18, 35, "R$"); acbrEtq.ImprimirTexto(ETQOrientacao.orNormal, "G", 55, 100, 15, 50, "20,59"); } acbrEtq.Imprimir((int)numericUpDownCopias.Value, (int)numericUpDownAvancoEtq.Value); acbrEtq.Desativar(); }