# PrintDialog Method

> Opens the system print dialog and prints the document as chosen there, using the PrintColors, PrintZoom and PrintOffset properties and a print job name.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Method
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > PrintDialog Method
- **272 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/printdialog-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/printdialog-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/printdialog-method/llms-full.txt

---

Opens the system printing dialog and prints a Text Control document as specified through the dialog. This method uses the values specified through the [PrintColors](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/printcolors-property/llms-full.txt), [PrintZoom](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/printzoom-property/llms-full.txt) and [PrintOffset](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/printoffset-property/llms-full.txt) properties.

Introduced: 19.0.

### Syntax

```vbscript
TXTextControl.PrintDialog DocName
```

### Parameters

| Parameter | Description |
|---|---|
| DocName | Specifies the name of the document used for the print job. |

### Return Value

This method has no return value.

### Data Types

| Name | Data type |
|---|---|
| DocName | String |

### Limitations

Needs at least Windows 2000.

### See Also

- [PrintDoc Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/printdoc-method/llms-full.txt)
- [PrintPage Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/printpage-method/llms-full.txt)
- [Programming Category: Printing and Print Preview](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/printing/llms-full.txt)
- [Programming Category: Built-in Dialog Boxes](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/dialog-boxes/llms-full.txt)

---

## Nearby

- **Previous:** [PrintDevice Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/printdevice-property/llms-full.txt)
- **Next:** [PrintDoc Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/printdoc-method/llms-full.txt)
