---
title: "PrintControl"
slug: "api/basket/types/printcontrol"
sidebar:
  order: 292
---

<a id="ref-fb012f4182fe"></a>
<a id="ref-88c08c0276d2"></a>
<a id="ref-7e1af3cf498d"></a>

## Synopsis

```text
enum PrintControl {
    Never,
    PositionAlways,
    PositionNonZero,
    PositionChanged,
    PositionChangedNonZero,
    HeaderAlways,
    HeaderNonZero,
    HeaderChanged,
    HeaderChangedNonZero
}
```

Defines when to print a condition.

**Never**

Condition should never be shown on print-out.

**PositionAlways**

Always show condition on print-out of article.

**PositionNonZero**

Print article condition if not zero.

**PositionChanged**

Print article condition if changed by user.

**PositionChangedNonZero**

Print article condition if changed by user and not zero.

**HeaderAlways**

Always show header condition on print-out of article.

**HeaderNonZero**

Print header condition if not zero.

**HeaderChanged**

Print header condition if changed by user.

**HeaderChangedNonZero**

Print header condition if changed by user and not zero.
