Zpl. Document
(zpl v0.3.0)
View Source
Rendered label scenes in source order and native warnings.
The reference retains the original document. Editing labels or warnings
does not alter PDF output. References are opaque, local to this VM.
Summary
Functions
Encodes all labels as a multipage PDF in source order.
Types
@type t() :: %Zpl.Document{ labels: [Zpl.Scene.t()], reference: reference(), warnings: [String.t()] }
Functions
@spec pdf(t(), Zpl.config()) :: Zpl.result(binary())
Encodes all labels as a multipage PDF in source order.
@spec pdf!(t(), Zpl.config()) :: binary()