waitForImage
Wait for a image to be ready for printing, or for any errors processing the image. This call will block while the image is being processed. If the image is ready when making this call, it will return immediately.
Parameter
| Key | Type | Description |
|---|---|---|
| printer | string | Printer ID. |
| name | string | The name of the image to wait for. |
Returns
The state of the image. Either OK, BAD or OUT_OF_MEMORY.
Example
waitForImage "My Image"