Color

Color PCL output can be generated from RGB pixmaps with alpha (though the alpha is ignored) using:


\begin{lstlisting}
void fz_save_pixmap_as_pcl(fz_context *ctx, fz_pixmap *pixmap...
...z_context *ctx, fz_output *out, const fz_pcl_options *options);
\end{lstlisting}

This is 24bpp RGB output, relying on the printers ability to dither. Blank lines are skipped, repeated lines are coded efficiently, and other lines are coded using deltas. Nonetheless file sizes can still be large with this output method.