---
name: PPT To PDF
slug: ppt-to-pdf
category: Automation
description: PPT To PDF converts PowerPoint files into PDF format. Use it when you need to turn PPT or PPTX slides into a PDF.
github: "https://github.com/CoderWanFeng/python-office/tree/develop/skills/ppt/ppt2pdf"
language: Python
stars: 1339
forks: 301
install: "npx degit https://github.com/CoderWanFeng/python-office/tree/develop/skills/ppt/ppt2pdf ~/.claude/skills/ppt2pdf"
installs_to: ~/.claude/skills/ppt2pdf
source_path: skills/ppt/ppt2pdf/SKILL.md
collection_size: 50
category_size: 1523
collection_url: "https://dirskills.com/collections/CoderWanFeng/python-office"
added: 2026-08-12T04:43:10.171Z
last_synced: 2026-08-12T04:43:10.171Z
canonical_url: "https://dirskills.com/skills/ppt-to-pdf"
---

# PPT To PDF

PPT To PDF converts PowerPoint files into PDF format. Use it when you need to turn PPT or PPTX slides into a PDF.

**Install:**

```bash
npx degit https://github.com/CoderWanFeng/python-office/tree/develop/skills/ppt/ppt2pdf ~/.claude/skills/ppt2pdf
```

## README

# ppt2pdf Skill

> 将 PPT 转换为 PDF

## 功能描述

将 PowerPoint 文件转换为 PDF 格式。

## 所属分类

`office/skills/ppt/ppt2pdf/`

## 调用方式

```python
from skills.ppt import ppt2pdf

ppt2pdf(
    path='./test.pptx',
    output_path='./'
)
```

## 参数说明

| 参数 | 类型 | 必填 | 默认值 | 说明 |
|------|------|------|--------|------|
| `path` | str | 是 | - | PPT 文件路径 |
| `output_path` | str | 否 | `'./'` | 输出 PDF 文件路径 |

## 返回值

`None`

## 使用示例

```python
from skills.ppt import ppt2pdf
ppt2pdf(path='./presentation.pptx', output_path='./output/')
```

## 原始函数

`office.api.ppt.ppt2pdf`
