Skip to main content

getSpeedInfo

Get the current position and speed of a printer.

Parameter

KeyTypeDescription
printerstringPrinter ID.

Return value

An object with the following keys:

KeyTypeDescription
positionnumberCurrent position in meters.
speednumberCurrent speed in meters per second.