Skip to content

Commit b3e13ac

Browse files
CPUtil v1.1.2 / php_queue v2.0.0
1 parent 49f1577 commit b3e13ac

29 files changed

+1742
-270
lines changed

CloudPRNTSDKSamples/CloudPRNTSDKSamples.sln

100644100755
File mode changed.

CloudPRNTSDKSamples/cputil/Program.cs

100644100755
Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,10 @@ static void Main(string[] args)
212212
opts.SupportUTF8 = true;
213213
break;
214214

215+
case "sbcs":
216+
opts.SupportUTF8 = false;
217+
break;
218+
215219
case "scale-to-fit":
216220
opts.ScaleToFit = true;
217221
break;
@@ -274,7 +278,8 @@ static void PrintHelp()
274278
" matrix69.5 - set device constraints for a dot-matrix 69.5mm\" printer",
275279
" matrix3/matrix76 - set device constraints for a dot-matrix 76mm/3\" printer",
276280
" printarea <dot length> - set device constraints for a specified printable area dot size of printer",
277-
" utf8 - specify that the target device supports UTF8 encoding",
281+
" utf8 - specify that the target device supports UTF8 encoding (default)",
282+
" sbcs - specify that the target device supports only single byte codepages",
278283
" dither - specify that colour/greyscale images should be ditherer",
279284
" scale-to-fit - specify that any images which exceed the device width",
280285
" should be resized to fit the page.",
@@ -321,9 +326,12 @@ static void DisplayInfo()
321326
Assembly a = typeof(StarMicronics.CloudPrnt.Document).Assembly;
322327
AssemblyName n = a.GetName();
323328
Version v = n.Version;
324-
329+
325330
Console.WriteLine("{0}: {1}.{2}.{3}.{4}", n.Name, v.Major, v.Minor, v.Build, v.Revision);
326-
Console.WriteLine("cputil: 1.1.0.0");
331+
332+
AssemblyName cn = Assembly.GetExecutingAssembly().GetName();
333+
Version cv = cn.Version;
334+
Console.WriteLine($"{cn.Name}: {cv.Major}.{cv.Minor}.{cv.Build}.{cv.Revision}");
327335
}
328336

329337
static void PrintInputs()

CloudPRNTSDKSamples/cputil/Readme_En.txt

Lines changed: 403 additions & 0 deletions
Large diffs are not rendered by default.

CloudPRNTSDKSamples/cputil/Readme_Jp.txt

Lines changed: 366 additions & 0 deletions
Large diffs are not rendered by default.

CloudPRNTSDKSamples/cputil/cputil.csproj

100644100755
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp2.1</TargetFramework>
5+
<TargetFramework>net6.0</TargetFramework>
66
<Company>Star Micronics</Company>
77
<Authors>Star Micronics</Authors>
88
<Copyright>Copyright 2020 Star Micronics Co., Ltd.</Copyright>
9-
<Version>1.1.0</Version>
9+
<Version>1.1.2</Version>
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
14-
<PackageReference Include="StarMicronics.CloudPRNT-Utility" Version="1.1.0" />
13+
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
14+
<PackageReference Include="StarMicronics.CloudPRNT-Utility" Version="1.1.2" />
1515
</ItemGroup>
1616

1717
<ItemGroup>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
The following commands should do before performing "./package.sh" to apply latest making nupkg.
2+
3+
commands:
4+
nuget locals all -clear
5+
nuget add StarMicronics.CloudPRNT-Utility.1.1.2.nupkg -Source ./packages
6+
dotnet add package StarMicronics.CloudPRNT-Utility -s ./packages -v 1.1.2
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
dotnet publish -o package\cputil-linux-arm -c Release -r linux-arm
2+
dotnet publish -o package\cputil-linux-x64 -c Release -r linux-x64
3+
dotnet publish -o package\cputil-win-x64 -c Release -r win-x64
4+
dotnet publish -o package\cputil-win-x86 -c Release -r win-x86
5+
dotnet publish -o package\cputil-osx-x64 -c Release -r osx-x64

0 commit comments

Comments
 (0)