zplCore.comzplCore.com
class11 members

ZplPrintEstimateOptions

public sealed class ZplPrintEstimateOptions

Assumptions of ZplPrinterTwin.Estimate; every default is listed in ZplPrintEstimate.Assumptions.

Constructors

SignatureDescription
# ZplPrintEstimateOptions()

Properties

PropertyTypeDescription
BackfeedMm { get; set; }double?Backfeed distance per label in mm (tear-off, peel, cutter); null = not included (the distance is model-specific and not in the profiles).
BytesPerSecond { get; set; }double?Effective link throughput in bytes per second; null = the assumed value of ZplPrintEstimateOptions.Link (see ZplPrintEstimateOptions.AssumedBytesPerSecond).
CutSeconds { get; set; }double?Time per cut in seconds; null = not included (not stated in the profile sources).
DefaultPrintSpeedIps { get; set; }double?Print speed when the job has no ^PR (the printer then uses its stored setting); null = the model's maximum speed.
FieldValues { get; set; }IReadOnlyDictionary<int, string>Field values for ^FN fields.
FormatSeconds { get; set; }doubleTime a label takes to format before printing starts, in seconds (default 0: not included).
GapMm { get; set; }doubleGap or mark between labels in mm, fed at print speed (default 0: not included).
MaxRenderedLabels { get; set; }intLabels the job may produce before the estimate extrapolates per format instead of rendering every copy (default 200).

Methods

Method SignatureReturnsDescription
static # AssumedBytesPerSecond(ZplPrinterLink link)doubleAssumed effective throughput in bytes per second (an assumption, not a measurement; printers are often limited by their own data processing, not by the link): USB 1 MB/s, Ethernet 2 MB/s, Wi-Fi 500 KB/s, Bluetooth 20 KB/s, serial 960 B/s (9600 baud, 10 bits per byte).