DeviceHub: To Configure Push Notifications and Polling
In the following implementation activity, you will learn how to configure push notifications and polling in DeviceHub.
Story
Suppose that you are a technical specialist in your company and you have installed DeviceHub. Now you need to configure the way DeviceHub receives print and scan jobs to ensure fast and reliable document printing and scanning.
Process Overview
On the General tab of the configuration window of DeviceHub, you will configure methods of retrieving print and scan jobs.
Step 1: Enabling Push Notifications
To enable push notifications, do the following:
- Navigate
to DeviceHub main window.Note:DeviceHub must be run with administrator privileges; otherwise, some of its functions may be unavailable.
to view the
- On the application’s main menu, click Configuration window. (If you are running DeviceHub for the first time, the Configuration window opens automatically.) to open the
- In the Methods of retrieving print jobs section, select
the Use push notifications check box.
The application will now receive push notifications sent by MYOB Acumatica.
Step 2: Configuring Polling
To configure polling of MYOB Acumatica for print and scan jobs, do the following in the Configuration window, which has been opened in the previous step:
- In the Methods of retrieving print jobs section, select the Poll regularly check box.
- In the Poll every x sec box, specify
60.
In the previous step, you have enabled push notifications, which will be the primary method for retrieving print and scan jobs. You are configuring polling only as a backup method to ensure that no jobs are missed. Therefore, there is no need to set a more frequent interval.
- Select the Poll on start or reconnection check box.
DeviceHub will retrieve print and scan jobs every time it starts after a stop or pause.
You have configured the retrieval of print and scan jobs for DeviceHub. Now you need to add a printer, as described in Printers: To Add a Printer to DeviceHub.
Optionally, you first configure the DeviceHub log, as described in DeviceHub: To Configure the DeviceHub Log.