Skip to content

printImageData

Description

Converts an image into printer‑ready data and sends it to the printer.
Color images are converted to monochrome through binarization.

Syntax

public func printImageData(_ image: UIImage, binarization: SIISLP800Binarization = .threshold) async throws

Parameter

image

Specify an object of type UIKit.UIImage.

binarization

Specify the binarization method for the image using SIISLP800Binarization.
Choose one of the following values:

Value Binarization method
.threshold Threshold
.errorDiffusion Error Diffusion