Last active
November 9, 2022 22:59
-
-
Save parzibyte/da114f07ec7d85d11a8e685b889b8c84 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 conector = new ConectorPluginV3(URLPlugin); | |
conector.Iniciar(); | |
conector.EscribirTexto("Hola mundo\nParzibyte.me"); | |
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