Avoid panic if printer is off or unreachable for some reason.

Closes #16
Closes #17
Closes #15
This commit is contained in:
2021-05-23 15:21:31 +00:00
parent 27dec52bf7
commit 5864035064
7 changed files with 35 additions and 19 deletions

View File

@@ -115,6 +115,7 @@ const (
SuccessfulOkIgnoredOrSubstitutedAttributes statusCode = 0x0001
SuccessfulOkConflictingAttributes statusCode = 0x0002
ClientErrorBadRequest statusCode = 0x0400
ServerErrorServiceUnavailable statusCode = 0x0502
)
type versionNumber uint16