32
CITIZEN UWP POS Print SDK - Programming Manual
2.3.4. DisconnectAsync method
Syntax
Task<int> DisconnectAsync ()
Parameter
Not exist.
Description
This method is used to disconnect the printer connection.
When the end of the print or errors occur, please disconnect the connection by the execution of this
method.
Return value
Return CMP_SUCCESS(0) in success. Please refer to "
" for the error code except it.
Example
await printer.DisconnectAsync();