Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created April 24, 2023 15:34
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/22dea9eebe4c2753f899c52dde766f85 to your computer and use it in GitHub Desktop.
Save parzibyte/22dea9eebe4c2753f899c52dde766f85 to your computer and use it in GitHub Desktop.
const conector = new ConectorPluginV3(URLPlugin);
conector
.Iniciar()
.EscribirTexto("A continuación vemos una tabla: ")
.Feed(1)
.EscribirTexto(tabla)
.Feed(2);
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