Note: An event is fired when the status of the job is changed. This is only fired for the jobs created by this extension.
Next, you’ll create a table to show all print jobs from this extension in the printers.html
.
Update your printers.html with the following code:
Next, add a listener in printers.js
to handle the job status change event and update the jobs table: