public OpenDNFH OpenDNFH(string tipoDocumento, string identificacionNroDocumento) { var c = new OpenDNFH(tipoDocumento, identificacionNroDocumento); impresora.EnviarComando(c.Comando()); string[] arrayRespuesta = impresora.LeerRespuesta(); statusImpresora(arrayRespuesta [0]); statusFiscal(arrayRespuesta [1]); c.NroDNFHAbierto = int.Parse(arrayRespuesta [2]); return(c); }
public OpenDNFH OpenDNFH(string tipoDocumento, string identificacionNroDocumento) { var c = new OpenDNFH (tipoDocumento, identificacionNroDocumento); impresora.EnviarComando (c.Comando ()); string[] arrayRespuesta = impresora.LeerRespuesta (); statusImpresora (arrayRespuesta [0]); statusFiscal (arrayRespuesta [1]); c.NroDNFHAbierto = int.Parse (arrayRespuesta [2]); return c; }