..
This commit is contained in:
		| @@ -1,4 +1,5 @@ | ||||
| using System; | ||||
| using AR; | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| @@ -10,7 +11,7 @@ namespace Project.Device | ||||
| 	{ | ||||
| 		public string LastPrintZPL = string.Empty; | ||||
| 		public string qrData = string.Empty; | ||||
|         public string ZPLFileName { get; set; } = "zpl.txt"; | ||||
|         public string ZPLFileName { get; set; } =  UTIL.MakePath("data","zpl.txt"); | ||||
|         public string baseZPL | ||||
|         { | ||||
|             get | ||||
| @@ -19,7 +20,7 @@ namespace Project.Device | ||||
|                 if (fi.Exists == false || fi.Length == 0) | ||||
|                 { | ||||
|                     PUB.log.AddE($"{ZPLFileName} does not exist or has no data. Changed to default zpl.txt"); | ||||
|                     fi = new System.IO.FileInfo("zpl.txt"); | ||||
|                     fi = new System.IO.FileInfo( UTIL.MakePath("data", "zpl.txt")); | ||||
|                     if (fi.Exists == false) PUB.log.AddE("Print template file (zpl.txt) does not exist"); | ||||
|                 } | ||||
|                 if (fi.Exists && fi.Length > 1) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 ChiKyun Kim
					ChiKyun Kim