btPrinterIsConnected
Description
Checks whether a printer is connected to the device.
Input / Parameter
N/A
Output
N/A
Callback
yesCallback
The function to be executed if the printer is connected.
noCallback
The function to be executed if the printer is not connected.
Video
Coming Soon.
Example
The user wants to check whether a printer is connected to their device.
Steps
Call the function
btPrinterIsConnected
in a button component.Call the function
infoDialog
in the callbacks of thebtPrinterIsConnected
function.
Result
Select the printer to check from the combobox.
Press the Is Connected button. If the printer is connected to the device, the success infoDialog will appear. If the printer is not connected, the error dialog will appear.
Links
Last updated