# 页面设置

配置工作表的打印版式 —— 纸张大小、边距、方向、缩放、页眉页脚、重复打印行 / 列、打印区域、分页符、按页缩放等。

本节内容：

* 纸张：[纸张大小](/zhong-wen-jian-ti/page-setup/paper.md)、[纸张边距](/zhong-wen-jian-ti/page-setup/margins.md)、[纸张方向](/zhong-wen-jian-ti/page-setup/orientation.md)
* 缩放与方向：[打印缩放](/zhong-wen-jian-ti/page-setup/scale.md)、[横向打印](/zhong-wen-jian-ti/page-setup/landscape.md)、[纵向打印](/zhong-wen-jian-ti/page-setup/portrait.md)、[按页缩放](/zhong-wen-jian-ti/page-setup/fit-to-pages.md)
* 内容：[页眉与页脚](/zhong-wen-jian-ti/page-setup/header-footer.md)、[重复打印行](/zhong-wen-jian-ti/page-setup/repeat-rows.md)、[重复打印列](/zhong-wen-jian-ti/page-setup/repeat-columns.md)、[打印区域](/zhong-wen-jian-ti/page-setup/print-area.md)、[分页符](/zhong-wen-jian-ti/page-setup/page-breaks.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://xlswriter-docs.viest.me/zhong-wen-jian-ti/page-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
