> For the complete documentation index, see [llms.txt](https://docs.santacruzsoftware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.santacruzsoftware.com/printui/reference/template-rules-and-limits.md).

# Template Rules and Limits

## Updating existing templates

To preserve existing jobs when replacing a template, keep the template name, page sizes, units, text frames, and image frames compatible. Background and other non-editable artwork can usually change more freely.

Upload major redesigns as new templates.

## Fonts

Use `.ttf` or `.otf` fonts. Fonts must be licensed for server use and embeddable in PDFs when PDF output is required.

Avoid Adobe Fonts, old PostScript conversions, mixed font formats in one family, and problematic fonts such as Arial Black where InDesign may behave unpredictably.

## Links

All links must be local. Use InDesign Package when links originate from network drives, synced folders, Creative Cloud Libraries, or other remote locations.

## Images

Keep source images near the needed output size. Extremely large images can cause upload, preview, and output problems.

Avoid ZIP packages larger than the account upload limit. Existing PrintUI guidance identifies 700 MB as a practical upload limit for template ZIPs.

## PDF size restrictions

InDesign can have problems generating PDFs when:

* Font sizes exceed 720 points.
* Page size exceeds 200 inches.
* An image dimension exceeds 10,000 pixels.

For very large physical output, design at scale and use PrintUI scaling settings so users see appropriate effective font sizes.

## Complexity

PrintUI calculates template complexity during upload. If users may add unpredictable content, set the content type accordingly and test worst-case output.

Complex jobs may need special output processing through API parameters. See [Job Complexity](/printui/guides/job-complexity.md) for guidance on content type, timeout symptoms, and complex processing.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.santacruzsoftware.com/printui/reference/template-rules-and-limits.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
