ZplJobSettings
public sealed class ZplJobSettingsPrinter job settings injected at the start of each label format: print mode, media tracking, media type, orientation, darkness and speed. Unset (null) values are not sent, so the printer keeps its configuration.
Constructors
| Signature | Description |
|---|---|
# ZplJobSettings() |
Properties
| Property | Type | Description |
|---|---|---|
Darkness { get; set; } | int? | Darkness (^MD, -30..30, relative). |
MarkOffset { get; set; } | int? | Black mark offset in dots (^MNM,offset; -80..283). |
MaximumLabelLength { get; set; } | int? | Maximum label length in dots for calibration (^ML). |
MediaLength { get; set; } | int? | Label length in dots (^LL), e.g. the form length for continuous media or the mark-to-mark distance. |
MediaTracking { get; set; } | MediaTracking? | |
MediaType { get; set; } | MediaType? | |
Orientation { get; set; } | JobOrientation | |
PrePeel { get; set; } | bool? | ^MM second parameter: pre-peel (peel-off mode only). |
PrintMode { get; set; } | PrintMode? | |
PrintSpeed { get; set; } | int? | Print speed in inches per second (^PR). |
Methods
| Method Signature | Returns | Description |
|---|---|---|
# Apply(string zpl) | string | Inserts ZplJobSettings.ToZpl after every ^XA of zpl (assumes the default ^ caret). |
# ToZpl() | string | The commands for one format (to insert right after ^XA). |

