Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created February 9, 2021 16:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/1d1452d01e1995bf3e88c2447ec2d995 to your computer and use it in GitHub Desktop.
Save parzibyte/1d1452d01e1995bf3e88c2447ec2d995 to your computer and use it in GitHub Desktop.
conector.imprimirEn(nombreImpresora)
.then(respuestaAlImprimir => {
if (respuestaAlImprimir === true) {
console.log("Impreso correctamente");
} else {
console.log("Error. La respuesta es: " + respuestaAlImprimir);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment