Merge pull request #21 from korylprince/master
added tag type for PrinterName
This commit is contained in:
commit
49bca931bb
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue