# Convert PPSM to PDF using Java

> Convert PPSM to PDF in Java. Use Aspose.Slides for Java to save PPSM slide shows as PDF files.

Source: https://products.aspose.com/slides/java/conversion/ppsm-to-pdf/
Updated: 2026-08-11



## Convert PPSM to PDF Using Java

Use [Aspose.Slides for Java](/slides/java/) to load a `PPSM` slide show and save it as a `PDF` file. You can install the `aspose-slides` package in a Maven-based project by adding the repository and dependency below.

### Repository

```xml
<repository>
    <id>AsposeJavaAPI</id>
    <name>Aspose Java API</name>
    <url>https://releases.aspose.com/java/repo/</url>
</repository>
```

### Dependency

```xml
<dependency>
    <groupId>com.aspose</groupId>
    <artifactId>aspose-slides</artifactId>
    <version>version of aspose-slides API</version>
    <classifier>jdk17</classifier>
</dependency>
```

## How to Convert PPSM to PDF via Java

 Java developers can convert a `PPSM` file to `PDF` in just a few lines of code.

1.  Load the `PPSM` file with the `Presentation` class.
1.  Call the `save` method with the output file path and `SaveFormat.Pdf`.
1.  The `PDF` file will be saved at the specified path.

## System Requirements

 Before running the Java conversion sample code, make sure that you have the following prerequisites.

- Microsoft Windows, Linux, macOS, or another OS with a supported Java Runtime Environment.
- Get the latest version of Aspose.Slides for Java from Maven.

### PPSM to PDF Java Conversion Source Code

```java
Presentation presentation = new Presentation("slideshow.ppsm");
try {
    presentation.save("output.pdf", SaveFormat.Pdf);
} finally {
    presentation.dispose();
}
```

## Other Supported Conversions

- [PPSM TO BMP](/slides/java/conversion/ppsm-to-bmp/) — Bitmap Image
- [PPSM TO GIF](/slides/java/conversion/ppsm-to-gif/) — Graphics Interchange Format
- [PPSM TO HTML](/slides/java/conversion/ppsm-to-html/) — Hypertext Markup Language
- [PPSM TO JPEG](/slides/java/conversion/ppsm-to-jpeg/) — JPEG Image
- [PPSM TO ODP](/slides/java/conversion/ppsm-to-odp/) — OpenDocument Presentation Format
- [PPSM TO OTP](/slides/java/conversion/ppsm-to-otp/) — OpenDocument Presentation Template
- [PPSM TO PNG](/slides/java/conversion/ppsm-to-png/) — Portable Network Graphics
- [PPSM TO POT](/slides/java/conversion/ppsm-to-pot/) — PowerPoint 97–2003 Template
- [PPSM TO POTM](/slides/java/conversion/ppsm-to-potm/) — PowerPoint Macro-Enabled Template
- [PPSM TO POTX](/slides/java/conversion/ppsm-to-potx/) — PowerPoint Template
- [PPSM TO PPS](/slides/java/conversion/ppsm-to-pps/) — PowerPoint Slide Show
- [PPSM TO PPSX](/slides/java/conversion/ppsm-to-ppsx/) — PowerPoint Slide Show
- [PPSM TO PPT](/slides/java/conversion/ppsm-to-ppt/) — PowerPoint 97-2003 Presentation
- [PPSM TO PPTM](/slides/java/conversion/ppsm-to-pptm/) — Macro-enabled Presentation File
- [PPSM TO PPTX](/slides/java/conversion/ppsm-to-pptx/) — Open XML Presentation Format
- [PPSM TO SVG](/slides/java/conversion/ppsm-to-svg/) — Scalable Vector Graphics
- [PPSM TO SWF](/slides/java/conversion/ppsm-to-swf/) — SWF Format
- [PPSM TO TIFF](/slides/java/conversion/ppsm-to-tiff/) — Tagged Image File Format
- [PPSM TO XPS](/slides/java/conversion/ppsm-to-xps/) — XML Paper Specification
