Skip to content

Commit

Permalink
V2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bandit-ibayashi committed May 16, 2022
0 parents commit 1c7b645
Show file tree
Hide file tree
Showing 34 changed files with 1,944 additions and 0 deletions.
122 changes: 122 additions & 0 deletions Readme_En.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
************************************************************
Star PassPRNT Android SDK Ver 2.3.0
Readme_En.txt Star Micronics Co., Ltd.
************************************************************

1. Overview
2. Contents
3. Scope
4. Copyright
5. Release History

=============
1. Overview
=============
This package contains SDK for PassPRNT.
"PassPRNT" is an application intervening outer applications (hereinafter
called "Coordinating App") and Star Device (hereinafter called "Device").
This App transfers to the printer the print data converted from all Coordinating
App information including receipt design, paper width and other related data.
Therefore the Coordinating App needs no designing or development to establish
communication with the printer.
Similarly printer status and print result are monitored as well so that
Coordinating App is not required on such control.

Receipt design put out of this system is supported by HTML/PDF layout, so there is
no need to understand the device unique command specifications.
The other transferred data is also distributed as a part of query based on
the standard URL specifications.

e.g.:
starpassprnt://v1/print/nopreview?html=<HTML layout>&size=3&drawer=on&back=<Coordinating App>

Please refer to document including this package for details.

=============
2. Contents
=============

PassPRNT_Android_SDK_Ver2.3.0
|
| Readme_En.txt // Release Note(English)
| Readme_Jp.txt // Release Note(Japanese)
| SoftwareLicenseAgreement.pdf // Software License Agreement(English)
| SoftwareLicenseAgreement_jp.pdf // Software License Agreement(Japanese)
| UsersManual_Android.url // Shortcut to User Manual
|
+- Samples // Android Studio project file for sample program


=================
3. Scope
=================
[OS]
Android OS 5.0 - 12

[Software]
PassPRNT Ver2.5.0

[Printer Model]
SM-L200 (Ver 1.1 or later - StarPRNT mode)
SM-S210i *1 (Ver 3.0 or later - StarPRNT mode)
(Ver 2.5 or later - ESC/POS mode)
SM-S220i *2 (Ver 3.0 or later - StarPRNT mode)
(Ver 2.1 or later - ESC/POS mode)
SM-S230i *2 (Ver 1.0 or later - StarPRNT mode)
(Ver 1.0 or later - ESC/POS mode)
SM-L300 (Ver 1.0 or later - StarPRNT mode)
SM-T300i/T300DB (Ver 3.0 or later - StarPRNT mode)
(Ver 2.5 or later - ESC/POS mode)
SM-T400i (Ver 3.0 or later - StarPRNT mode)
(Ver 2.5 or later - ESC/POS mode)
TSP650II (Ver 2.1 or later)
TSP700II (Ver 5.1 or later)
TSP800II (Ver 2.1 or later)
TSP100IIIBI (Ver 1.0 or later)
TSP100IIIW (Ver 1.4 or later)
TSP100IIILAN (Ver 1.3 or later)
TSP100IIIU (Ver 1.0 or later)
TSP100IV (Ver 1.0 or later)
FVP10 (Ver 1.3 or later)
BSC10 *2 (Ver 1.0 or later)
mPOP (Ver 1.0.1 or later)
mC-Print2 (Ver 1.0 or later)
mC-Print3 (Ver 1.0 or later)

*1-JP model only
*2-US EU model only

[Interface]
Bluetooth: TSP series (IFBD-HB03/HB04 Ver 1.0.0 or later)
: Portable printers
: mPOP, mC-Print2, mC-Print3
Ethernet : TSP series, FVP10, BSC10 (IFBD-HE05/HE06 Ver 1.0.1 or later)
mC-Print2, mC-Print3
USB : TSP series, FVP10, BSC10 (IFBD-HU07/HU08)
mPOP, mC-Print2, mC-Print3

==============
4. Copyright
==============
Copyright 2016 - 2021 Star Micronics Co., Ltd. All rights reserved.

====================
5. Release History
====================

Ver 2.3.0
2021/10/29 : Added TSP100IV support.
Added Buzzer (BU01) and Melody Speaker (mC-Sound) support.

Ver 2.2
2020/01/23 : Added Web Download Print function ('Url' query).

Ver 2.1
2018/07/02 : Add printer models (mC-Print2/mC-Print3)
Add queries (drawerpulse/cut)
Change specification of Black mark.

Ver 2.0
2017/09/29 : Add printer models (SM-L300/TSP100III U)
Add printer settings (Drawer pulse/Cut type)
Change specification of Black mark and PDF function
121 changes: 121 additions & 0 deletions Readme_Jp.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
************************************************************
Star PassPRNT Android SDK Ver 2.3.0
Readme_Jp.txt スター精密(株)
************************************************************

1. 概要
2. 内容
3. 適用
4. 著作権
5. 変更履歴

==========
1. 概要
==========
本パッケージは、AndroidのStarPassPRNT専用SDKです。
“PassPRNT”とは、外部アプリケーション(以降、”連携アプリ”とする)と
スターデバイス(以降、”デバイス”とする)の間に配置するアプリケーションです。
このアプリケーションは、連携アプリからレシートのデザイン、用紙幅、その他に
関連する情報を受け取ると印字データに変換して、プリンタに送信を行います。
よって、連携アプリはプリンタとの通信に関わる部分の設計-開発の必要がありません。
またプリンタステータスの監視や印刷成否の判定も行うため、連携アプリは
それらの実施も不要となります。

またレシートデザインは、HTML/PDFレイアウトに対応しているため、
デバイス独自のコマンド仕様を理解する必要はありません。
その他の受け渡しデータも、一般的なURL仕様に基づいてクエリの一部として
組み込んで受け渡す仕様となっています。

例:
starpassprnt://v1/print/nopreview?html=<HTMLレイアウト>&size=3&drawer=on&back=<連携アプリ>

詳細は別紙ドキュメントファイルを参照ください。

==========
2. 内容
==========
PassPRNT_Android_SDK_Ver2.3.0
|
| Readme_En.txt // リリースノート(英語)
| Readme_Jp.txt // リリースノート(日本語)
| SoftwareLicenseAgreement.pdf // ソフトウエア使用許諾書(英語)
| SoftwareLicenseAgreement_jp.pdf // ソフトウエア使用許諾書(日本語)
| UsersManual_Android.url // User Manualへのショートカット
|
+- Samples // Android Studio用サンプルプログラム

=============
3. 適用
=============
■ 対象OS
Android OS 5.0 - 12

■ 対象ソフトウェア
PassPRNT Ver 2.5.0

■ 対象プリンタモデル
◇ プリンタモデル (F/W ver)
SM-L200 (Ver 1.1以降 - StarPRNT mode)
SM-S210i *1 (Ver 3.0以降 - StarPRNT mode)
(Ver 2.5以降 - ESC/POS mode)
SM-S220i *2 (Ver 3.0以降 - StarPRNT mode)
(Ver 2.1以降 - ESC/POS mode)
SM-S230i *2 (Ver 1.0以降 - StarPRNT mode)
(Ver 1.0以降 - ESC/POS mode)
SM-L300 (Ver 1.0以降 - StarPRNT mode)
SM-T300i/T300DB (Ver 3.0以降 - StarPRNT mode)
(Ver 2.5以降 - ESC/POS mode)
SM-T400i (Ver 3.0以降 - StarPRNT mode)
(Ver 2.5以降 - ESC/POS mode)
TSP650II (Ver 2.1以降)
TSP700II (Ver 5.1以降)
TSP800II (Ver 2.1以降)
TSP100IIIBI (Ver 1.0以降)
TSP100IIIW (Ver 1.4以降)
TSP100IIILAN (Ver 1.3以降)
TSP100IIIU (Ver 1.0以降)
TSP100IV (Ver 1.0以降)
FVP10 (Ver 2.0以降)
BSC10 *2 (Ver 1.0以降)
mPOP (Ver 1.0.1以降)
mC-Print2 (Ver 1.0以降)
mC-Print3 (Ver 1.0以降)

*1-日本向けモデルのみ
*2-欧米向けモデルのみ

◇ 対応インターフェース
Bluetooth: TSPシリーズ (IFBD-HB03/HB04 Ver 1.0.0以上)
: ポータブルプリンタシリーズ
: mPOP, mC-Print2, mC-Print3
Ethernet : TSPシリーズ, FVP10, BSC10 (IFBD-HE05/HE06 Ver 1.0.1以上)
: mC-Print2, mC-Print3
USB : TSPシリーズ, FVP10, BSC10 (IFBD-HU07/HU08)
: mPOP, mC-Print2, mC-Print3

===========
4. 著作権
===========
スター精密(株)Copyright 2016 - 2021

======================================
5. Star PassPRNT Android SDK 更新履歴
======================================

Ver 2.3.0
2021/10/29 : TSP100IVに対応
ブザー(BU01), メロディースピーカー(mC-Sound)のサポートを追加

Ver 2.2
2020/01/23 : Webダウンロード印刷に対応 ('url'クエリ)

Ver 2.1
2018/07/02 : 対応機種追加
印刷設定項目(クエリ)追加
Blackmark仕様変更

Ver 2.0
2017/09/29 : 対応機種追加
印刷設定項目追加
Blackmark仕様変更
PDF印刷仕様変更
8 changes: 8 additions & 0 deletions Samples/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*.iml
.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
.DS_Store
/build
/captures
1 change: 1 addition & 0 deletions Samples/app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
26 changes: 26 additions & 0 deletions Samples/app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 29
buildToolsVersion '29.0.1'

defaultConfig {
applicationId "jp.star_m.passprnttester"
minSdkVersion 21
targetSdkVersion 29
versionCode 6
versionName "2.3.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation 'junit:junit:4.12'
implementation 'androidx.appcompat:appcompat:1.1.0'
}
17 changes: 17 additions & 0 deletions Samples/app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /Users/koji/Library/Android/sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package jp.star_m.passprnttester;

import android.app.Application;
import android.test.ApplicationTestCase;

/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
super(Application.class);
}
}
28 changes: 28 additions & 0 deletions Samples/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="jp.star_m.passprnttester">

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="startest" />
</intent-filter>
</activity>
</application>

</manifest>
25 changes: 25 additions & 0 deletions Samples/app/src/main/assets/font_ML.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<title>Font Design</title>
<meta charset="UTF-8">
</head>
<body>
<p style="font-size: 40px;">Hello. Thank you.</p> <!-- English -->
<p style="font-size: 40px;">こんにちは。ありがとう。</p> <!-- Japanese -->
<p style="font-size: 40px;">Hallo. Danke.</p> <!-- German -->
<p style="font-size: 40px;">Hola. Gracias.</p> <!-- Spanish -->
<p style="font-size: 40px;">您好。謝謝。</p> <!-- Chinese -->
<p style="font-size: 40px;">Здравствуйте. Спасибо.</p> <!-- Russian -->
<p style="font-size: 40px;">Olá. Obrigado.</p> <!-- Portuguese -->
<p style="font-size: 40px;">हैलो। धन्यवाद।</p> <!-- Hindi -->
<p style="font-size: 40px;">สวัสดี ขอบคุณ</p> <!-- Thai -->
<p style="font-size: 40px;">안녕하세요. 감사합니다.</p> <!-- Korean -->
<p style="font-size: 40px;">Bonjour. Merci.</p> <!-- French -->
</body>
</html>
Loading

0 comments on commit 1c7b645

Please sign in to comment.