Exemplo n.º 1
0
        public ZPLPrint(string filePath, string comName, bool isAutoHeight, string dataSource)
        {
            this.FilePath     = filePath;
            this.ComName      = comName;
            this.IsAutoHeight = isAutoHeight;
            JsonDataSource convert = new JsonDataSource();

            this.DataSource = convert.To(dataSource);
        }
Exemplo n.º 2
0
        public DocumentPrint(string filePath, string printName, bool isAutoHeigth, string dataSource)
        {
            this.FilePath     = FilePath;
            this.PrintName    = printName;
            this.IsAutoHeight = isAutoHeigth;

            JsonDataSource convert = new JsonDataSource();

            this.DataSource = convert.To(dataSource);
        }