Skip to main content

write_dsr_request

Function write_dsr_request 

Source
pub fn write_dsr_request<W: Write>(w: &mut W, dec: bool, ps: u16) -> Result<()>
Expand description

Encode a Device Status Report request.

When dec is false, the format is ESC [ <ps> n; when dec is true, the format is ESC [ ? <ps> n.