Skip to content

Commit b33b249

Browse files
committed
Apenas pequenos ajustes
1 parent bf30101 commit b33b249

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

src/main/java/com/exemplo/Main.java

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,10 @@ private static String capturarEntrada(String mensagem) {
6565
}
6666

6767
public static void configurarConexao() {
68-
68+
6969
}
7070

71+
7172
public static void abrirConexao() {
7273

7374
}
@@ -92,17 +93,16 @@ public static String escolherArquivoXML() throws Exception {
9293
}
9394

9495
public static void imprimirXML() {
96+
9597
try {
9698
String caminho = escolherArquivoXML();
9799
ImpressoraDLL.INSTANCE.ImprimeXMLSAT(caminho, 0);
98-
99100
} catch (Exception e) {
100101
System.out.println(e.getMessage());
101102
}
102-
103-
104103
}
105104
public static void imprimirXMLCancel() {
105+
106106
var assQRCode = "Q5DLkpdRijIRGY6YSSNsTWK1TztHL1vD0V1Jc4spo/CEUqICEb9SFy82ym8EhBRZjbh3btsZhF+sjHqEMR159i4agru9x6KsepK/q0E2e5xlU5cv3m1woYfgHyOkWDNcSdMsS6bBh2Bpq6s89yJ9Q6qh/J8YHi306ce9Tqb/drKvN2XdE5noRSS32TAWuaQEVd7u+TrvXlOQsE3fHR1D5f1saUwQLPSdIv01NF6Ny7jZwjCwv1uNDgGZONJdlTJ6p0ccqnZvuE70aHOI09elpjEO6Cd+orI7XHHrFCwhFhAcbalc+ZfO5b/+vkyAHS6CYVFCDtYR9Hi5qgdk31v23w==";
107107

108108
try {
@@ -114,7 +114,7 @@ public static void imprimirXMLCancel() {
114114
}
115115

116116
public static void main(String[] args) {
117-
System.out.println(ImpressoraDLL.INSTANCE.AbreConexaoImpressora(1, "i9", "USB", 0));
117+
118118
while (true) {
119119
System.out.println("\n*************************************************");
120120
System.out.println("**************** MENU IMPRESSORA *******************");
@@ -141,7 +141,7 @@ public static void main(String[] args) {
141141

142142
switch (escolha) {
143143
case "1":
144-
144+
145145
case "2":
146146

147147
case "3":
@@ -154,7 +154,6 @@ public static void main(String[] args) {
154154

155155
case "6":
156156
imprimirXML();
157-
158157
case "7":
159158
imprimirXMLCancel();
160159
case "8":
-136 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)