Skip to main content

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

KeyTypeDescription
printerstringPrinter ID.
namestringThe name of the image to wait for.

Returns

The state of the image. Either OK, BAD or OUT_OF_MEMORY.

Example

waitForImage "My Image"