2. How to configuration StarPRNT Application¶
The Library (StarIOPort.winmd / StarIO_Extension.winmd / SMCloudServices.winmd) is already included when the StarPRNT SDK is loaded; there’s no need to include it again when testing our SDK.
When you are building your own application, it is necessary to add the library into it.
2.1. Add component¶
StarPRNT SDK library supports Nuget package and winmd file.Please link library that suits your application configuration.
You need to add when using Star Micronics Cloud (AllReceipts, etc.) in the application.
2.1.1. Use Nuget package¶
Install the following packages.
2.1.2. Use winmd file¶
In Solution Explorer, select the project.
On the Project menu, click Add Reference. The Add Reference dialog box opens.
Click Reference Button and select the libraries in the libs folder of StarPRNT SDK, then click OK.
To print a QR code with TSP100 series printers, the setting to use Zxing.Net is required.
On the Project menu, click Manage NuGet Packages. The Manage NuGet Packages dialog box opens.
Search ZXing.Net, click Install.
The following construction will be built.
2.2. Edit Package.appxmanifest¶
- Open [Package.appxmanifest] in project with the form of code.
- Allow to use the LAN printer and Bluetooth Printer with application by addition of the following description to [Package.appxmanifest].
<Capabilities> <Capability Name="internetClient" /> <Capability Name="privateNetworkClientServer" /> <DeviceCapability Name="webcam" /> <DeviceCapability Name="microphone" /> <DeviceCapability Name="bluetooth" /> </Capabilities>