SYNOPSIS
handle:reset()
DESCRIPTION
Sends a reset command to an USB printer.
Some printer models take this literally and perform a complete cold reset. This looks to the Core4 system as if the USB plug has been pulled and plugged back it. The handle becomes unusable after this. You must close the handle and open the printer device again. Note that it may take a few seconds before the device reappears and can be opened.
RETURN VALUE
On success, returns true. On failure, returns nil. In case of an error, the error can
be retrieved using rawio:lastError().
SEE ALSO
rawio:break, rawio:cts, rawio:dcd, rawio:device, rawio:drain, rawio:dsr, rawio:dtr, rawio:fd, rawio:flush, rawio:name, rawio:rng, rawio:rts, rawio:rxcnt, rawio:setDtr, rawio:setRts, rawio:setupComm, rawio:start, rawio:stop, rawio:txcnt