method PrinterService.updateProgressBar
PrinterService.updateProgressBar(
handle: number,
current: number,
message?: string,
): void

Update a specific progress bar.

Parameters

handle: number

the handle referring to the progress bar to be updated.

current: number

the current value to set on the progress bar.

optional
message: string

an optional message to set on the progress bar, if not specified the initially specified message will be displayed.

Return Type

void

Usage

import type PrinterService from ".";