archivedPrintJob 资源类型

命名空间:microsoft.graph

重要

Microsoft Graph /beta 版本下的 API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。

表示用于报告目的的打印作业 (完成、中止或取消) “最终状态”的记录。 此类型表示非活动打印作业。

属性

属性 类型 说明
id String 已存档打印作业的 GUID。 此为只读属性。
printerId String 作业排队的打印机 ID。 此为只读属性。
printerName String 作业排队的打印机名称。 此为只读属性。
processingState printJobProcessingState 打印作业的最终处理状态。 只读。
createdDateTime DateTimeOffset 创建作业时的 dateTimeOffset。 此为只读属性。
acquiredDateTime DateTimeOffset 打印机获取作业时的 dateTimeOffset(如果有)。 此为只读属性。
completionDateTime DateTimeOffset 作业完成、取消或中止时的 dateTimeOffset。 此为只读属性。
acquiredByPrinter 布尔值 如果作业是由打印机获取的,则为 True;否则为 false。 此为只读属性。
copiesPrinted Int32 已打印的副本数。 此为只读属性。
pageCount Int32 打印的页总数。 此为只读属性。
blackAndWhitePageCount Int32 打印的黑白页数。 此为只读属性。
colorPageCount Int32 打印的彩色页数。 此为只读属性。
simplexPageCount Int32 单面 (单面) 打印页的数目。 此为只读属性。
duplexPageCount Int32 打印的双面 (双面) 页数。 此为只读属性。
createdBy userIdentity 创建打印作业的用户。 只读。

关系

无。

JSON 表示形式

以下 JSON 表示形式显示了资源类型。

{
  "@odata.type": "#microsoft.graph.archivedPrintJob",
  "id": "String",
  "printerId": "String",
  "printerName": "String",
  "processingState": "String",
  "createdDateTime": "String (timestamp)",
  "acquiredDateTime": "String (timestamp)",
  "completionDateTime": "String (timestamp)",
  "acquiredByPrinter": "Boolean",
  "copiesPrinted": "Integer",
  "pageCount": "Integer",
  "blackAndWhitePageCount": "Integer",
  "colorPageCount": "Integer",
  "simplexPageCount": "Integer",
  "duplexPageCount": "Integer",
  "createdBy": {
    "@odata.type": "microsoft.graph.userIdentity"
  }
}