# 'CPI' Logical Characters per Inch

> Source: https://manual.pvxplus.com/mnemonics/cpi

**GUI Printer**

## Format

'CPI'(*chars*)

***Where:***

|  |  |
| --- | --- |
| *chars* | Logical characters per inch. Numeric expression. |

## Description

Use 'CPI'(*chars*) to set the logical CPI (characters per inch) for printing where (as a rough guide to equivalent sizes):

```
Point size - 12 = 6 LPI, 10 CPI
Point size - 10 = 7.2 LPI, 12 CPI
Point size - 7   = 10 LPI, 16 CPI
```

## See Also

**['LPI' Logical Lines/Inch](https://manual.pvxplus.com/mnemonics/lpi)**  
**[TXH( ) Text Height](https://manual.pvxplus.com/functions/txh)**  
**[TXW( ) Text Width](https://manual.pvxplus.com/functions/txw)**

## Example

With both channels (30) and (1) open:

```
print (30)'cpi'(120/7.5),'lpi'(6),Data$
print (1)'cpi'(16),Data$
20
print
```
