# ServerTextControl.FormattingPrinter Property

> Gets or sets the name of a printer the text dimensions and capabilities of which are used to format the document. If the document is printed with this printer the displayed and the printed document have the same dimensions. If the property is set to Standard, the system installed standard printer is used to format the document. If the property is set to Display, the font dimensions of the display device are used to format the document. If the specified printer is not installed, the standard printer is used.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 14.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.Server.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Server.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl > ServerTextControl.FormattingPrinter Property
- **505 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/servertextcontrol/formattingprinter-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/servertextcontrol/formattingprinter-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/servertextcontrol/formattingprinter-property/llms-full.txt

---

### Description

Gets or sets the name of a printer the text dimensions and capabilities of which are used to format the document. If the document is printed with this printer the displayed and the printed document have the same dimensions. If the property is set to `Standard`, the system installed standard printer is used to format the document. If the property is set to `Display`, the font dimensions of the display device are used to format the document. If the specified printer is not installed, the standard printer is used.

### Syntax

```csharp
public string FormattingPrinter { get; set; }
```

```vbnet
Public Property FormattingPrinter As String
```

### Examples

The following example uses `ServerTextControl.FormattingPrinter` to configure formatting printer as part of the server text control workflow. The configured value is checked before the workflow continues.

```csharp
textControl.FormattingPrinter = "0.00";
if (!string.IsNullOrWhiteSpace(textControl.FormattingPrinter))
{
    Console.WriteLine($"Formatting Printer: {textControl.FormattingPrinter}");
}
```

```vbnet
textControl.FormattingPrinter = "0.00"
If Not String.IsNullOrWhiteSpace(textControl.FormattingPrinter) Then
    Console.WriteLine($"Formatting Printer: {textControl.FormattingPrinter}")
End If
```

---

## Nearby

- **Previous:** [ServerTextControl.ForeColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/servertextcontrol/forecolor-property/llms-full.txt)
- **Next:** [ServerTextControl.FormFields Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/servertextcontrol/formfields-property/llms-full.txt)
