PEC top-level constant

String const PEC

Presentation Expand Or Contract.

Representation: CSI s \x20 \x5A

Parameter default value: s = 0

PEC is used to establish the spacing and the extent of the graphic characters for subsequent text. The spacing is specified in the line as multiples of the spacing established by the most recent occurrence of SET CHARACTER SPACING (SCS) or of SELECT CHARACTER SPACING (SHS) or of SPACING INCREMENT (SPI) in the data stream. The extent of the characters is implicitly established by these control functions. The established spacing and the extent remain in effect until the next occurrence of PEC, of SCS, of SHS or of SPI in the data stream. The parameter values are:

  • 0 - normal (as specified by SCS, SHS or SPI)
  • 1 - expanded (multiplied by a factor not greater than 2)
  • 2 - condensed (multiplied by a factor not less than 0,5)

Implementation

const String PEC = ' Z';