Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created October 4, 2022 19:42
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/598d354279a6300d209ba8e91c3ebbd8 to your computer and use it in GitHub Desktop.
Save parzibyte/598d354279a6300d209ba8e91c3ebbd8 to your computer and use it in GitHub Desktop.
try {
String[] impresoras = ConectorPluginV3.obtenerImpresoras();
System.out.println("Lista de impresoras:");
for (String impresora : impresoras) {
System.out.printf("'%s'\n", impresora);
}
} catch (IOException | InterruptedException e) {
System.out.println("Error obteniendo impresoras: " + e.getMessage());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment