Function CPR

Source
pub fn CPR(n: Option<u32>, m: Option<u32>) -> ControlFunction<'static>
Expand description

Active Position Report.

If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION, CPR is used to report the active presentation position of the sending device as residing in the presentation component at the n-th line position according to the line progression and at the m-th character position according to the character path.

If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA, CPR is used to report the active data position of the sending device as residing in the data component at the n-th line position according to the line progression and at the m-th character position according to the character progression.

CPR may be solicited by a DEVICE STATUS REPORT (DSR) or be sent unsolicited.

Default value for n and m is 1.