Skip to content

Commit

Permalink
CPUtil v1.1.2 / php_queue v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bandit-ibayashi committed Feb 6, 2024
1 parent 49f1577 commit b3e13ac
Show file tree
Hide file tree
Showing 29 changed files with 1,742 additions and 270 deletions.
Empty file modified CloudPRNTSDKSamples/CloudPRNTSDKSamples.sln
100644 → 100755
Empty file.
14 changes: 11 additions & 3 deletions CloudPRNTSDKSamples/cputil/Program.cs
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,10 @@ static void Main(string[] args)
opts.SupportUTF8 = true;
break;

case "sbcs":
opts.SupportUTF8 = false;
break;

case "scale-to-fit":
opts.ScaleToFit = true;
break;
Expand Down Expand Up @@ -274,7 +278,8 @@ static void PrintHelp()
" matrix69.5 - set device constraints for a dot-matrix 69.5mm\" printer",
" matrix3/matrix76 - set device constraints for a dot-matrix 76mm/3\" printer",
" printarea <dot length> - set device constraints for a specified printable area dot size of printer",
" utf8 - specify that the target device supports UTF8 encoding",
" utf8 - specify that the target device supports UTF8 encoding (default)",
" sbcs - specify that the target device supports only single byte codepages",
" dither - specify that colour/greyscale images should be ditherer",
" scale-to-fit - specify that any images which exceed the device width",
" should be resized to fit the page.",
Expand Down Expand Up @@ -321,9 +326,12 @@ static void DisplayInfo()
Assembly a = typeof(StarMicronics.CloudPrnt.Document).Assembly;
AssemblyName n = a.GetName();
Version v = n.Version;

Console.WriteLine("{0}: {1}.{2}.{3}.{4}", n.Name, v.Major, v.Minor, v.Build, v.Revision);
Console.WriteLine("cputil: 1.1.0.0");

AssemblyName cn = Assembly.GetExecutingAssembly().GetName();
Version cv = cn.Version;
Console.WriteLine($"{cn.Name}: {cv.Major}.{cv.Minor}.{cv.Build}.{cv.Revision}");
}

static void PrintInputs()
Expand Down
403 changes: 403 additions & 0 deletions CloudPRNTSDKSamples/cputil/Readme_En.txt

Large diffs are not rendered by default.

366 changes: 366 additions & 0 deletions CloudPRNTSDKSamples/cputil/Readme_Jp.txt

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions CloudPRNTSDKSamples/cputil/cputil.csproj
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<Company>Star Micronics</Company>
<Authors>Star Micronics</Authors>
<Copyright>Copyright 2020 Star Micronics Co., Ltd.</Copyright>
<Version>1.1.0</Version>
<Version>1.1.2</Version>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="StarMicronics.CloudPRNT-Utility" Version="1.1.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="StarMicronics.CloudPRNT-Utility" Version="1.1.2" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 6 additions & 0 deletions CloudPRNTSDKSamples/cputil/nupkg_apply_cmd_note.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
The following commands should do before performing "./package.sh" to apply latest making nupkg.

commands:
nuget locals all -clear
nuget add StarMicronics.CloudPRNT-Utility.1.1.2.nupkg -Source ./packages
dotnet add package StarMicronics.CloudPRNT-Utility -s ./packages -v 1.1.2
5 changes: 5 additions & 0 deletions CloudPRNTSDKSamples/cputil/publish.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
dotnet publish -o package\cputil-linux-arm -c Release -r linux-arm
dotnet publish -o package\cputil-linux-x64 -c Release -r linux-x64
dotnet publish -o package\cputil-win-x64 -c Release -r win-x64
dotnet publish -o package\cputil-win-x86 -c Release -r win-x86
dotnet publish -o package\cputil-osx-x64 -c Release -r osx-x64
Loading

0 comments on commit b3e13ac

Please sign in to comment.