Share via


New-MgBetaPrintPrinterJob

Create a new printJob for a printer.

Note

To view the v1.0 release of this cmdlet, view New-MgPrintPrinterJob

Syntax

CreateExpanded (Default)

New-MgBetaPrintPrinterJob
    -PrinterId <String>
    [-ResponseHeadersVariable <String>]
    [-AcknowledgedDateTime <DateTime>]
    [-AdditionalProperties <Hashtable>]
    [-CompletedDateTime <DateTime>]
    [-Configuration <IMicrosoftGraphPrintJobConfiguration>]
    [-CreatedBy <IMicrosoftGraphUserIdentity>]
    [-CreatedDateTime <DateTime>]
    [-DisplayName <String>]
    [-Documents <IMicrosoftGraphPrintDocument[]>]
    [-ErrorCode <Int32>]
    [-Id <String>]
    [-IsFetchable]
    [-RedirectedFrom <String>]
    [-RedirectedTo <String>]
    [-Status <IMicrosoftGraphPrintJobStatus>]
    [-Tasks <IMicrosoftGraphPrintTask[]>]
    [-Headers <IDictionary>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Create

New-MgBetaPrintPrinterJob
    -PrinterId <String>
    -BodyParameter <IMicrosoftGraphPrintJob>
    [-ResponseHeadersVariable <String>]
    [-Headers <IDictionary>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

CreateViaIdentityExpanded

New-MgBetaPrintPrinterJob
    -InputObject <IDevicesCloudPrintIdentity>
    [-ResponseHeadersVariable <String>]
    [-AcknowledgedDateTime <DateTime>]
    [-AdditionalProperties <Hashtable>]
    [-CompletedDateTime <DateTime>]
    [-Configuration <IMicrosoftGraphPrintJobConfiguration>]
    [-CreatedBy <IMicrosoftGraphUserIdentity>]
    [-CreatedDateTime <DateTime>]
    [-DisplayName <String>]
    [-Documents <IMicrosoftGraphPrintDocument[]>]
    [-ErrorCode <Int32>]
    [-Id <String>]
    [-IsFetchable]
    [-RedirectedFrom <String>]
    [-RedirectedTo <String>]
    [-Status <IMicrosoftGraphPrintJobStatus>]
    [-Tasks <IMicrosoftGraphPrintTask[]>]
    [-Headers <IDictionary>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

CreateViaIdentity

New-MgBetaPrintPrinterJob
    -InputObject <IDevicesCloudPrintIdentity>
    -BodyParameter <IMicrosoftGraphPrintJob>
    [-ResponseHeadersVariable <String>]
    [-Headers <IDictionary>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

Create a new printJob for a printer.

Permissions

Permission type Permissions (from least to most privileged)
Delegated (work or school account) PrintJob.Create, PrintJob.ReadWriteBasic.All, PrintJob.ReadWriteBasic, PrintJob.ReadWrite.All, PrintJob.ReadWrite,
Delegated (personal Microsoft account) Not supported
Application Not supported

Examples

Example 1: Code snippet


Import-Module Microsoft.Graph.Beta.Devices.CloudPrint

$params = @{
	displayName = "testjob"
	configuration = @{
		feedOrientation = "longEdgeFirst"
		pageRanges = @(
			@{
				start = 1
				end = 1
			}
		)
		quality = "medium"
		dpi = 600
		orientation = "landscape"
		copies = 1
		duplexMode = "oneSided"
		colorMode = "blackAndWhite"
		inputBin = "by-pass-tray"
		outputBin = "output-tray"
		mediaSize = "A4"
		margin = @{
			top = 0
			bottom = 0
			left = 0
			right = 0
		}
		mediaType = "stationery"
		finishings = $null
		pagesPerSheet = 1
		multipageLayout = "clockwiseFromBottomLeft"
		collate = $false
		scaling = "shrinkToFit"
		fitPdfToPage = $false
	}
}

New-MgBetaPrintPrinterJob -PrinterId $printerId -BodyParameter $params

This example shows how to use the New-MgBetaPrintPrinterJob Cmdlet.

Parameters

-AcknowledgedDateTime

Create a new printJob for a printer.

Permissions

Permission type Permissions (from least to most privileged)
Delegated (work or school account) PrintJob.Create, PrintJob.ReadWriteBasic.All, PrintJob.ReadWriteBasic, PrintJob.ReadWrite.All, PrintJob.ReadWrite,
Delegated (personal Microsoft account) Not supported
Application Not supported

Parameter properties

Type:DateTime
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-AdditionalProperties

Additional Parameters

Parameter properties

Type:Hashtable
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-BodyParameter

printJob To construct, see NOTES section for BODYPARAMETER properties and create a hash table.

Parameter properties

Type:IMicrosoftGraphPrintJob
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Create
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False
CreateViaIdentity
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-CompletedDateTime

Create a new printJob for a printer.

Permissions

Permission type Permissions (from least to most privileged)
Delegated (work or school account) PrintJob.Create, PrintJob.ReadWriteBasic.All, PrintJob.ReadWriteBasic, PrintJob.ReadWrite.All, PrintJob.ReadWrite,
Delegated (personal Microsoft account) Not supported
Application Not supported

Parameter properties

Type:DateTime
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Configuration

printJobConfiguration To construct, see NOTES section for CONFIGURATION properties and create a hash table.

Parameter properties

Type:IMicrosoftGraphPrintJobConfiguration
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-CreatedBy

userIdentity To construct, see NOTES section for CREATEDBY properties and create a hash table.

Parameter properties

Type:IMicrosoftGraphUserIdentity
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-CreatedDateTime

The DateTimeOffset when the job was created. Read-only.

Parameter properties

Type:DateTime
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DisplayName

The name of the print job.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Documents

To construct, see NOTES section for DOCUMENTS properties and create a hash table.

Parameter properties

Type:

IMicrosoftGraphPrintDocument[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ErrorCode

Create a new printJob for a printer.

Permissions

Permission type Permissions (from least to most privileged)
Delegated (work or school account) PrintJob.Create, PrintJob.ReadWriteBasic.All, PrintJob.ReadWriteBasic, PrintJob.ReadWrite.All, PrintJob.ReadWrite,
Delegated (personal Microsoft account) Not supported
Application Not supported

Parameter properties

Type:Int32
Default value:0
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Headers

Optional headers that will be added to the request.

Parameter properties

Type:IDictionary
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-Id

The unique identifier for an entity. Read-only.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Parameter properties

Type:IDevicesCloudPrintIdentity
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateViaIdentityExpanded
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False
CreateViaIdentity
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-IsFetchable

If true, document can be fetched by printer.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-PrinterId

The unique identifier of printer

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
Create
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RedirectedFrom

Contains the source job URL, if the job has been redirected from another printer.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RedirectedTo

Contains the destination job URL, if the job has been redirected to another printer.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ResponseHeadersVariable

Optional Response Headers Variable.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:RHV

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Status

printJobStatus To construct, see NOTES section for STATUS properties and create a hash table.

Parameter properties

Type:IMicrosoftGraphPrintJobStatus
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Tasks

A list of printTasks that were triggered by this print job. To construct, see NOTES section for TASKS properties and create a hash table.

Parameter properties

Type:

IMicrosoftGraphPrintTask[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
CreateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

Microsoft.Graph.Beta.PowerShell.Models.IDevicesCloudPrintIdentity

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphPrintJob

System.Collections.IDictionary

Outputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphPrintJob

Notes

COMPLEX PARAMETER PROPERTIES

To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.

BODYPARAMETER <IMicrosoftGraphPrintJob>: printJob

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [AcknowledgedDateTime <DateTime?>]:
  • [CompletedDateTime <DateTime?>]:
  • [Configuration <IMicrosoftGraphPrintJobConfiguration>]: printJobConfiguration
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Collate <Boolean?>]: Whether the printer should collate pages when printing multiple copies of a multi-page document.
    • [ColorMode <String>]: printColorMode
    • [Copies <Int32?>]: The number of copies that should be printed. Read-only.
    • [Dpi <Int32?>]: The resolution to use when printing the job, expressed in dots per inch (DPI). Read-only.
    • [DuplexMode <String>]: printDuplexMode
    • [FeedOrientation <String>]: printerFeedOrientation
    • [Finishings <String- []>]: Finishing processes to use when printing.
    • [FitPdfToPage <Boolean?>]:
    • [InputBin <String>]: The input bin (tray) to use when printing. See the printer's capabilities for a list of supported input bins.
    • [Margin <IMicrosoftGraphPrintMargin>]: printMargin
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [Bottom <Int32?>]: The margin in microns from the bottom edge.
      • [Left <Int32?>]: The margin in microns from the left edge.
      • [Right <Int32?>]: The margin in microns from the right edge.
      • [Top <Int32?>]: The margin in microns from the top edge.
    • [MediaSize <String>]: The media sizeto use when printing. Supports standard size names for ISO and ANSI media sizes. Valid values are listed in the printerCapabilities topic.
    • [MediaType <String>]: The default media (such as paper) type to print the document on.
    • [MultipageLayout <String>]: printMultipageLayout
    • [Orientation <String>]: printOrientation
    • [OutputBin <String>]: The output bin to place completed prints into. See the printer's capabilities for a list of supported output bins.
    • [PageRanges <IMicrosoftGraphIntegerRange- []>]: The page ranges to print. Read-only.
      • [End <Int64?>]: The inclusive upper bound of the integer range.
      • [Maximum <Int64?>]:
      • [Minimum <Int64?>]:
      • [Start <Int64?>]: The inclusive lower bound of the integer range.
    • [PagesPerSheet <Int32?>]: The number of document pages to print on each sheet.
    • [Quality <String>]: printQuality
    • [Scaling <String>]: printScaling
  • [CreatedBy <IMicrosoftGraphUserIdentity>]: userIdentity
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [DisplayName <String>]: The display name of the identity. This property is read-only.
    • [Id <String>]: The identifier of the identity. This property is read-only.
    • [IPAddress <String>]: Indicates the client IP address associated with the user performing the activity (audit log only).
    • [UserPrincipalName <String>]: The userPrincipalName attribute of the user.
  • [CreatedDateTime <DateTime?>]: The DateTimeOffset when the job was created. Read-only.
  • [DisplayName <String>]: The name of the print job.
  • [Documents <IMicrosoftGraphPrintDocument- []>]:
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [Configuration <IMicrosoftGraphPrinterDocumentConfiguration>]: printerDocumentConfiguration
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [Collate <Boolean?>]:
      • [ColorMode <String>]: printColorMode
      • [Copies <Int32?>]:
      • [Dpi <Int32?>]:
      • [DuplexMode <String>]: printDuplexMode
      • [FeedDirection <String>]: printerFeedDirection
      • [FeedOrientation <String>]: printerFeedOrientation
      • [Finishings <String- []>]:
      • [FitPdfToPage <Boolean?>]:
      • [InputBin <String>]:
      • [Margin <IMicrosoftGraphPrintMargin>]: printMargin
      • [MediaSize <String>]:
      • [MediaType <String>]:
      • [MultipageLayout <String>]: printMultipageLayout
      • [Orientation <String>]: printOrientation
      • [OutputBin <String>]:
      • [PageRanges <IMicrosoftGraphIntegerRange- []>]:
      • [PagesPerSheet <Int32?>]:
      • [Quality <String>]: printQuality
      • [Scaling <String>]: printScaling
    • [ContentType <String>]: The document's content (MIME) type. Read-only.
    • [DisplayName <String>]: The document's name. Read-only.
    • [DownloadedDateTime <DateTime?>]:
    • [Size <Int64?>]: The document's size in bytes. Read-only.
    • [UploadedDateTime <DateTime?>]:
  • [ErrorCode <Int32?>]:
  • [IsFetchable <Boolean?>]: If true, document can be fetched by printer.
  • [RedirectedFrom <String>]: Contains the source job URL, if the job has been redirected from another printer.
  • [RedirectedTo <String>]: Contains the destination job URL, if the job has been redirected to another printer.
  • [Status <IMicrosoftGraphPrintJobStatus>]: printJobStatus
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [AcquiredByPrinter <Boolean?>]:
    • [Description <String>]: A human-readable description of the print job's current processing state. Read-only.
    • [Details <String- []>]: Additional details for print job state. Valid values are described in the following table. Read-only.
    • [IsAcquiredByPrinter <Boolean?>]: True if the job was acknowledged by a printer; false otherwise. Read-only.
    • [ProcessingState <String>]: printJobProcessingState
    • [ProcessingStateDescription <String>]:
    • [State <String>]: printJobProcessingState
  • [Tasks <IMicrosoftGraphPrintTask- []>]: A list of printTasks that were triggered by this print job.
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [Definition <IMicrosoftGraphPrintTaskDefinition>]: printTaskDefinition
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [Id <String>]: The unique identifier for an entity. Read-only.
      • [CreatedBy <IMicrosoftGraphAppIdentity>]: appIdentity
        • [(Any) <Object>]: This indicates any property can be added to this object.
        • [AppId <String>]: Refers to the unique identifier representing application ID in the Microsoft Entra ID.
        • [DisplayName <String>]: Refers to the application name displayed in the Microsoft Entra admin center.
        • [ServicePrincipalId <String>]: Refers to the unique identifier indicating service principal ID in Microsoft Entra ID for the corresponding App.
        • [ServicePrincipalName <String>]: Refers to the Service Principal Name is the Application name in the tenant.
      • [DisplayName <String>]: The name of the printTaskDefinition.
      • [Tasks <IMicrosoftGraphPrintTask- []>]: A list of tasks that have been created based on this definition. The list includes currently running tasks and recently completed tasks. Read-only.
    • [ParentUrl <String>]: The URL for the print entity that triggered this task. For example, https://graph.microsoft.com/beta/print/printers/{printerId}/jobs/{jobId}. Read-only.
    • [Status <IMicrosoftGraphPrintTaskStatus>]: printTaskStatus
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [Description <String>]: A human-readable description of the current processing state of the printTask.
      • [State <String>]: printTaskProcessingState
    • [Trigger <IMicrosoftGraphPrintTaskTrigger>]: printTaskTrigger
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [Id <String>]: The unique identifier for an entity. Read-only.
      • [Definition <IMicrosoftGraphPrintTaskDefinition>]: printTaskDefinition
      • [Event <String>]: printEvent

CONFIGURATION <IMicrosoftGraphPrintJobConfiguration>: printJobConfiguration

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Collate <Boolean?>]: Whether the printer should collate pages when printing multiple copies of a multi-page document.
  • [ColorMode <String>]: printColorMode
  • [Copies <Int32?>]: The number of copies that should be printed. Read-only.
  • [Dpi <Int32?>]: The resolution to use when printing the job, expressed in dots per inch (DPI). Read-only.
  • [DuplexMode <String>]: printDuplexMode
  • [FeedOrientation <String>]: printerFeedOrientation
  • [Finishings <String- []>]: Finishing processes to use when printing.
  • [FitPdfToPage <Boolean?>]:
  • [InputBin <String>]: The input bin (tray) to use when printing. See the printer's capabilities for a list of supported input bins.
  • [Margin <IMicrosoftGraphPrintMargin>]: printMargin
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Bottom <Int32?>]: The margin in microns from the bottom edge.
    • [Left <Int32?>]: The margin in microns from the left edge.
    • [Right <Int32?>]: The margin in microns from the right edge.
    • [Top <Int32?>]: The margin in microns from the top edge.
  • [MediaSize <String>]: The media sizeto use when printing. Supports standard size names for ISO and ANSI media sizes. Valid values are listed in the printerCapabilities topic.
  • [MediaType <String>]: The default media (such as paper) type to print the document on.
  • [MultipageLayout <String>]: printMultipageLayout
  • [Orientation <String>]: printOrientation
  • [OutputBin <String>]: The output bin to place completed prints into. See the printer's capabilities for a list of supported output bins.
  • [PageRanges <IMicrosoftGraphIntegerRange- []>]: The page ranges to print. Read-only.
    • [End <Int64?>]: The inclusive upper bound of the integer range.
    • [Maximum <Int64?>]:
    • [Minimum <Int64?>]:
    • [Start <Int64?>]: The inclusive lower bound of the integer range.
  • [PagesPerSheet <Int32?>]: The number of document pages to print on each sheet.
  • [Quality <String>]: printQuality
  • [Scaling <String>]: printScaling

CREATEDBY <IMicrosoftGraphUserIdentity>: userIdentity

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [DisplayName <String>]: The display name of the identity. This property is read-only.
  • [Id <String>]: The identifier of the identity. This property is read-only.
  • [IPAddress <String>]: Indicates the client IP address associated with the user performing the activity (audit log only).
  • [UserPrincipalName <String>]: The userPrincipalName attribute of the user.

DOCUMENTS <IMicrosoftGraphPrintDocument- []>: .

  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [Configuration <IMicrosoftGraphPrinterDocumentConfiguration>]: printerDocumentConfiguration
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Collate <Boolean?>]:
    • [ColorMode <String>]: printColorMode
    • [Copies <Int32?>]:
    • [Dpi <Int32?>]:
    • [DuplexMode <String>]: printDuplexMode
    • [FeedDirection <String>]: printerFeedDirection
    • [FeedOrientation <String>]: printerFeedOrientation
    • [Finishings <String- []>]:
    • [FitPdfToPage <Boolean?>]:
    • [InputBin <String>]:
    • [Margin <IMicrosoftGraphPrintMargin>]: printMargin
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [Bottom <Int32?>]: The margin in microns from the bottom edge.
      • [Left <Int32?>]: The margin in microns from the left edge.
      • [Right <Int32?>]: The margin in microns from the right edge.
      • [Top <Int32?>]: The margin in microns from the top edge.
    • [MediaSize <String>]:
    • [MediaType <String>]:
    • [MultipageLayout <String>]: printMultipageLayout
    • [Orientation <String>]: printOrientation
    • [OutputBin <String>]:
    • [PageRanges <IMicrosoftGraphIntegerRange- []>]:
      • [End <Int64?>]: The inclusive upper bound of the integer range.
      • [Maximum <Int64?>]:
      • [Minimum <Int64?>]:
      • [Start <Int64?>]: The inclusive lower bound of the integer range.
    • [PagesPerSheet <Int32?>]:
    • [Quality <String>]: printQuality
    • [Scaling <String>]: printScaling
  • [ContentType <String>]: The document's content (MIME) type. Read-only.
  • [DisplayName <String>]: The document's name. Read-only.
  • [DownloadedDateTime <DateTime?>]:
  • [Size <Int64?>]: The document's size in bytes. Read-only.
  • [UploadedDateTime <DateTime?>]:

INPUTOBJECT <IDevicesCloudPrintIdentity>: Identity Parameter

  • [GroupId <String>]: The unique identifier of group
  • [PrintConnectorId <String>]: The unique identifier of printConnector
  • [PrintDocumentId <String>]: The unique identifier of printDocument
  • [PrintJobId <String>]: The unique identifier of printJob
  • [PrintOperationId <String>]: The unique identifier of printOperation
  • [PrintServiceEndpointId <String>]: The unique identifier of printServiceEndpoint
  • [PrintServiceId <String>]: The unique identifier of printService
  • [PrintTaskDefinitionId <String>]: The unique identifier of printTaskDefinition
  • [PrintTaskId <String>]: The unique identifier of printTask
  • [PrintTaskTriggerId <String>]: The unique identifier of printTaskTrigger
  • [PrinterId <String>]: The unique identifier of printer
  • [PrinterShareId <String>]: The unique identifier of printerShare
  • [UserId <String>]: The unique identifier of user

STATUS <IMicrosoftGraphPrintJobStatus>: printJobStatus

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [AcquiredByPrinter <Boolean?>]:
  • [Description <String>]: A human-readable description of the print job's current processing state. Read-only.
  • [Details <String- []>]: Additional details for print job state. Valid values are described in the following table. Read-only.
  • [IsAcquiredByPrinter <Boolean?>]: True if the job was acknowledged by a printer; false otherwise. Read-only.
  • [ProcessingState <String>]: printJobProcessingState
  • [ProcessingStateDescription <String>]:
  • [State <String>]: printJobProcessingState

TASKS <IMicrosoftGraphPrintTask- []>: A list of printTasks that were triggered by this print job.

  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [Definition <IMicrosoftGraphPrintTaskDefinition>]: printTaskDefinition
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [CreatedBy <IMicrosoftGraphAppIdentity>]: appIdentity
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [AppId <String>]: Refers to the unique identifier representing application ID in the Microsoft Entra ID.
      • [DisplayName <String>]: Refers to the application name displayed in the Microsoft Entra admin center.
      • [ServicePrincipalId <String>]: Refers to the unique identifier indicating service principal ID in Microsoft Entra ID for the corresponding App.
      • [ServicePrincipalName <String>]: Refers to the Service Principal Name is the Application name in the tenant.
    • [DisplayName <String>]: The name of the printTaskDefinition.
    • [Tasks <IMicrosoftGraphPrintTask- []>]: A list of tasks that have been created based on this definition. The list includes currently running tasks and recently completed tasks. Read-only.
  • [ParentUrl <String>]: The URL for the print entity that triggered this task. For example, https://graph.microsoft.com/beta/print/printers/{printerId}/jobs/{jobId}. Read-only.
  • [Status <IMicrosoftGraphPrintTaskStatus>]: printTaskStatus
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Description <String>]: A human-readable description of the current processing state of the printTask.
    • [State <String>]: printTaskProcessingState
  • [Trigger <IMicrosoftGraphPrintTaskTrigger>]: printTaskTrigger
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [Definition <IMicrosoftGraphPrintTaskDefinition>]: printTaskDefinition
    • [Event <String>]: printEvent