zplCore.comzplCore.com

ZplJobSettings

public sealed class ZplJobSettings

Printer 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

SignatureDescription
# ZplJobSettings()

Properties

PropertyTypeDescription
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 SignatureReturnsDescription
# Apply(string zpl)stringInserts ZplJobSettings.ToZpl after every ^XA of zpl (assumes the default ^ caret).
# ToZpl()stringThe commands for one format (to insert right after ^XA).