Merge pull request #21 from korylprince/master

added tag type for PrinterName
This commit is contained in:
Fabian Weber 2021-05-05 10:01:00 +02:00 committed by GitHub
commit 49bca931bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -344,7 +344,7 @@ const (
AttributePrinterState = "printer-state" AttributePrinterState = "printer-state"
AttributeMemberNames = "member-names" AttributeMemberNames = "member-names"
AttributePrinterType = "printer-type" AttributePrinterType = "printer-type"
AttributePrinterMarkAndModel = "printer-make-and-model" AttributePrinterMakeAndModel = "printer-make-and-model"
AttributePrinterStateMessage = "printer-state-message" AttributePrinterStateMessage = "printer-state-message"
AttributePrinterUriSupported = "printer-uri-supported" AttributePrinterUriSupported = "printer-uri-supported"
AttributeJobMediaProgress = "job-media-progress" AttributeJobMediaProgress = "job-media-progress"
@ -357,7 +357,7 @@ const (
var ( var (
DefaultClassAttributes = []string{AttributePrinterName, AttributeMemberNames} DefaultClassAttributes = []string{AttributePrinterName, AttributeMemberNames}
DefaultPrinterAttributes = []string{AttributePrinterName, AttributePrinterType, AttributePrinterLocation, AttributePrinterInfo, DefaultPrinterAttributes = []string{AttributePrinterName, AttributePrinterType, AttributePrinterLocation, AttributePrinterInfo,
AttributePrinterMarkAndModel, AttributePrinterState, AttributePrinterStateMessage, AttributePrinterStateReasons, AttributePrinterMakeAndModel, AttributePrinterState, AttributePrinterStateMessage, AttributePrinterStateReasons,
AttributePrinterUriSupported, AttributeDeviceURI, AttributePrinterIsShared} AttributePrinterUriSupported, AttributeDeviceURI, AttributePrinterIsShared}
DefaultJobAttributes = []string{AttributeJobID, AttributeJobName, AttributePrinterURI, AttributeJobState, AttributeJobStateReason, DefaultJobAttributes = []string{AttributeJobID, AttributeJobName, AttributePrinterURI, AttributeJobState, AttributeJobStateReason,
AttributeJobHoldUntil, AttributeJobMediaProgress, AttributeJobKilobyteOctets, AttributeNumberOfDocuments, AttributeCopies, AttributeJobHoldUntil, AttributeJobMediaProgress, AttributeJobKilobyteOctets, AttributeNumberOfDocuments, AttributeCopies,
@ -399,6 +399,7 @@ var (
AttributePrinterInfo: TagText, AttributePrinterInfo: TagText,
AttributePrinterIsAcceptingJobs: TagBoolean, AttributePrinterIsAcceptingJobs: TagBoolean,
AttributePrinterIsShared: TagBoolean, AttributePrinterIsShared: TagBoolean,
AttributePrinterName: TagName,
AttributePrinterLocation: TagText, AttributePrinterLocation: TagText,
AttributePrinterResolution: TagResolution, AttributePrinterResolution: TagResolution,
AttributePrinterState: TagEnum, AttributePrinterState: TagEnum,