-
-
Save parzibyte/0dc0d7c85bc28bb100d8debd370c2d6c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const imprimirAcentosConTextoNormal = async (nombreImpresora) => { | |
const conector = new ConectorPluginV3(null, "licencia opcional aquí"); | |
conector.Iniciar(); | |
conector.EscribirTexto("¡Gracias por su compra, María José!\nFeliz año nuevo"); | |
conector.Feed(1); | |
const respuesta = await conector | |
.imprimirEn(nombreImpresora); | |
if (respuesta === true) { | |
alert("Impreso correctamente"); | |
} else { | |
alert("Error: " + respuesta); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment