fixed data type for status codes

This commit is contained in:
Fabian Weber 2020-03-09 12:28:15 +01:00
parent f2562dc04a
commit ba0594054f
1 changed files with 63 additions and 63 deletions

View File

@ -1,69 +1,69 @@
package ipp
const (
StatusCupsInvalid uint8 = -1
StatusOk uint8 = 0x0000
StatusOkIgnoredOrSubstituted uint8 = 0x0001
StatusOkConflicting uint8 = 0x0002
statusOkIgnoredSubscriptions uint8 = 0x0003
statusOkIgnoredNotifications uint8 = 0x0004
statusOkTooManyEvents uint8 = 0x0005
statusOkButCancelSubscription uint8 = 0x0006
statusOkEventsComplete uint8 = 0x0007
statusRedirectionOtherSite uint8 = 0x0200
statusCupsSeeOther uint8 = 0x0280
statusErrorBadRequest uint8 = 0x0400
StatusErrorForbidden uint8 = 0x0401
StatusErrorNotAuthenticated uint8 = 0x0402
StatusErrorNotAuthorized uint8 = 0x0403
StatusErrorNotPossible uint8 = 0x0404
StatusErrorTimeout uint8 = 0x0405
StatusErrorNotFound uint8 = 0x0406
StatusErrorGone uint8 = 0x0407
StatusErrorRequestEntity uint8 = 0x0408
StatusErrorRequestValue uint8 = 0x0409
StatusErrorDocumentFormatNotSupported uint8 = 0x040a
StatusErrorAttributesOrValues uint8 = 0x040b
StatusErrorUriScheme uint8 = 0x040c
StatusErrorCharset uint8 = 0x040d
StatusErrorConflicting uint8 = 0x040e
StatusErrorCompressionError uint8 = 0x040f
StatusErrorDocumentFormatError uint8 = 0x0410
StatusErrorDocumentAccess uint8 = 0x0411
StatusErrorAttributesNotSettable uint8 = 0x0412
StatusErrorIgnoredAllSubscriptions uint8 = 0x0413
StatusErrorTooManySubscriptions uint8 = 0x0414
StatusErrorIgnoredAllNotifications uint8 = 0x0415
StatusErrorPrintSupportFileNotFound uint8 = 0x0416
StatusErrorDocumentPassword uint8 = 0x0417
StatusErrorDocumentPermission uint8 = 0x0418
StatusErrorDocumentSecurity uint8 = 0x0419
StatusErrorDocumentUnprintable uint8 = 0x041a
StatusErrorAccountInfoNeeded uint8 = 0x041b
StatusErrorAccountClosed uint8 = 0x041c
StatusErrorAccountLimitReached uint8 = 0x041d
StatusErrorAccountAuthorizationFailed uint8 = 0x041e
StatusErrorNotFetchable uint8 = 0x041f
StatusErrorCupsAccountInfoNeeded uint8 = 0x049C
StatusErrorCupsAccountClosed uint8 = 0x049d
StatusErrorCupsAccountLimitReached uint8 = 0x049e
StatusErrorCupsAccountAuthorizationFailed uint8 = 0x049f
StatusErrorInternal uint8 = 0x0500
StatusErrorOperationNotSupported uint8 = 0x0501
StatusErrorServiceUnavailable uint8 = 0x0502
StatusErrorVersionNotSupported uint8 = 0x0503
StatusErrorDevice uint8 = 0x0504
StatusErrorTemporary uint8 = 0x0505
StatusErrorNotAcceptingJobs uint8 = 0x0506
StatusErrorBusy uint8 = 0x0507
StatusErrorJobCanceled uint8 = 0x0508
StatusErrorMultipleJobsNotSupported uint8 = 0x0509
StatusErrorPrinterIsDeactivated uint8 = 0x050a
StatusErrorTooManyJobs uint8 = 0x050b
StatusErrorTooManyDocuments uint8 = 0x050c
StatusErrorCupsAuthenticationCanceled uint8 = 0x1000
StatusErrorCupsPki uint8 = 0x1001
StatusErrorCupsUpgradeRequired uint8 = 0x1002
StatusCupsInvalid int16 = -1
StatusOk int16 = 0x0000
StatusOkIgnoredOrSubstituted int16 = 0x0001
StatusOkConflicting int16 = 0x0002
statusOkIgnoredSubscriptions int16 = 0x0003
statusOkIgnoredNotifications int16 = 0x0004
statusOkTooManyEvents int16 = 0x0005
statusOkButCancelSubscription int16 = 0x0006
statusOkEventsComplete int16 = 0x0007
statusRedirectionOtherSite int16 = 0x0200
statusCupsSeeOther int16 = 0x0280
statusErrorBadRequest int16 = 0x0400
StatusErrorForbidden int16 = 0x0401
StatusErrorNotAuthenticated int16 = 0x0402
StatusErrorNotAuthorized int16 = 0x0403
StatusErrorNotPossible int16 = 0x0404
StatusErrorTimeout int16 = 0x0405
StatusErrorNotFound int16 = 0x0406
StatusErrorGone int16 = 0x0407
StatusErrorRequestEntity int16 = 0x0408
StatusErrorRequestValue int16 = 0x0409
StatusErrorDocumentFormatNotSupported int16 = 0x040a
StatusErrorAttributesOrValues int16 = 0x040b
StatusErrorUriScheme int16 = 0x040c
StatusErrorCharset int16 = 0x040d
StatusErrorConflicting int16 = 0x040e
StatusErrorCompressionError int16 = 0x040f
StatusErrorDocumentFormatError int16 = 0x0410
StatusErrorDocumentAccess int16 = 0x0411
StatusErrorAttributesNotSettable int16 = 0x0412
StatusErrorIgnoredAllSubscriptions int16 = 0x0413
StatusErrorTooManySubscriptions int16 = 0x0414
StatusErrorIgnoredAllNotifications int16 = 0x0415
StatusErrorPrintSupportFileNotFound int16 = 0x0416
StatusErrorDocumentPassword int16 = 0x0417
StatusErrorDocumentPermission int16 = 0x0418
StatusErrorDocumentSecurity int16 = 0x0419
StatusErrorDocumentUnprintable int16 = 0x041a
StatusErrorAccountInfoNeeded int16 = 0x041b
StatusErrorAccountClosed int16 = 0x041c
StatusErrorAccountLimitReached int16 = 0x041d
StatusErrorAccountAuthorizationFailed int16 = 0x041e
StatusErrorNotFetchable int16 = 0x041f
StatusErrorCupsAccountInfoNeeded int16 = 0x049C
StatusErrorCupsAccountClosed int16 = 0x049d
StatusErrorCupsAccountLimitReached int16 = 0x049e
StatusErrorCupsAccountAuthorizationFailed int16 = 0x049f
StatusErrorInternal int16 = 0x0500
StatusErrorOperationNotSupported int16 = 0x0501
StatusErrorServiceUnavailable int16 = 0x0502
StatusErrorVersionNotSupported int16 = 0x0503
StatusErrorDevice int16 = 0x0504
StatusErrorTemporary int16 = 0x0505
StatusErrorNotAcceptingJobs int16 = 0x0506
StatusErrorBusy int16 = 0x0507
StatusErrorJobCanceled int16 = 0x0508
StatusErrorMultipleJobsNotSupported int16 = 0x0509
StatusErrorPrinterIsDeactivated int16 = 0x050a
StatusErrorTooManyJobs int16 = 0x050b
StatusErrorTooManyDocuments int16 = 0x050c
StatusErrorCupsAuthenticationCanceled int16 = 0x1000
StatusErrorCupsPki int16 = 0x1001
StatusErrorCupsUpgradeRequired int16 = 0x1002
)
const (