This commit is contained in:
ChiKyun Kim
2025-09-23 15:41:16 +09:00
parent 02028afc27
commit b037dd53e6
74 changed files with 4269 additions and 7917 deletions

View File

@@ -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)