marklife / core/src / encodeJbigJob
Function: encodeJbigJob()
encodeJbigJob(
engine,page):Uint8Array
Encode a marklife-jbig print job.
Parameters
engine
page
Returns
Uint8Array
Throws
for protocolId 10 (X8 / U210), which is a different wire protocol, and for any id other than 7 or 12.
Throws
from jbigEncode until the WASM build of libjbigkit ships (DECISIONS.md § D4).