Skip to main content

disconnect

disconnectโ€‹

Ends communication with the printer.

Returnsโ€‹

Promise<void>

Errorsโ€‹

Error statusDescription
ERR_MEMORYNecessary memory could not be allocated.
ERR_FAILUREAn unknown error occurred.
ERR_PROCESSINGCould not run the process.
ERR_DISCONNECTFailed to disconnect the device. Tried to terminate communication with a printer during reconnection process.