27 lines
897 B
C#
27 lines
897 B
C#
///
|
|
/// Copyright (c) 2018-2020 Sensus Slovensko a.s.
|
|
///
|
|
using Common;
|
|
|
|
namespace Results.Output.Printers.Label
|
|
{
|
|
public class LabelPrinterCfg
|
|
{
|
|
public string Template; /// Full path to a 'png' file
|
|
public PageOrientation PageOrientation;
|
|
public int PaperWidth; /// In 0,254 mm = 1/100 in = 100dpi pixels count
|
|
public int PaperHeight; /// In 0,254 mm = 1/100 in = 100dpi pixels count
|
|
public string[] ItemsToPrint;
|
|
public string FontFamily;
|
|
public int FontSize;
|
|
public int FontStyle;
|
|
public System.Globalization.CultureInfo CultureInfo;
|
|
public bool GoodOnly;
|
|
public BarcodeType BarcodeType; /// s/n is printed as barcode when valid (BarcodeType.None < BarcodeType < BarcodeType.Count)
|
|
public int BarcodeLeft;
|
|
public int BarcodeTop;
|
|
public int BarcodeWidth;
|
|
public int BarcodeHeight;
|
|
}
|
|
}
|