# PrintLayoutOptions Interface

> PrintLayoutOptions interface in the Node.js TypeScript API: Print context and optional measured row heights used to produce deterministic page breaks.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > PrintLayoutOptions Interface
- **366 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/printlayoutoptions/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/printlayoutoptions/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/printlayoutoptions/llms-full.txt

---

Print context and optional measured row heights used to produce deterministic page breaks.

Package: `@txtextcontrol/tx-sheet-control-server`. Version: **2.0.0**.

Related workbook object-model type, returned through the server control. Obtain it from its owning workbook or collection; it is not a required browser-package import.

### Members

#### Properties

| Property | Description |
|---|---|
| [date](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/printlayoutoptions/date-property/llms-full.txt) | The date value of PrintLayoutOptions. |
| [fileName](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/printlayoutoptions/filename-property/llms-full.txt) | The fileName value of PrintLayoutOptions. |
| [filePath](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/printlayoutoptions/filepath-property/llms-full.txt) | The filePath value of PrintLayoutOptions. |
| [locale](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/printlayoutoptions/locale-property/llms-full.txt) | The locale value of PrintLayoutOptions. |
| [rowHeights](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/printlayoutoptions/rowheights-property/llms-full.txt) | Optional font-measured unscaled row heights for headless renderers. Browser controls use their measured geometry. |

### Examples

Configure PrintLayoutOptions for an invoice or sales-report workflow. Supply font and document resources from the application where the example accepts them as inputs.

```typescript
const printLayoutSettings = { rowHeights: [] };
```

### See Also

- [TypeScript Node.js Server API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/llms-full.txt)
- [Exporting Worksheets to PDF](https://docs.textcontrol.com/tx-sheet-control/pdf/export/llms-full.txt)

---

## In This Section

- [PrintLayoutOptions.date Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/printlayoutoptions/date-property/llms-full.txt): PrintLayoutOptions.date property in the TX Sheet Control TypeScript API for Node.js, with its type string | Date | undefined and a TypeScript example.
- [PrintLayoutOptions.fileName Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/printlayoutoptions/filename-property/llms-full.txt): PrintLayoutOptions.fileName property in the TX Sheet Control TypeScript API for Node.js, with its type string | undefined and a TypeScript example.
- [PrintLayoutOptions.filePath Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/printlayoutoptions/filepath-property/llms-full.txt): PrintLayoutOptions.filePath property in the TX Sheet Control TypeScript API for Node.js, with its type string | undefined and a TypeScript example.
- [PrintLayoutOptions.locale Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/printlayoutoptions/locale-property/llms-full.txt): PrintLayoutOptions.locale property in the TX Sheet Control TypeScript API for Node.js, with its type string | undefined and a TypeScript example.
- [PrintLayoutOptions.rowHeights Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/printlayoutoptions/rowheights-property/llms-full.txt): PrintLayoutOptions.rowHeights property in the TX Sheet Control TypeScript API for Node.js: Optional font-measured unscaled row heights for headless renderers.

---

## Nearby

- **Previous:** [PrintLayout.version Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/printlayout/version-property/llms-full.txt)
- **Next:** [PrintLayoutOptions.date Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/printlayoutoptions/date-property/llms-full.txt)
