ZebraPrinterUtilities 2.3h1 :

- aggiunta gestione eccezione per stampante non presente.
This commit is contained in:
DarioS
2021-08-09 20:47:33 +02:00
parent bd7bf775c2
commit f7c7790d90
25 changed files with 36 additions and 34 deletions
+4 -1
View File
@@ -34,7 +34,7 @@ Class ZebraPrinter
Else
m_sDataRoot = sb.ToString
End If
m_FileLog = m_sDataRoot & "\ZebraPrinterUtilityLog.txt"
m_FileLog = m_sDataRoot & "\Temp\ZebraPrinterUtilityLog.txt"
If Not File.Exists(m_FileLog) Then
Try
File.Create(m_FileLog).Close()
@@ -66,6 +66,9 @@ Class ZebraPrinter
Catch ex As ConnectionException
EmitLog("Printer connection error: " & ex.Message)
Return False
Catch
EmitLog("Printer not found error")
Return False
End Try
End Function