public sealed class PrintJobTemplate
A complete print job as JSON template: optional leading label, the record label and an optional trailing label, plus job options. Load it from one JSON file or from three separate label templates; it always produces ONE job (one ZPL stream / file).
Constructors
| Signature | Description |
# PrintJobTemplate() | |
Properties
Methods
| Method Signature | Returns | Description |
# For<T>() | LabelBinding<T> | Creates the configured data binding for records of type T. |
static # FromFiles(string leadingFile, string labelFile, string trailingFile) | PrintJobTemplate | Loads three label template files into one job (pass null for missing leading/trailing files). |
static # FromJson(string json) | PrintJobTemplate | |
static # FromLabels(string labelJson, string? leadingJson = default, string? trailingJson = default) | PrintJobTemplate | Builds a job from three separate label templates (leading and trailing are optional). |
# SaveFiles(string leadingFile, string labelFile, string trailingFile) | void | Writes the three labels as separate template files (leading/trailing only if present). |
# ToJson() | string | Whole job (all three labels + options) as one JSON document. |