i am in android app and i want to use stariosdk in order to print a receipt from my app.
This is the link for star SDK: http://www.starmicronics.com/support/SDKDocumentation.aspx
I'm trying to follow the sdk's guides:
All functionality is located in the src folder in the com.StarMicronics.StarIOSDK package.
Run the program by selecting StarIOSDKActivity.java; this source code is the starting point for both POS and Mobile Printers.
See how specific functions work by clicking on the other source files. For example, “code128Activity.java” corresponds to the 1D barcode Code128 in the GUI.
It is important to note that not every function is available for both printer types. The first page of each SDK manual shows which functions are supported. They are listed again here for convenience:
Portable Printers
• No Cash Drawer support
• No Cut Pattern support
POS Printers
• No Magnetic Stripe Reader support
In addition, source files containing “Mini” are for portable printer models only.
StarBitmap.java applies to both printer types.
and these:
The file StarIO.jar is a library that you can include into your Java projects to expose StarIO methods. To include this library into your project:
Drag StarIOPort.jar into the Project Explorer from the SDK package
Right click the project folder and choose Properties
Click Java Build Path
Click Libraries and the Add JARs button
At the top of your main code add:
import com.starmicronics.stario.StarIOPort;
import com.starmicronics.stario.StarIOPortException;
import com.starmicronics.stario.StarPrinterStatus;
Now you can access all of StarIO’s methods!
I need help in order to understand the difference between StarIOPort.jar and StarIOSDKActivity.java and how to use it.
I want to use only MiniPrinterFunctions.java for mobile printers...