zplCore.comzplCore.com

Gs1MigrationOptions

public sealed class Gs1MigrationOptions

Settings of ZplGs1Migration.Migrate.

Constructors

SignatureDescription
# Gs1MigrationOptions()

Properties

PropertyTypeDescription
AdditionalElements { get; }IList<Gs1Element>Extra elements to encode, e.g. new("10", "ABC123") or new("17", "271231") when batch and expiry are only printed as text. They must not contradict data found on the label.
CarriedAis { get; }ISet<string>AIs that are carried over from GS1 element strings found on the label (GS1-128, GS1 DataBar Expanded) besides the GTIN. Default: batch/lot (10), production/packaging/best-before/sell-by/expiry dates (11, 13, 15, 16, 17), serial (21), CPV (22), expiry date and time (7003). Clear the set to encode the GTIN only.
Carrier { get; set; }Gs1MigrationCarrier2D carrier to add (default QR Code with GS1 Digital Link URI).
CarryAllAis { get; set; }boolCarry every AI found on the label (overrides Gs1MigrationOptions.CarriedAis).
ClearanceMm { get; set; }doubleMinimum distance in mm between the 2D symbol and other printing (at least its quiet zone; default 1 mm).
DefaultLabelHeightMm { get; set; }doubleLabel height in mm when the ZPL has no ^LL (default 152.4 mm).
DefaultLabelWidthMm { get; set; }doubleLabel width in mm when the ZPL has no ^PW (default 101.6 mm).
DigitalLinkStem { get; set; }stringDomain (and optional path prefix) of the Digital Link URI, e.g. "https://brand.example.com". Default Gs1DigitalLink.DefaultStem (https://id.gs1.org). Ignored for Gs1MigrationCarrier.DataMatrixElementString.
Dpi { get; set; }intPrint resolution in dpi (default 203); all mm values are computed with it.
EdgeMarginMm { get; set; }doubleMinimum distance in mm between the 2D symbol and the label edge (at least its quiet zone; default 1.5 mm).
FieldValues { get; set; }IReadOnlyDictionary<int, string>Values for ^FN fields (as in ZplRenderSettings.FieldValues).
IfNoSpace { get; set; }Gs1MigrationNoSpaceActionWhat to do when no free area is found (default Gs1MigrationNoSpaceAction.Report).
ModuleMm { get; set; }doubleTarget X-dimension (module size) of the 2D symbol in mm (default 0.495, the target of GS1 General Specifications Table 5-46 for retail POS). It is rounded to whole dots and kept within 0.396–0.990 mm; when the symbol does not fit, smaller modules down to the 0.396 mm minimum are tried.
QrErrorCorrection { get; set; }charQR Code error correction level L, M, Q or H (default M). Ignored for Data Matrix.