# Send-OfficePdfPrinter

Prepares PDF sheets and submits them to an explicitly named printer. Requires PowerShell 7.4 or newer.

Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

[View on GitHub](https://github.com/EvotecIT/OfficeIMO/tree/master/PowerShell/PSWriteOffice) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteOffice/releases/tag/v3.0.5) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteOffice/0.2.0)

Stars **725**

Forks **84**

Open issues **3**

Total downloads **5,231,343**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-23

Cmdlet 

**Module**

`PSWriteOffice`

**Inputs**

`None`

**Outputs**

`OfficeIMO.Workflows.PdfPrintSubmission`

**Source**

[SendOfficePdfPrinterCommand.cs:21](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/Pdf/SendOfficePdfPrinterCommand.cs#L21) 

Prepares PDF sheets and submits them to an explicitly named printer. Requires PowerShell 7.4 or newer.

## Syntax

```
Send-OfficePdfPrinter
[-Copies <Int32>]
[-Dpi <Double>]
[-Duplex <PrinterDefault|SingleSided|LongEdge|ShortEdge>]
[-Margin <Double>]
[-Orientation <Automatic|Portrait|Landscape>]
[-OutputFilePath <String>]
[-Pages <String>]
[-PagesPerSheet <1|2|4>]
[-PaperSize <PageSize>]
[-PaperSourceId <String>]
[-Password <String>]
[-Path] <String>
-PrinterName <String>
[-ScaleMode <Fit|ActualSize|Fill>]
[<CommonParameters>]
```

[#](#method-send-officepdfprinter-int32-double-string-double-string-string-string-int32-pagesize-string-string-string-string-string)

Parameter set: `All Parameter Sets`

## Description

The returned receipt proves queue acceptance. It does not prove physical delivery. Check the queue after an interrupted submission before retrying.

## Examples

### Print selected PDF pages as two pages per sheet.

```powershell
Send-OfficePdfPrinter -Path .\Report.pdf -PrinterName 'Office printer' -Pages '1-3' -PagesPerSheet 2 -Duplex LongEdge
```

## Parameters

**-Copies Int32 optional**

Copies submitted to the queue.

**-Dpi Double optional**

Prepared sheet resolution.

**-Duplex String optional**

Duplex setting.

Possible values: `PrinterDefault`, `SingleSided`, `LongEdge`, `ShortEdge`

**-Margin Double optional**

Printable margin in points.

**-Orientation String optional**

Paper orientation.

Possible values: `Automatic`, `Portrait`, `Landscape`

**-OutputFilePath String optional**

New destination file for a Windows file printer.

**-Pages String optional**

Page selection such as 1-3,last.

**-PagesPerSheet Int32 optional**

Source pages per sheet.

Possible values: `1`, `2`, `4`

**-PaperSize PageSize optional**

PDF paper size, default A4.

**-PaperSourceId String optional**

Paper source identifier reported for this queue.

**-Password String optional**

Password for an encrypted PDF; printing permissions remain enforced.

**-Path String requiredposition: 0**

Local PDF source.

**-PrinterName String required**

Installed queue from Get-OfficePrinter.

**-ScaleMode String optional**

Scaling of source pages.

Possible values: `Fit`, `ActualSize`, `Fill`

## Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see [about_CommonParameters](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:53AFC234A8CA24A7D2AB8942C89114DD00DBD57DB5D4FE33EA9962629DABA66B -->
