public void Imprimir() { ImpresionTicket.CargaPlantilla(TIPO_PLANTILLAS_TICKET.TICKET); Persona p = null; if (Convert.ToInt64(this.doc.datos["ID_ELEM_PERS"]) != global::LFVBNewTPV.Properties.Settings.Default.CLIENTE_DEFECTO) { Personas lsp = Personas.ObtenInstancia(); p = lsp.Buscar(Convert.ToInt64(this.doc.datos["ID_ELEM_PERS"].ToString())); } ImpresionTicket.ImprimirTicket(global::LFVBNewTPV.Properties.Settings.Default.TICKET_IMP_DEF, this.doc, p); }