More types. Printing from chromeos works a little bit.
This commit is contained in:
26
packages/ipp/printerstate_string.go
Normal file
26
packages/ipp/printerstate_string.go
Normal file
@@ -0,0 +1,26 @@
|
||||
// Code generated by "stringer -type printerState ."; DO NOT EDIT.
|
||||
|
||||
package ipp
|
||||
|
||||
import "strconv"
|
||||
|
||||
func _() {
|
||||
// An "invalid array index" compiler error signifies that the constant values have changed.
|
||||
// Re-run the stringer command to generate them again.
|
||||
var x [1]struct{}
|
||||
_ = x[Idle-3]
|
||||
_ = x[Preocessing-4]
|
||||
_ = x[Stopped-5]
|
||||
}
|
||||
|
||||
const _printerState_name = "IdlePreocessingStopped"
|
||||
|
||||
var _printerState_index = [...]uint8{0, 4, 15, 22}
|
||||
|
||||
func (i printerState) String() string {
|
||||
i -= 3
|
||||
if i < 0 || i >= printerState(len(_printerState_index)-1) {
|
||||
return "printerState(" + strconv.FormatInt(int64(i+3), 10) + ")"
|
||||
}
|
||||
return _printerState_name[_printerState_index[i]:_printerState_index[i+1]]
|
||||
}
|
||||
Reference in New Issue
Block a user