From 3b89ff634cd9d6ef34b56f1678bf93379d0d3a17 Mon Sep 17 00:00:00 2001 From: Richard Quadling Date: Thu, 9 Nov 2017 11:18:14 +0000 Subject: [PATCH] V1.4.0 --- Sample/A001.html | 12 +- Sample/A002.html | 1 + Sample/ComparisonReceiptDesign.html | 7 +- Sample/Styled_ApiCombination.html | 20 +- Sample/Styled_ApiReceipt.html | 18 +- Sample/Styled_CanvasBarcode.html | 14 +- Sample/Styled_CanvasFigures.html | 16 +- Sample/Styled_CanvasHandwriting.html | 14 +- Sample/Styled_CanvasImageFile.html | 16 +- Sample/Styled_CanvasReceipt.html | 14 +- Sample/Styled_CanvasText.html | 20 +- Sample/Styled_ReceiptLetter.html | 9 +- Sample/Styled_StarWebPRNTExtManager.html | 31 +- Sample/css/core.css | 16 +- Sample/css/howto.css | 26 + Sample/css/howto_scs.css | 265 ++ Sample/howto_en.html | 7 +- Sample/howto_en_Android.html | 7 +- Sample/howto_jpn.html | 3 +- Sample/howto_jpn_Android.html | 7 +- Sample/howto_scs_android_en.html | 175 + Sample/howto_scs_android_jpn.html | 177 + Sample/howto_scs_en.html | 203 ++ Sample/howto_scs_jpn.html | 204 ++ Sample/illust/num/num_1.png | Bin 0 -> 603 bytes Sample/illust/num/num_10.png | Bin 0 -> 720 bytes Sample/illust/num/num_11.png | Bin 0 -> 615 bytes Sample/illust/num/num_12.png | Bin 0 -> 707 bytes Sample/illust/num/num_2.png | Bin 0 -> 682 bytes Sample/illust/num/num_3.png | Bin 0 -> 739 bytes Sample/illust/num/num_4.png | Bin 0 -> 682 bytes Sample/illust/num/num_5.png | Bin 0 -> 724 bytes Sample/illust/num/num_6.png | Bin 0 -> 716 bytes Sample/illust/num/num_7.png | Bin 0 -> 629 bytes Sample/illust/num/num_8.png | Bin 0 -> 705 bytes Sample/illust/num/num_9.png | Bin 0 -> 698 bytes Sample/illust/scs/scs_01.png | Bin 0 -> 83639 bytes Sample/illust/scs/scs_02_en.png | Bin 0 -> 64884 bytes Sample/illust/scs/scs_02_jp.png | Bin 0 -> 62585 bytes Sample/illust/scs/scs_03_en.png | Bin 0 -> 62552 bytes Sample/illust/scs/scs_03_jp.png | Bin 0 -> 61639 bytes Sample/illust/scs/scs_04_en.png | Bin 0 -> 58926 bytes Sample/illust/scs/scs_04_jp.png | Bin 0 -> 58271 bytes Sample/illust/scs/scs_05_en.png | Bin 0 -> 244521 bytes Sample/illust/scs/scs_05_jp.png | Bin 0 -> 242179 bytes Sample/illust/scs/scs_06_en.png | Bin 0 -> 44492 bytes Sample/illust/scs/scs_06_jp.png | Bin 0 -> 45236 bytes Sample/illust/scs/scs_07.png | Bin 0 -> 40221 bytes Sample/illust/scs/scs_07_jp.png | Bin 0 -> 41197 bytes Sample/illust/scs/scs_08.png | Bin 0 -> 29130 bytes Sample/illust/scs/scs_09.png | Bin 0 -> 48435 bytes Sample/illust/scs/scs_09_jp.png | Bin 0 -> 49051 bytes Sample/illust/scs/scs_10.png | Bin 0 -> 48577 bytes Sample/illust/scs/scs_10_jp.png | Bin 0 -> 49935 bytes Sample/illust/scs/scs_11.png | Bin 0 -> 19552 bytes Sample/illust/scs/scs_12.png | Bin 0 -> 47514 bytes Sample/illust/scs/scs_12_jp.png | Bin 0 -> 48567 bytes Sample/illust/scs/scs_13.png | Bin 0 -> 14586 bytes Sample/illust/scs/scs_14.png | Bin 0 -> 81157 bytes Sample/illust/scs/scs_15_en.png | Bin 0 -> 117645 bytes Sample/illust/scs/scs_15_jp.png | Bin 0 -> 115714 bytes Sample/illust/scs/scs_16.png | Bin 0 -> 210866 bytes Sample/illust/scs/scs_17.png | Bin 0 -> 47255 bytes Sample/illust/scs/scs_18.png | Bin 0 -> 82596 bytes Sample/illust/scs/scs_19.png | Bin 0 -> 47478 bytes Sample/illust/scs/scs_19_jp.png | Bin 0 -> 47460 bytes Sample/illust/scs/scs_20.png | Bin 0 -> 45303 bytes Sample/illust/scs/scs_20_en.png | Bin 0 -> 46566 bytes Sample/illust/scs/scs_21_en.png | Bin 0 -> 51507 bytes Sample/illust/scs/scs_21_jp.png | Bin 0 -> 50590 bytes Sample/illust/scs/scs_and_01.png | Bin 0 -> 82616 bytes Sample/illust/scs/scs_and_02.png | Bin 0 -> 83918 bytes Sample/illust/scs/scs_and_03.png | Bin 0 -> 30050 bytes Sample/illust/scs/scs_and_04.png | Bin 0 -> 28782 bytes Sample/illust/scs/scs_and_05.png | Bin 0 -> 29691 bytes Sample/illust/scs/scs_and_06.png | Bin 0 -> 17856 bytes Sample/illust/scs/scs_and_07_en.png | Bin 0 -> 26050 bytes Sample/illust/scs/scs_and_07_jp.png | Bin 0 -> 26021 bytes Sample/illust/scs/scs_and_08_en.png | Bin 0 -> 25329 bytes Sample/illust/scs/scs_and_08_jp.png | Bin 0 -> 25929 bytes Sample/illust/scs/scs_and_09_en.png | Bin 0 -> 24547 bytes Sample/illust/scs/scs_and_09_jp.png | Bin 0 -> 24698 bytes Sample/illust/scs/scs_and_10.png | Bin 0 -> 18883 bytes Sample/illust/scs/scs_and_11.png | Bin 0 -> 19821 bytes Sample/illust/scs/scs_and_12.png | Bin 0 -> 22237 bytes Sample/illust/scs/scs_and_13.png | Bin 0 -> 19375 bytes Sample/illust/scs/scs_and_14.png | Bin 0 -> 19774 bytes Sample/illust/scs/scs_and_15.png | Bin 0 -> 19163 bytes Sample/illust/scs/scs_and_16.png | Bin 0 -> 24416 bytes Sample/illust/scs/scs_and_17.png | Bin 0 -> 79287 bytes Sample/illust/scs/scs_and_18.png | Bin 0 -> 93224 bytes Sample/illust/scs/scs_and_19.png | Bin 0 -> 159252 bytes Sample/js/StarBarcodeEncoder.js | 418 ++- Sample/js/StarWebPrintBuilder.js | 275 +- Sample/js/StarWebPrintExtManager.js | 135 +- Sample/js/StarWebPrintTrader.js | 149 +- UsersManual/{ja => css}/bootstrap.css | 0 UsersManual/{en => css}/font-awesome.min.css | 0 UsersManual/{en => css}/html5reset-1.6.1.css | 0 UsersManual/{ja => css}/webPRNT_layout.css | 118 +- UsersManual/{ja => css}/webPRNT_layout_ie.css | 2 +- .../{ja => css}/webPRNT_print_layout.css | 0 .../{en => css}/webPRNT_print_layout_ie.css | 0 UsersManual/{en => css_en}/bootstrap.css | 0 .../{ja => css_en}/font-awesome.min.css | 0 .../{ja => css_en}/html5reset-1.6.1.css | 0 UsersManual/{en => css_en}/webPRNT_layout.css | 129 +- .../{en => css_en}/webPRNT_layout_en.css | 0 .../{en => css_en}/webPRNT_layout_ie.css | 2 +- .../{en => css_en}/webPRNT_print_layout.css | 0 .../webPRNT_print_layout_ie.css | 0 UsersManual/en/StarWebPrintBuilder-js.htm | 2960 ----------------- UsersManual/en/_StarBarcodeEncoder-js.htm | 182 +- UsersManual/en/_StarClaimManager-js.htm | 313 +- .../_StarWebPRNTExtManagerRequestElement.htm | 63 +- .../_StarWebPRNTExtManagerResponseElement.htm | 94 +- UsersManual/en/_StarWebPrintBuilder-js.htm | 500 +-- UsersManual/en/_StarWebPrintExtManager-js.htm | 429 +-- .../en/_StarWebPrintRequestElement.htm | 287 +- .../en/_StarWebPrintRequestElement_scs.htm | 313 ++ .../en/_StarWebPrintResponseElement.htm | 265 +- UsersManual/en/_StarWebPrintTrader-js.htm | 332 +- UsersManual/en/_appendixUTF8.htm | 82 +- UsersManual/en/_infoToUse.htm | 114 +- UsersManual/en/_number_logo_table.htm | 37 +- UsersManual/en/_sampleProgram.htm | 89 +- UsersManual/en/index.htm | 40 +- UsersManual/en/webPRNThelp_scripts.js | 6 - UsersManual/ja/_StarBarcodeEncoder-js.htm | 142 +- UsersManual/ja/_StarClaimManager-js.htm | 284 +- .../_StarWebPRNTExtManagerRequestElement.htm | 63 +- .../_StarWebPRNTExtManagerResponseElement.htm | 72 +- UsersManual/ja/_StarWebPrintBuilder-js.htm | 433 +-- UsersManual/ja/_StarWebPrintExtManager-js.htm | 360 +- .../ja/_StarWebPrintRequestElement.htm | 258 +- .../ja/_StarWebPrintRequestElement_scs.htm | 313 ++ .../ja/_StarWebPrintResponseElement.htm | 157 +- UsersManual/ja/_StarWebPrintTrader-js.htm | 87 +- UsersManual/ja/_appendixUTF8.htm | 48 +- UsersManual/ja/_infoToUse.htm | 125 +- UsersManual/ja/_number_logo_table.htm | 37 +- UsersManual/ja/_sampleProgram.htm | 91 +- UsersManual/ja/index.htm | 50 +- readme_en.txt | 69 +- readme_jp.txt | 68 +- 145 files changed, 5302 insertions(+), 5971 deletions(-) create mode 100755 Sample/css/howto_scs.css create mode 100755 Sample/howto_scs_android_en.html create mode 100755 Sample/howto_scs_android_jpn.html create mode 100755 Sample/howto_scs_en.html create mode 100755 Sample/howto_scs_jpn.html create mode 100755 Sample/illust/num/num_1.png create mode 100755 Sample/illust/num/num_10.png create mode 100755 Sample/illust/num/num_11.png create mode 100755 Sample/illust/num/num_12.png create mode 100755 Sample/illust/num/num_2.png create mode 100755 Sample/illust/num/num_3.png create mode 100755 Sample/illust/num/num_4.png create mode 100755 Sample/illust/num/num_5.png create mode 100755 Sample/illust/num/num_6.png create mode 100755 Sample/illust/num/num_7.png create mode 100755 Sample/illust/num/num_8.png create mode 100755 Sample/illust/num/num_9.png create mode 100755 Sample/illust/scs/scs_01.png create mode 100755 Sample/illust/scs/scs_02_en.png create mode 100755 Sample/illust/scs/scs_02_jp.png create mode 100755 Sample/illust/scs/scs_03_en.png create mode 100755 Sample/illust/scs/scs_03_jp.png create mode 100755 Sample/illust/scs/scs_04_en.png create mode 100755 Sample/illust/scs/scs_04_jp.png create mode 100755 Sample/illust/scs/scs_05_en.png create mode 100755 Sample/illust/scs/scs_05_jp.png create mode 100755 Sample/illust/scs/scs_06_en.png create mode 100755 Sample/illust/scs/scs_06_jp.png create mode 100755 Sample/illust/scs/scs_07.png create mode 100755 Sample/illust/scs/scs_07_jp.png create mode 100755 Sample/illust/scs/scs_08.png create mode 100755 Sample/illust/scs/scs_09.png create mode 100755 Sample/illust/scs/scs_09_jp.png create mode 100755 Sample/illust/scs/scs_10.png create mode 100755 Sample/illust/scs/scs_10_jp.png create mode 100755 Sample/illust/scs/scs_11.png create mode 100755 Sample/illust/scs/scs_12.png create mode 100755 Sample/illust/scs/scs_12_jp.png create mode 100755 Sample/illust/scs/scs_13.png create mode 100755 Sample/illust/scs/scs_14.png create mode 100755 Sample/illust/scs/scs_15_en.png create mode 100755 Sample/illust/scs/scs_15_jp.png create mode 100755 Sample/illust/scs/scs_16.png create mode 100755 Sample/illust/scs/scs_17.png create mode 100755 Sample/illust/scs/scs_18.png create mode 100755 Sample/illust/scs/scs_19.png create mode 100755 Sample/illust/scs/scs_19_jp.png create mode 100755 Sample/illust/scs/scs_20.png create mode 100755 Sample/illust/scs/scs_20_en.png create mode 100755 Sample/illust/scs/scs_21_en.png create mode 100755 Sample/illust/scs/scs_21_jp.png create mode 100755 Sample/illust/scs/scs_and_01.png create mode 100755 Sample/illust/scs/scs_and_02.png create mode 100755 Sample/illust/scs/scs_and_03.png create mode 100755 Sample/illust/scs/scs_and_04.png create mode 100755 Sample/illust/scs/scs_and_05.png create mode 100755 Sample/illust/scs/scs_and_06.png create mode 100755 Sample/illust/scs/scs_and_07_en.png create mode 100755 Sample/illust/scs/scs_and_07_jp.png create mode 100755 Sample/illust/scs/scs_and_08_en.png create mode 100755 Sample/illust/scs/scs_and_08_jp.png create mode 100755 Sample/illust/scs/scs_and_09_en.png create mode 100755 Sample/illust/scs/scs_and_09_jp.png create mode 100755 Sample/illust/scs/scs_and_10.png create mode 100755 Sample/illust/scs/scs_and_11.png create mode 100755 Sample/illust/scs/scs_and_12.png create mode 100755 Sample/illust/scs/scs_and_13.png create mode 100755 Sample/illust/scs/scs_and_14.png create mode 100755 Sample/illust/scs/scs_and_15.png create mode 100755 Sample/illust/scs/scs_and_16.png create mode 100755 Sample/illust/scs/scs_and_17.png create mode 100755 Sample/illust/scs/scs_and_18.png create mode 100755 Sample/illust/scs/scs_and_19.png rename UsersManual/{ja => css}/bootstrap.css (100%) rename UsersManual/{en => css}/font-awesome.min.css (100%) rename UsersManual/{en => css}/html5reset-1.6.1.css (100%) rename UsersManual/{ja => css}/webPRNT_layout.css (81%) rename UsersManual/{ja => css}/webPRNT_layout_ie.css (89%) rename UsersManual/{ja => css}/webPRNT_print_layout.css (100%) rename UsersManual/{en => css}/webPRNT_print_layout_ie.css (100%) rename UsersManual/{en => css_en}/bootstrap.css (100%) rename UsersManual/{ja => css_en}/font-awesome.min.css (100%) rename UsersManual/{ja => css_en}/html5reset-1.6.1.css (100%) rename UsersManual/{en => css_en}/webPRNT_layout.css (81%) rename UsersManual/{en => css_en}/webPRNT_layout_en.css (100%) rename UsersManual/{en => css_en}/webPRNT_layout_ie.css (89%) rename UsersManual/{en => css_en}/webPRNT_print_layout.css (100%) rename UsersManual/{ja => css_en}/webPRNT_print_layout_ie.css (100%) delete mode 100755 UsersManual/en/StarWebPrintBuilder-js.htm create mode 100755 UsersManual/en/_StarWebPrintRequestElement_scs.htm delete mode 100755 UsersManual/en/webPRNThelp_scripts.js create mode 100755 UsersManual/ja/_StarWebPrintRequestElement_scs.htm diff --git a/Sample/A001.html b/Sample/A001.html index 0120031..da4ca36 100755 --- a/Sample/A001.html +++ b/Sample/A001.html @@ -1,6 +1,7 @@ + STAR MICRONICS CO.,LTD | Miniature Technology, Infinite World @@ -38,14 +39,19 @@

Welcome to Star WebPRNT

@@ -57,5 +63,9 @@

Welcome to Star WebPRNT

if (navigator.userAgent.indexOf('Android') > 0){ link.href = "howto_en_Android.html"; } +var scslink = document.getElementById("howtoscs"); +if (navigator.userAgent.indexOf('Android') > 0){ + scslink.href = "howto_scs_android_en.html"; +} --> \ No newline at end of file diff --git a/Sample/A002.html b/Sample/A002.html index d27ddb0..389c320 100755 --- a/Sample/A002.html +++ b/Sample/A002.html @@ -2,6 +2,7 @@ + STAR MICRONICS CO.,LTD | Miniature Technology, Infinite World diff --git a/Sample/ComparisonReceiptDesign.html b/Sample/ComparisonReceiptDesign.html index db204ef..1adb4b3 100755 --- a/Sample/ComparisonReceiptDesign.html +++ b/Sample/ComparisonReceiptDesign.html @@ -10,6 +10,7 @@ --> + StarWebPRNT Sample(Comparison Receipt Design) @@ -453,7 +454,7 @@ trader.onError = function (response) { hideNowPrinting(); - + var msg = '- onError -\n\n'; msg += '\tStatus:' + response.status + '\n'; @@ -478,7 +479,7 @@ } catch (e) { hideNowPrinting(); - + alert(e.message); } } @@ -486,7 +487,7 @@ image.onerror = function () { hideNowPrinting(); - + alert('Image file was not able to be loaded.'); } } diff --git a/Sample/Styled_ApiCombination.html b/Sample/Styled_ApiCombination.html index 2049b45..be20fda 100755 --- a/Sample/Styled_ApiCombination.html +++ b/Sample/Styled_ApiCombination.html @@ -11,6 +11,7 @@ + StarWebPRNT Sample(API Combination) @@ -445,14 +446,12 @@ function updateSampleCode() { var url = document.getElementById('url').value; var papertype = document.getElementById('papertype').value; - var blackmark_sensor = document.getElementById('blackmark_sensor').value; document.getElementById('message').value = 'var url = "' + url + '";\n' + - 'var papertype ="' + papertype + '";\n' + - 'var blackmark_sensor ="' + blackmark_sensor + '";\n\n' + + 'var papertype ="' + papertype + '";\n\n' + 'var builder = new StarWebPrintBuilder();\n' + sampleCode + '\n' + - 'var trader = new StarWebPrintTrader({url:url, papertype:papertype, blackmark_sensor:blackmark_sensor});\n' + + 'var trader = new StarWebPrintTrader({url:url, papertype:papertype});\n' + 'trader.onReceive = function (response) { alert(response.responseText); }\n' + 'trader.onError = function (response) { alert(response.responseText); }\n' + 'trader.sendMessage({request:request});\n'; @@ -474,9 +473,8 @@ showNowPrinting(); var url = document.getElementById('url').value; var papertype = document.getElementById('papertype').value; - var blackmark_sensor = document.getElementById('blackmark_sensor').value; - var trader = new StarWebPrintTrader({url:url, papertype:papertype, blackmark_sensor:blackmark_sensor}); + var trader = new StarWebPrintTrader({url:url, papertype:papertype}); trader.onReceive = function (response) { hideNowPrinting(); @@ -1173,16 +1171,6 @@

Root

- -
Black Mark Sensor
-
: - -
-
diff --git a/Sample/Styled_ApiReceipt.html b/Sample/Styled_ApiReceipt.html index 3bb80fd..77d953b 100755 --- a/Sample/Styled_ApiReceipt.html +++ b/Sample/Styled_ApiReceipt.html @@ -11,6 +11,7 @@ + StarWebPRNT Sample(API Receipt) @@ -23,12 +24,11 @@ - - - - - - - - -
- -

Star WebPRNT User's Manual

- -
-
- - -
- - - - - - -
- -
- -
- -

- このマニュアルはStarWebPRNTに関する情報を提供するものです。
- ユーザー向けに印刷アプリケーションの構築に関するガイドラインを示します。 -

-
-
- -

 

-

 

- -
- -
-

サンプルプログラム

- -
-

プログラムファイルリスト

- -

HTMLファイル

- - - - - - - -
NameDescription
ComparisonReceiptDesign.htmlデバイスフォントおよびCanvas描画による印刷が行えることを確認します。
-
- -

JavaScriptファイル

- - - - - - - - - -
NameDescription
StarWebPrintBuilder.jsStarWebPRNT送信エレメントを生成します。
StarWebPrintTrader.jsStarWebPRNT送信エレメント列を送信したり、受信したStarWebPRNT受信エレメント列から状態を確認/抽出します。
StarBarcodeEncoder.jsHTML5 Canvas 2Dコンテキストへのバーコード描画を補うバーコードモジュール列を生成します。
-
-
- - -
-

Webサーバへの登録

- -
-

Webサーバの運用マニュアルを参考にサンプルプログラム一式を公開フォルダ用にコピーします。

-
-
- - -
-

使用方法

- -
-
    -
  1. Webブラウザで公開したComparisonReceiptDesign.htmlを開き、JavaScript/Canvasのサポートに問題のないことを確認します。
    - ComparisonReceiptDesign エラー画面
    -

    - *"Your browser does not support JavaScript!"と表示された場合には、お使いのWebブラウザのJavascript設定が無効になっていますので、JavaScriptを有効に変更してください。

    -

    - *"Your browser does not support Canvas!"と表示された場合には、Canvas機能に対応したWebブラウザへ変更してください。

    -
  2. -
  3. starWebPRNTエンドポイントURLをプリンタのIPアドレスに合わせて編集します。
    - ComparisonReceiptSesign 設定画面
  4. -
  5. Send(API)ボタンでデバイスフォントによる印刷が行えることを確認します。
  6. -
  7. Send(Canvas)ボタンでCanvas描画による印刷が行えることを確認します。
  8. -
-
-
- -
- - - -
- -
-

StarWebPrintBuilder.js

- -
-

- StarWebPRNT送信エレメントを生成します。 -

-
- - -

コンストラクタ

- - - - - - - -
NameDescription
StarWebPrintBuilderStarWebPrintBuilderオブジェクトを生成します。
- - -

メソッド

- - - - - - - - - - - - - - - - - - - - -
NameDescription
createAlignmentElement位置揃えエレメントを生成します。
createBarcodeElementバーコードエレメントを生成します。
createBitImageElementビットイメージエレメントを生成します。
createCutPaperElement用紙カットエレメントを生成します。
createFeedElement用紙送りエレメントを生成します。
createInitializationElement初期化エレメントを生成します。
createLogoElementロゴエレメントを生成します。
createPdf417ElementPDF417エレメントを生成します。
createPeripheralElement外部機器エレメントを生成します。
createQrCodeElementQRコードエレメントを生成します。
createRawDataElement生データエレメントを生成します。
createRuledLineElement横罫線エレメントを生成します。
createSoundElementブザーエレメントを生成します。
createTextElementテキストエレメントを生成します。
- -
- -
- -
-

StarWebPrintBuilder

- -
-

- StarWebPrintBuilderオブジェクトを生成します。 -

-
- -
-

syntax

-

- StarWebPrintBuilder(); -

- -

Parameter

- - - - - - - -
NameDescriptionObject typeOmission
----
- -

Return value

- - - - - - - -
DescriptionObject type
StarWebPrintBuilderオブジェクトStarWebPrintBuilder
- -
Example
-
-<script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
-<script type='text/javascript'>
-<!--
-function onBuild() {
-    var builder = new StarWebPrintBuilder();
-}
-// -->
-</script>
-
- -
-
- -
-
-

createAlignmentElement

- -
-

- 位置揃えエレメントを生成します。 -

- -
-

syntax

-

- createAlignmentElement(args); -

- -

Parameter

- - - - - - - - - - - -
NameDescriptionObject typeOmission
poistion位置揃え指定
-
  • 'left' … 左揃え
  • 'center' … 中央揃え
  • 'right' … 右揃え
String'left'
- -

Return value

- - - - - - - -
DescriptionObject type
生成したエレメント文字列String
- -
Example
-
-<script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
-<script type='text/javascript'>
-<!--
-function onBuild() {
-    var builder = new StarWebPrintBuilder();
-
-  var request = builder.createAlignmentElement({position:'center'});
-}
-// -->
-</script>
-
- -
-
- -2.3 createBarcodeElement -バーコードエレメントを生成します。 - -syntax -createBarcodeElement(args); - -名前付き引数 -名称 -説明 -型 -省略時 -symbology -シンボル -* 'UPCE' … UPC-E -* 'UPCA' … UPC-A -* 'JAN8' … JAN/EAN8 -* 'JAN13' … JAN/EAN13 -* 'Code39' … Code39 -* 'ITF' … ITF -* 'Code128' … Code128 -* 'Code93' … Code93 -* 'NW7' … NW-7 -String -'UPCE' -width -幅 -* 'width2' … 最小モジュール2ドット -* 'width3' … 最小モジュール3ドット -* 'width4' … 最小モジュール4ドット -* 'width_mode1' … モード1 -* 'width_mode2' … モード2 -* 'width_mode3' … モード3 -* 'width_mode4' … モード4 -* 'width_mode5' … モード5 -* 'width_mode6' … モード6 -* 'width_mode7' … モード7 -* 'width_mode8' … モード8 -* 'width_mode9' … モード9 -※コマンド仕様書参照 -String -'width3' -height -高さ(ドット単位指定) -Number -162 -hri -HRIキャラクタ -* true … HRIキャラクタあり -* false … HRIキャラクタなし -Boolean -true -data -バーコードデータ -※コマンド仕様書参照 -String -省略不可 - -戻り値 -説明 -型 -生成したエレメント文字列 -String - - -例 -<script type='text/javascript' src='js/StarWebPrintBuilder.js'></script> -<script type='text/javascript'> -<!-- -function onBuild() { - var builder = new StarWebPrintBuilder(); - -  var request = builder.createBarcodeElement({symbology:'JAN13', width:'width2', height:40, hri:false, data:'012345678901'}); -} -// --> -</script> - -2.4 createBitImageElement -ビットイメージエレメントを生成します。 - -syntax -createBitImageElement(args); - -名前付き引数 -名称 -説明 -型 -省略時 -context -HTML5 Canvas 2Dコンテキスト -Canvas -省略不可 -x -印刷領域横方向開始位置(ドット単位指定) -Number -0 -y -印刷領域縦方向開始位置(ドット単位指定) -Number -0 -width -印刷領域幅(ドット単位指定) -Number -0 -height -印刷領域高さ(ドット単位指定) -Number -0 - -戻り値 -説明 -型 -生成したエレメント文字列 -String - -例 -<script type='text/javascript' src='js/StarWebPrintBuilder.js'></script> -<script type='text/javascript'> -<!-- -function onBuild() { - var builder = new StarWebPrintBuilder(); - -  var request = builder.createBitImageElement({context:canvas.getContext('2d'), x:0, y:0, width:200, height:50}); -} -// --> -</script> - - -2.5 createCutPaperElement -用紙カットエレメントを生成します。 - -syntax -createCutPaperElement(args); - -名前付き引数 -名称 -説明 -型 -省略時 -type -カット種 -* 'full' … フルカット -* 'partial' … パーシャルカット -String -'full' -feed -カット前の用紙送り -* true … 用紙送りあり -* false … 用紙送りなし -Boolean -true - -戻り値 -説明 -型 -生成したエレメント文字列 -String - -例 -<script type='text/javascript' src='js/StarWebPrintBuilder.js'></script> -<script type='text/javascript'> -<!-- -function onBuild() { - var builder = new StarWebPrintBuilder(); - -  var request = builder.createCutPaperElement({feed:true, type:'partial'}); -} -// --> -</script> - - -2.6 createFeedElement -用紙送りエレメントを生成します。 - -syntax -createFeedElement(args); - -名前付き引数 -名称 -説明 -型 -省略時 -line -行単位紙送り量(行単位指定) -Number -0 -unit -ドット単位紙送り量(ドット単位指定) -Number -0 - -戻り値 -説明 -型 -生成したエレメント文字列 -String - -例 -<script type='text/javascript' src='js/StarWebPrintBuilder.js'></script> -<script type='text/javascript'> -<!-- -function onBuild() { - var builder = new StarWebPrintBuilder(); - -  var request = builder.createFeedElement({line:2, unit:8}); -} -// --> -</script> - - -2.7 createInitializationElement -初期化エレメントを生成します。 - -syntax -createInitializationElement(args); - -名前付き引数 -名称 -説明 -型 -省略時 -reset -ハードウェアリセット -* true … ハードウェアリセット実施 -* false … ハードウェアリセット未実施(コマンドの初期化のみ) -Boolean -false -print -ハードウェアリセット後の自己印字 -* true …ハードウェアリセット後の自己印字実施 -* false … ハードウェアリセット後の自己印字未実施 -Boolean -false - -戻り値 -説明 -型 -生成したエレメント文字列 -String - -例 -<script type='text/javascript' src='js/StarWebPrintBuilder.js'></script> -<script type='text/javascript'> -<!-- -function onBuild() { - var builder = new StarWebPrintBuilder(); - -  var request = builder.createInitializationElement({reset:true, print:true}); -} -// --> -</script> - - -2.8 createLogoElement -ロゴエレメントを生成します。 - -syntax -createLogoElement(args); - -名前付き引数 -名称 -説明 -型 -省略時 -number -登録番号 -Number -1 -width -幅 -* 'single' … 等倍幅 -* 'double' … 2倍幅 -String -'single' -height -高さ -* 'single' … 等倍高 -* 'double' … 2倍高 -String -'single' - -戻り値 -説明 -型 -生成したエレメント文字列 -String - -例 -<script type='text/javascript' src='js/StarWebPrintBuilder.js'></script> -<script type='text/javascript'> -<!-- -function onBuild() { - var builder = new StarWebPrintBuilder(); - - var request = builder.createLogoElement({number:1, width:'single', height:'single'}); -} -// --> -</script> - - -2.9 createPdf417Element -PDF417エレメントを生成します。 - -syntax -createPdf417Element(args); - -名前付き引数 -名称 -説明 -型 -省略時 -line -ライン数 -※コマンド仕様書参照 -Number -0 -column -カラム数 -※コマンド仕様書参照 -Number -0 -level -セキュリティレベル -* 'level0' … セキュリティレベル0 -* 'level1' … セキュリティレベル1 -* 'level2' … セキュリティレベル2 -* 'level3' … セキュリティレベル3 -* 'level4' … セキュリティレベル4 -* 'level5' … セキュリティレベル5 -* 'level6' … セキュリティレベル6 -* 'level7' … セキュリティレベル7 -* 'level8' … セキュリティレベル8 -String -'level1' -module -モジュールサイズ(ドット単位指定) -Number -2 -aspect -アスペクト比 -Number -3 -data -PDF417データ -※コマンド仕様書参照 -String -省略不可 - -戻り値 -説明 -型 -生成したエレメント文字列 -String - -例 -<script type='text/javascript' src='js/StarWebPrintBuilder.js'></script> -<script type='text/javascript'> -<!-- -function onBuild() { - var builder = new StarWebPrintBuilder(); - -  var request = builder.createPdf417Element({level:'level1', line:0, column:0, module:2, aspect:3, data:'http://www.starmicronics.com/'}); -} -// --> -</script> - - -2.10 createPeripheralElement -外部機器エレメントを生成します。 - -syntax -createPeripheralElement(args); - -名前付き引数 -名称 -説明 -型 -省略時 -channel -外部機器 -* 1 … チャンネル1番 -* 2 … チャンネル2番(通電時間/ディレイ時間無効) -Number -1 -on -通電時間(1mSec単位指定) -Number -200 -off -ディレイ時間(1mSec単位指定) -Number -200 - -戻り値 -説明 -型 -生成したエレメント文字列 -String - -例 -<script type='text/javascript' src='js/StarWebPrintBuilder.js'></script> -<script type='text/javascript'> -<!-- -function onBuild() { - var builder = new StarWebPrintBuilder(); - - var request = builder.createPeripheralElement({channel:1, on:200, off:200}); -} -// --> -</script> - - -2.11 createQrCodeElement -QRコードエレメントを生成します。 - -syntax - -createQrCodeElement(args); - -名前付き引数 -名称 -説明 -型 -省略時 -model -モデル -* 'model1' … モデル1 -* 'model2' … モデル2 -String -'model2' -level -誤り訂正レベル -* 'level_l' … 誤り訂正レベルL -* 'level_m' … 誤り訂正レベルM -* 'level_q' … 誤り訂正レベルQ -* 'level_h' … 誤り訂正レベルH -String -'level_l' -cell -セルサイズ(ドット単位指定) -Number -3 -data -QRコードデータ -※コマンド仕様書参照 -String -省略不可 - -戻り値 -説明 -型 -生成したエレメント文字列 -String - -例 -<script type='text/javascript' src='js/StarWebPrintBuilder.js'></script> -<script type='text/javascript'> -<!-- -function onBuild() { - var builder = new StarWebPrintBuilder(); - -  var request = builder.createQrCodeElement({model:'model2', level:'level_l', cell:3, data:'http://www.starmicronics.com/'}); -} -// --> -</script> - - -2.12 createRawDataElement -生データエレメントを生成します。 - -syntax -createRawDataElement(args); - -名前付き引数 -名称 -説明 -型 -省略時 -data -生データ -※16進数'\x00'-'\xff'、水平タブ'\t'、改行'\n'、キャリッジリターン'\r'、バックスラッシュ'\\' -String -省略不可 - -戻り値 -説明 -型 -生成したエレメント文字列 -String - -例 -<script type='text/javascript' src='js/StarWebPrintBuilder.js'></script> -<script type='text/javascript'> -<!-- -function onBuild() { - var builder = new StarWebPrintBuilder(); - -  var request = builder.createRawDataElement({data:\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\n')}); -} -// --> -</script> - - -2.13 createRuledLineElement -横罫線エレメントを生成します。 - -syntax -createRuledLineElement(args); - -名前付き引数 -名称 -説明 -型 -省略時 -thickness -線種 -* 'thin' … 細線 -* 'medium' … 中線 -* 'thick' … 太線 -* 'double_thin' … 二重細線 -* 'double_medium' … 二重中線 -* 'double_thick' … 二重太線 -String -'medium' -width -長さ(ドット単位指定) -Number -832 - -戻り値 -説明 -型 -生成したエレメント文字列 -String - -例 -<script type='text/javascript' src='js/StarWebPrintBuilder.js'></script> -<script type='text/javascript'> -<!-- -function onBuild() { - var builder = new StarWebPrintBuilder(); - -  var request = builder.createRuledLineElement({thickness:'thin', width:200}); -} -// --> -</script> - - -2.14 createSoundElement -ブザーエレメントを生成します。 - -syntax -createSoundElement(args); - -名前付き引数 -名称 -説明 -型 -省略時 -channel -外部機器 -* 1 … チャンネル1番 -* 2 … チャンネル2番 -Number -1 -repeat -繰り返し回数 -Number -1 - -戻り値 -説明 -型 -生成したエレメント文字列 -String - -例 -<script type='text/javascript' src='js/StarWebPrintBuilder.js'></script> -<script type='text/javascript'> -<!-- -function onBuild() { - var builder = new StarWebPrintBuilder(); - -  var request = builder.createSoundElement({channel:1, repeat:1}); -} -// --> -</script> - - -2.15 createTextElement -テキストエレメントを生成します。 - -syntax -createTextElement(args); - -名前付き引数 -名称 -説明 -型 -省略時 -codepage -コードページ -* 'cp437' … コードページ437 -* 'cp737' … コードページ737 -* 'cp772' … コードページ772 -* 'cp774' … コードページ774 -* 'cp851' … コードページ851 -* 'cp852' … コードページ852 -* 'cp855' … コードページ855 -* 'cp857' … コードページ857 -* 'cp858' … コードページ858 -* 'cp860' ~ 'cp866' … コードページ860 ~ 866 -* 'cp869' … コードページ869 -* 'cp874' … コードページ874 -* 'cp928' … コードページ928 -* 'cp932' … コードページ932(Katakana) -* 'cp998' … コードページ998(Normal) -* 'cp999' … コードページ999 -* 'cp1001' … コードページ1001 -* 'cp1250' ~ 'cp1252' … コードページ1250 ~ 1252 -* 'cp2001' … コードページ2001 -* 'cp3001' … コードページ3001 -* 'cp3002' … コードページ3002 -* 'cp3011' … コードページ3011 -* 'cp3012' … コードページ3012 -* 'cp3021' … コードページ3021 -* 'cp3041' … コードページ3041 -* 'cp3840' … コードページ3840 -* 'cp3841' … コードページ3841 -* 'cp3843' ~ 'cp3848' … コードページ3843 ~ 3848 -* 'blank' … ユーザ設定(空白コードページ) -String -未設定 -international -国際文字 -* 'usa' … USA -* 'france' … フランス -* 'germany' … ドイツ -* 'uk' … イギリス -* 'denmark' … デンマーク -* 'sweden' … スウェーデン -* 'italy' … イタリア -* 'spain' … スペイン -* 'japan' … 日本 -* 'norway' … ノルウェー -* 'denmark2' … デンマークⅡ -* 'spain2' … スペインⅡ -* 'latin_america' … ラテンアメリカ -* 'korea' … 韓国 -* 'ireland' … アイルランド -* 'legal' … リーガル -String -未設定 -characterspace -文字間スペース(ドット単位指定) -Number -未設定 -emphasis -強調印字 -* true … 強調印字有効 -* false … 強調印字無効 -Boolean -未設定 -invert -白黒反転印字 -* true … 白黒反転印字有効 -* false … 白黒反転印字無効 -Boolean -未設定 -linespace -行間スペース(ドット単位指定) -* 24 … 3mm改行 -* 32 … 4mm改行 -Number -未設定 -width -横倍率 -* 1 … 等倍幅 -* 2 … 2倍幅 -* 3 … 3倍幅 -* 4 … 4倍幅 -* 5 … 5倍幅 -* 6 … 6倍幅 -Number -未設定 -height -縦倍率 -* 1 … 等倍高 -* 2 … 2倍高 -* 3 … 3倍高 -* 4 … 4倍高 -* 5 … 5倍高 -* 6 … 6倍高 -Number -未設定 -font -フォント種 -* 'font_a' … フォントA(12×24ドット) -* 'font_b' … フォントB(9×24ドット) -String -未設定 -undelline -下線印字 -* true … 下線印字有効 -* false … 下線印字無効 -Boolean -未設定 -data -テキストデータ -String -省略不可 - -戻り値 -説明 -型 -生成したエレメント文字列 -String - -例 -<script type='text/javascript' src='js/StarWebPrintBuilder.js'></script> -<script type='text/javascript'> -<!-- -function onBuild() { - var builder = new StarWebPrintBuilder(); - -  var request = builder.createTextElement({codepage:'cp998', international:'usa', characterspace:0, emphasis:false, invert:false, linespace:32, width:1, height:1, font:'font_a', underline:false, data:'Star Micronics\n'}); -} -// --> -</script> - - -3 StarWebPrintTrader.js -StarWebPRNT送信エレメント列を送信したり、受信したStarWebPRNT受信エレメント列から状態を確認/抽出します。 - -コンストラクタ -名称 -説明 -StarWebPrintTrader -StarWebPrintTraderオブジェクトを生成します。 - -メソッド -名称 -説明 -sendMessage -StarWebPRNT送信エレメント列を送信します。 -isCoverOpen -StarWebPRNT受信エレメント列からカバーオープンか確認します。 -isOffLine -StarWebPRNT受信エレメント列からオフラインか確認します。 -isCompulsionSwitchClose -StarWebPRNT受信エレメント列からコンパルジョンスイッチがクローズしているか確認します。 -isEtbCommandExecute -StarWebPRNT受信エレメント列からETBコマンド実行済みか確認します。 -isHighTemperatureStop -StarWebPRNT受信エレメント列から印字ヘッド高温停止中か確認します。 -isNonRecoverableError -StarWebPRNT受信エレメント列から復帰不可能エラーか確認します。 -isAutoCutterError -StarWebPRNT受信エレメント列から用紙カッターエラーか確認します。 -isBlackMarkError -StarWebPRNT受信エレメント列からブラックマークエラーか確認します。 -isPaperEnd -StarWebPRNT受信エレメント列から用紙エンドか確認します。 -isPaperNearEnd -StarWebPRNT受信エレメント列から用紙ニアエンドか確認します。 -extractionEtbCounter -StarWebPRNT受信エレメント列からETBカウンタを抽出します。 - -プロパティ -名称 -説明 -onReceive -正常受信イベント -onError -異常受信イベント - - -3.1 StarWebPrintTrader -StarWebPrintTraderオブジェクトを生成します。 - -syntax -StarWebPrintTrader(args); - -名前付き引数 -名称 -説明 -型 -省略時 -url -StarWebPRNTエンドポイントURL -※省略時はsendMessageメソッドで指定すること -String -- -checkedblock -印刷完了待ち -* true … 印刷完了待ち有効 -* false … 印刷完了待ち無効 -Boolean -true - -戻り値 -説明 -型 -StarWebPrintTraderオブジェクト -StarWebPrintTrader - -例 -<script type='text/javascript' src='js/StarWebPrintTrader.js'></script> -<script type='text/javascript'> -<!-- -function onSend(url, request) { -  var trader = new StarWebPrintTrader({url:url}); - - trader.sendMessage({request:request}); -} -// --> -</script> - - -3.2 sendMessage -StarWebPRNT送信エレメント列を送信します。 - -syntax -sendMessage(args); - -名前付き引数 -名称 -説明 -型 -省略時 -url -StarWebPRNTエンドポイントURL -※省略時はStarWebPrintTraderコンストラクタで指定すること -String -- -checkedblock -印刷完了待ち -* true … 印刷完了待ち有効 -* false … 印刷完了待ち無効 -※省略時はStarWebPrintTraderコンストラクタで指定された値 -Boolean -- -request -StarWebPRNT送信エレメント列 -String -省略不可 - -戻り値 -説明 -型 -- -- - -例 -<script type='text/javascript' src='js/StarWebPrintTrader.js'></script> -<script type='text/javascript'> -<!-- -function onSend(url, request) { -  var trader = new StarWebPrintTrader({url:url}); - - trader.sendMessage({request:request}); -} -// --> -</script> - - -3.3 isCoverOpen -StarWebPRNT受信エレメント列からカバーオープンか確認します。 - -syntax -isCoverOpen(args); - -名前付き引数 -名称 -説明 -型 -省略時 -traderStatus -onReceiveイベントに渡されたresponseのtraderStatusプロパティ -String -省略不可 - -戻り値 -説明 -型 -カバーオープン状態 -* true … カバーオープン -* false … カバークローズ -Boolean - -例 -<script type='text/javascript' src='js/StarWebPrintTrader.js'></script> -<script type='text/javascript'> -<!-- -function onSend(url, request) { -  var trader = new StarWebPrintTrader({url:url}); - -  trader.onReceive = function (response) { - if (trader.isCoverOpen({traderStatus:response.traderStatus})) { - alert('CoverOpen'); -    } -  } - - trader.sendMessage({request:request}); -} -// --> -</script> - - -3.4 isOffLine -StarWebPRNT受信エレメント列からオフラインか確認します。 - -syntax -isOffLine(args); - -名前付き引数 -名称 -説明 -型 -省略時 -traderStatus -onReceiveイベントに渡されたresponseのtraderStatusプロパティ -String -省略不可 - -戻り値 -説明 -型 -オフライン状態 -* true … オフライン -* false … オンライン -Boolean - -例 -<script type='text/javascript' src='js/StarWebPrintTrader.js'></script> -<script type='text/javascript'> -<!-- -function onSend(url, request) { -  var trader = new StarWebPrintTrader({url:url}); - -  trader.onReceive = function (response) { -   if (trader.isOffLine({traderStatus:response.traderStatus})) { -      alert('OffLine'); -    } -  } - - trader.sendMessage({request:request}); -} -// --> -</script> - - -3.5 isCompulsionSwitchClose -StarWebPRNT受信エレメント列からコンパルジョンスイッチがクローズしているか確認します。 - -syntax -isCompulsionSwitchClose(args); - -名前付き引数 -名称 -説明 -型 -省略時 -traderStatus -onReceiveイベントに渡されたresponseのtraderStatusプロパティ -String -省略不可 - -戻り値 -説明 -型 -コンパルジョンスイッチ状態 -* true … コンパルジョンスイッチクローズ -* false … コンパルジョンスイッチオープン -Boolean - -例 -<script type='text/javascript' src='js/StarWebPrintTrader.js'></script> -<script type='text/javascript'> -<!-- -function onSend(url, request) { -  var trader = new StarWebPrintTrader({url:url}); - -  trader.onReceive = function (response) { -   if (trader.isCompulsionSwitchClose({traderStatus:response.traderStatus})) { -      alert('CompulsionSwitchClose'); -    } -  } - - trader.sendMessage({request:request}); -} -// --> -</script> - - -3.6 isEtbCommandExecute -StarWebPRNT受信エレメント列からETBコマンド実行済みか確認します。 - -syntax -isEtbCommandExecute(args); - -名前付き引数 -名称 -説明 -型 -省略時 -traderStatus -onReceiveイベントに渡されたresponseのtraderStatusプロパティ -String -省略不可 - -戻り値 -説明 -型 -ETBコマンド実行状態 -* true … ETBコマンド実行済み -* false … ETBコマンド未実行 -Boolean - -例 -// --> -<script type='text/javascript' src='js/StarWebPrintTrader.js'></script> -<script type='text/javascript'> -<!-- -function onSend(url, request) { -  var trader = new StarWebPrintTrader({url:url}); - -  trader.onReceive = function (response) { -   if (trader.isEtbCommandExecute({traderStatus:response.traderStatus})) { -      alert('EtbCommandExecute'); -    } -  } - - trader.sendMessage({request:request}); -} -// --> -</script> - - -3.7 isHighTemperatureStop -StarWebPRNT受信エレメント列から印字ヘッド高温停止中か確認します。 - -syntax -isHighTemperatureStop(args); - -名前付き引数 -名称 -説明 -型 -省略時 -traderStatus -onReceiveイベントに渡されたresponseのtraderStatusプロパティ -String -省略不可 - -戻り値 -説明 -型 -印字ヘッド高温停止状態 -* true … 印字ヘッド高温停止 -* false … 印字ヘッド高温未停止 -Boolean - -例 -// --> -<script type='text/javascript' src='js/StarWebPrintTrader.js'></script> -<script type='text/javascript'> -<!-- -function onSend(url, request) { -  var trader = new StarWebPrintTrader({url:url}); - -  trader.onReceive = function (response) { -   if (trader.isHighTemperatureStop({traderStatus:response.traderStatus})) { -      alert('HighTemperatureStop'); -    } -  } - - trader.sendMessage({request:request}); -} -// --> -</script> - - -3.8 isNonRecoverableError -StarWebPRNT受信エレメント列から復帰不可能エラーか確認します。 - -syntax -isNonRecoverableError(args); - -名前付き引数 -名称 -説明 -型 -省略時 -traderStatus -onReceiveイベントに渡されたresponseのtraderStatusプロパティ -String -省略不可 - -戻り値 -説明 -型 -復帰不可能エラー状態 -* true … 復帰不可能エラー発生 -* false … 復帰不可能エラー未発生 -Boolean - -例 -// --> -<script type='text/javascript' src='js/StarWebPrintTrader.js'></script> -<script type='text/javascript'> -<!-- -function onSend(url, request) { -  var trader = new StarWebPrintTrader({url:url}); - -  trader.onReceive = function (response) { -   if (trader.isNonRecoverableError({traderStatus:response.traderStatus})) { -      alert('NonRecoverableError'); -    } -  } - - trader.sendMessage({request:request}); -} -// --> -</script> - - -3.9 isAutoCutterError -StarWebPRNT受信エレメント列から用紙カッターエラーか確認します。 - -syntax -isAutoCutterError(args); - -名前付き引数 -名称 -説明 -型 -省略時 -traderStatus -onReceiveイベントに渡されたresponseのtraderStatusプロパティ -String -省略不可 - -戻り値 -説明 -型 -用紙カッターエラー状態 -* true … 用紙カッターエラー発生 -* false … 用紙カッターエラー未発生 -Boolean - -例 -// --> -<script type='text/javascript' src='js/StarWebPrintTrader.js'></script> -<script type='text/javascript'> -<!-- -function onSend(url, request) { -  var trader = new StarWebPrintTrader({url:url}); - -  trader.onReceive = function (response) { -   if (trader.isAutoCutterError({traderStatus:response.traderStatus})) { -      alert('AutoCutterError'); -    } -  } - - trader.sendMessage({request:request}); -} -// --> -</script> - - -3.10 isBlackMarkError -StarWebPRNT受信エレメント列からブラックマークエラーか確認します。 - -syntax -isBlackMarkError(args); - -名前付き引数 -名称 -説明 -型 -省略時 -traderStatus -onReceiveイベントに渡されたresponseのtraderStatusプロパティ -String -省略不可 - -戻り値 -説明 -型 -ブラックマークエラー状態 -* true … ブラックマークエラー発生 -* false … ブラックマークエラー未発生 -Boolean - -例 -// --> -<script type='text/javascript' src='js/StarWebPrintTrader.js'></script> -<script type='text/javascript'> -<!-- -function onSend(url, request) { -  var trader = new StarWebPrintTrader({url:url}); - -  trader.onReceive = function (response) { -   if (trader.isBlackMarkError({traderStatus:response.traderStatus})) { -      alert('BlackMarkError'); -    } -  } - - trader.sendMessage({request:request}); -} -// --> -</script> - - -3.11 isPaperEnd -StarWebPRNT受信エレメント列から用紙エンドか確認します。 - -syntax -isPaperEnd(args); - -名前付き引数 -名称 -説明 -型 -省略時 -traderStatus -onReceiveイベントに渡されたresponseのtraderStatusプロパティ -String -省略不可 - -戻り値 -説明 -型 -用紙エンド状態 -* true … 用紙エンド発生 -* false … 用紙エンド未発生 -Boolean - -例 -// --> -<script type='text/javascript' src='js/StarWebPrintTrader.js'></script> -<script type='text/javascript'> -<!-- -function onSend(url, request) { -  var trader = new StarWebPrintTrader({url:url}); - -  trader.onReceive = function (response) { -   if (trader.isPaperEnd({traderStatus:response.traderStatus})) { -      alert('PaperEnd'); -    } -  } - - trader.sendMessage({request:request}); -} -// --> -</script> - - -3.12 isPaperNearEnd -StarWebPRNT受信エレメント列から用紙ニアエンドか確認します。 - -syntax -isPaperNearEnd(args); - -名前付き引数 -名称 -説明 -型 -省略時 -traderStatus -onReceiveイベントに渡されたresponseのtraderStatusプロパティ -String -省略不可 - -戻り値 -説明 -型 -用紙ニアエンド状態 -* true … 用紙ニアエンド発生 -* false … 用紙ニアエンド未発生 -Boolean - -例 -// --> -<script type='text/javascript' src='js/StarWebPrintTrader.js'></script> -<script type='text/javascript'> -<!-- -function onSend(url, request) { -  var trader = new StarWebPrintTrader({url:url}); - -  trader.onReceive = function (response) { -   if (trader.isPaperNearEnd({traderStatus:response.traderStatus})) { - alert('PaperNearEnd'); -    } -  } - - trader.sendMessage({request:request}); -} -// --> -</script> - - -3.13 extractionEtbCounter -StarWebPRNT受信エレメント列からETBカウンタを抽出します。 - -syntax -extractionEtbCounter(args); - -名前付き引数 -名称 -説明 -型 -省略時 -traderStatus -onReceiveイベントに渡されたresponseのtraderStatusプロパティ -String -省略不可 - -戻り値 -説明 -型 -ETBカウンタ値 -Number - -例 -// --> -<script type='text/javascript' src='js/StarWebPrintTrader.js'></script> -<script type='text/javascript'> -<!-- -function onSend(url, request) { -  var trader = new StarWebPrintTrader({url:url}); - -  trader.onReceive = function (response) { -   alert('EtbCounter = ' + trader.extractionEtbCounter({traderStatus:response.traderStatus}).toString(); -  } - - trader.sendMessage({request:request}); -} -// --> -</script> - - -3.14 onReceive -正常受信イベント - -syntax -function(response); - -名前付き引数 -名称 -説明 -型 -traderSuccess -印刷結果 -* true … 印刷成功 -* false … 印刷失敗 -Boolean -traderCode -終了コード -* 0 … 正常終了 -* 'EPTR_AUTOMATICAL' … 自動復帰エラー発生 -* 'EPTR_CUTTER' … オートカッターエラー発生 -* 'EPTR_MECHANICAL' … メカニカルエラー発生 -* 'EPTR_REC_EMPTY' … ロール紙エンド検出器に用紙なし -* 'EPTR_UNRECOVERABLE' … 復帰不可能エラー発生 -* 'SchemaError' … 要求ドキュメントのsyntaxに誤りがある -* 'DeviceNotFound' … デバイス ID で指定したプリンターが存在しない -* 'PrintSystemError' … 印刷システムにエラーが発生 -* 'EX_BADPORT' … 通信ポートに異常を検出 -Number -traderStatus -スター自動ステータス -※コマンド仕様書参照 -String -status -XMLHttpRequestオブジェクトのstatusプロパティ -※XMLHttpRequest仕様参照 -Number -responseText -XMLHttpRequestオブジェクトのresponseTextプロパティ -※XMLHttpRequest仕様参照 -String - - -例 -// --> -<script type='text/javascript' src='js/StarWebPrintTrader.js'></script> -<script type='text/javascript'> -<!-- -function onSend(url, request) { -  var trader = new StarWebPrintTrader({url:url}); - -  trader.onReceive = function (response) { - var msg = '- onReceive -\n\n'; - - msg += 'TraderSuccess:' + response.traderSuccess + '\n'; - -  msg += 'TraderCode:' + response.traderCode + '\n'; - - msg += 'TraderStatus:' + response.traderStatus + '\n'; - - msg += 'Status:' + response.status + '\n'; - -  msg += 'ResponseText:' + response.responseText; - - alert(msg); -  } - - trader.onError = function (response) { - var msg = '- onError -\n\n'; - - msg += '\tStatus:' + response.status + '\n'; - - msg += '\tResponseText:' + response.responseText; - - alert(msg); - } - - trader.sendMessage({request:request}); -} -// --> -</script> - - -3.15 onError -異常受信イベント - -syntax -function(response); - -名前付き引数 -名称 -説明 -型 -status -XMLHttpRequestオブジェクトのstatusプロパティ -※XMLHttpRequest仕様参照 -Number -responseText -XMLHttpRequestオブジェクトのresponseTextプロパティ -※XMLHttpRequest仕様参照 -String - -例 -// --> -<script type='text/javascript' src='js/StarWebPrintTrader.js'></script> -<script type='text/javascript'> -<!-- -function onSend(url, request) { -  var trader = new StarWebPrintTrader({url:url}); - -  trader.onReceive = function (response) { - var msg = '- onReceive -\n\n'; - - msg += 'TraderSuccess:' + response.traderSuccess + '\n'; - -  msg += 'TraderCode:' + response.traderCode + '\n'; - - msg += 'TraderStatus:' + response.traderStatus + '\n'; - - msg += 'Status:' + response.status + '\n'; - -  msg += 'ResponseText:' + response.responseText; - - alert(msg); -  } - - trader.onError = function (response) { - var msg = '- onError -\n\n'; - - msg += '\tStatus:' + response.status + '\n'; - - msg += '\tResponseText:' + response.responseText; - - alert(msg); - } - - trader.sendMessage({request:request}); -} -// --> -</script> - - -4 StarBarcodeEncoder.js -HTML5 Canvas 2Dコンテキストへのバーコード描画を補うバーコードモジュール列を生成します。 - -コンストラクタ -名称 -説明 -StarBarcodeEncoder -StarBarcodeEncoderオブジェクトを生成します。 - -メソッド -名称 -説明 -createUPCE -UPCEバーコードを生成します。 -createUPCA -UPCAバーコードを生成します。 -createJAN8 -JAN/EAN8バーコードを生成します。 -createJAN13 -JAN/EAN13バーコードを生成します。 -createCode39 -Code39バーコードを生成します。 -createITF -ITFバーコードを生成します。 -createCode128 -Code128バーコードを生成します。 -createCode93 -Code93バーコードを生成します。 -createNW7 -NW7バーコードを生成します。 - -4.1 StarBarcodeEncoder -StarBarcodeEncoderオブジェクトを生成します。 - -syntax -StarBarcodeEncoder(); - -名前付き引数 -名称 -説明 -型 -省略時 -- -- -- -- - -戻り値 -説明 -型 -StarBarcodeEncoderオブジェクト -StarBarcodeEncoder - -例 -<script type='text/javascript' src='js/StarBarcodeEncoder.js'></script> -<script type='text/javascript'> -<!-- -function onBuild() { - var builder = new StarBarcodeEncoder(); -} -// --> -</script> - - -4.2 createUPCE -UPCEバーコードモジュールを生成します。 - -syntax -createUPCE(args); - -名前付き引数 -名称 -説明 -型 -省略時 -data -UPCEバーコードデータ -String -省略不可 - -戻り値 -説明 -型 -生成したバーコードモジュール列 -* '1' … モジュールあり -* '0' … モジュールなし -String - -例 -<script type='text/javascript' src='js/StarBarcodeEncoder.js'></script> -<script type='text/javascript'> -<!-- -function onBuild() { - var encoder = new StarBarcodeEncoder(); - -  var lineImage = encoder.createUPCE({data:'01234500006'}); -} -// --> -</script> - - -4.3 createUPCA -UPCAバーコードモジュールを生成します。 - -syntax -createUPCA(args); - -名前付き引数 -名称 -説明 -型 -省略時 -data -UPCAバーコードデータ -String -省略不可 - -戻り値 -説明 -型 -生成したバーコードモジュール列 -* '1' … モジュールあり -* '0' … モジュールなし -String - -例 -<script type='text/javascript' src='js/StarBarcodeEncoder.js'></script> -<script type='text/javascript'> -<!-- -function onBuild() { - var encoder = new StarBarcodeEncoder(); - -  var lineImage = encoder.createUPCA({data:'01234567890'}); -} -// --> -</script> - - -4.4 createJAN8 -JAN/EAN8バーコードを生成します。 - -syntax -createJAN8(args); - -名前付き引数 -名称 -説明 -型 -省略時 -data -JAN/EAN8バーコードデータ -String -省略不可 - -戻り値 -説明 -型 -生成したバーコードモジュール列 -* '1' … モジュールあり -* '0' … モジュールなし -String - -例 -<script type='text/javascript' src='js/StarBarcodeEncoder.js'></script> -<script type='text/javascript'> -<!-- -function onBuild() { - var encoder = new StarBarcodeEncoder(); - -  var lineImage = encoder.createJAN8({data:'0123456'}); -} -// --> -</script> - - -4.5 createJAN13 -JAN/EAN13バーコードを生成します。 - -syntax -createJAN13(args); - -名前付き引数 -名称 -説明 -型 -省略時 -data -JAN/EAN13バーコードデータ -String -省略不可 - -戻り値 -説明 -型 -生成したバーコードモジュール列 -* '1' … モジュールあり -* '0' … モジュールなし -String - -例 -<script type='text/javascript' src='js/StarBarcodeEncoder.js'></script> -<script type='text/javascript'> -<!-- -function onBuild() { - var encoder = new StarBarcodeEncoder(); - -  var lineImage = encoder.createJAN13({data:'01234567890'}); -} -// --> -</script> - - -4.6 createCode39 -Code39バーコードを生成します。 - -syntax -createCode39(args); - -名前付き引数 -名称 -説明 -型 -省略時 -data -Code39バーコードデータ -String -省略不可 - -戻り値 -説明 -型 -生成したバーコードモジュール列 -* 'N' … ナローバー -* 'n' … ナロースペース -* 'W' … ワイドバー -* 'w' … ワイドスペース -String - -例 -<script type='text/javascript' src='js/StarBarcodeEncoder.js'></script> -<script type='text/javascript'> -<!-- -function onBuild() { - var encoder = new StarBarcodeEncoder(); - -  var lineImage = encoder.createCode39({data:'0123456789'}); -} -// --> -</script> - - -4.7 createITF -ITFバーコードを生成します。 - -syntax -createITF(args); - -名前付き引数 -名称 -説明 -型 -省略時 -data -ITFバーコードデータ -String -省略不可 - -戻り値 -説明 -型 -生成したバーコードモジュール列 -* 'N' … ナローバー -* 'n' … ナロースペース -* 'W' … ワイドバー -* 'w' … ワイドスペース -String - -例 -<script type='text/javascript' src='js/StarBarcodeEncoder.js'></script> -<script type='text/javascript'> -<!-- -function onBuild() { - var encoder = new StarBarcodeEncoder(); - -  var lineImage = encoder.createITF({data:'0123456789'}); -} -// --> -</script> - - -4.8 createCode128 -Code128バーコードを生成します。 - -syntax -createCode128(args); - -名前付き引数 -名称 -説明 -型 -省略時 -data -Code128バーコードデータ -String -省略不可 - -戻り値 -説明 -型 -生成したバーコードモジュール列 -* '1' … モジュールあり -* '0' … モジュールなし -String - -例 -<script type='text/javascript' src='js/StarBarcodeEncoder.js'></script> -<script type='text/javascript'> -<!-- -function onBuild() { - var encoder = new StarBarcodeEncoder(); - -  var lineImage = encoder.createCode128({data:'{B0123456789'}); -} -// --> -</script> - - -4.9 createCode93 -Code93バーコードを生成します。 - -syntax -createCode93(args); - -名前付き引数 -名称 -説明 -型 -省略時 -data -Code93バーコードデータ -String -省略不可 - -戻り値 -説明 -型 -生成したバーコードモジュール列 -* '1' … モジュールあり -* '0' … モジュールなし -String - -例 -<script type='text/javascript' src='js/StarBarcodeEncoder.js'></script> -<script type='text/javascript'> -<!-- -function onBuild() { - var encoder = new StarBarcodeEncoder(); - -  var lineImage = encoder.createCode93({data:'0123456789'}); -} -// --> -</script> - - -4.10 createNW7 -NW7バーコードを生成します。 - -syntax -createNW7(args); - -名前付き引数 -名称 -説明 -型 -省略時 -data -NW7バーコードデータ -String -省略不可 - -戻り値 -説明 -型 -生成したバーコードモジュール列 -* 'N' … ナローバー -* 'n' … ナロースペース -* 'W' … ワイドバー -* 'w' … ワイドスペース -String - -例 -<script type='text/javascript' src='js/StarBarcodeEncoder.js'></script> -<script type='text/javascript'> -<!-- -function onBuild() { - var encoder = new StarBarcodeEncoder(); - -  var lineImage = encoder.createUPCE({data:'A0123456789B'}); -} -// --> -</script> - - -5 StarWebPRNT送信エレメント - -名称 -説明 -<root> -ルートエレメント -<alignment> -位置揃えエレメント -<barcode> -バーコードエレメント -<bitimage> -ビットイメージエレメント -<cutpaper> -用紙カットエレメント -<feed> -用紙送りエレメント -<initialization> -初期化エレメント -<logo> -ロゴエレメント -<pdf417> -PDF417エレメント -<peripheral> -外部機器エレメント -<qrcode> -QRコードエレメント -<rawdata> -生データエレメント -<ruledline> -横罫線エレメント -<sound> -ブザーエレメント -<text> -テキストエレメント - -5.1 <root> -ルートエレメント - -属性 -名称 -説明 -省略時 -checkedblock -印刷完了待ち -* 'true' … 印刷完了待ち有効 -* 'false' … 印刷完了待ち無効 -'true' - -値 -説明 -StarWebPRNT送信エレメント列 - -例 -<root> -  <alignment position='center'/> -  <text>Star Micronics\x0a</text> -  <cutpaper feed='true' type='partial'/> -</root> - - -5.2 <alignment> -位置揃えエレメント - -属性 -名称 -説明 -省略時 -poistion -位置揃え指定 -* 'left' … 左揃え -* 'center' … 中央揃え -* 'right' … 右揃え -'left' - -値 -説明 -無視 - -例 -<root> -  <alignment position='center'/> -</root> - - -5.3 <barcode> -バーコードエレメント - -属性 -名称 -説明 -省略時 -symbology -シンボル -* 'UPCE' … UPC-E -* 'UPCA' … UPC-A -* 'JAN8' … JAN/EAN8 -* 'JAN13' … JAN/EAN13 -* 'Code39' … Code39 -* 'ITF' … ITF -* 'Code128' … Code128 -* 'Code93' … Code93 -* 'NW7' … NW-7 -'UPCE' -width -幅 -* 'width2' … 最小モジュール2ドット -* 'width3' … 最小モジュール3ドット -* 'width4' … 最小モジュール4ドット -* 'width_mode1' … モード1 -* 'width_mode2' … モード2 -* 'width_mode3' … モード3 -* 'width_mode4' … モード4 -* 'width_mode5' … モード5 -* 'width_mode6' … モード6 -* 'width_mode7' … モード7 -* 'width_mode8' … モード8 -* 'width_mode9' … モード9 -※コマンド仕様書参照 -'width3' -height -高さ(ドット単位指定) -'162' -hri -HRIキャラクタ -* 'true' … HRIキャラクタあり -* 'false' … HRIキャラクタなし -'true' - -値 -説明 -バーコードデータ -※コマンド仕様書参照 - -例 -<root> -  <barcode symbology='JAN13' width='width2' hri='false' height='40'>012345678901</barcode> -</root> - - -5.4 <bitImage> -ビットイメージエレメント - -属性 -名称 -説明 -省略時 -width -印刷領域幅(ドット単位指定) -'0' -height -印刷領域高さ(ドット単位指定) -'0' - -値 -説明 -ラスタグラフィックイメージデータ -※Base64エンコード - -例 -<root> -  <bitimage width='200' height='50'>f////////////////////////////////4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYAAAAAAAA/j+AAAAAAAAAAAAAAAAAAAGAGAAAAAAAAP4/gAAAAAAAAAAAAAAAAAAHgBgAAAAAAAD+P4AAAAAAAAAAAAAAAAAAHYAYAAAAAAAA/j+AAAAAAAAAAAAAAAAAADkAGAAAAAAAAP4/gAAAAAAAAAAAAAAAAADnABgAAAAAAAD+P4AAAAAAAAAAAAAAAAADnAAYAAAH///4/j//4AAf9+AAD+HwP/fgBzAAGAAAf///+P4//+AD///+AA/h8f//4BzgABgAAP////j+P//gD////8AP4f/8ACAzgAAYAAP8AAAAAAAAAH/+A//wD+H/wAfgYwAAGAAH4AAAAAAAAAD/wAAf/A/h/AeP47OAABgAB+P///j+P//j/gf/A/4P4eB//y/4wAAYAAfD///4/j//5/h//+D/D+GD/+c8AHAAGAAH4///+P4//+/x///4f4/hD//hM/wYABgAB/B/AAD+P4AH4/8H/D+P4D/AAQ4f9gAYAAP8D/AA/j+AH8f4AP4fz+B/AAE4AH4AGAAA/4H+AP4/gB/H8AB/H8/g/gABYAAAABgAAD/4f8D+P4Afh+AAfw/P4fwAAcAAAAAYAAAH/g/g/j+AH8fwAH8Pz+F4AAEAAAAAGAAAAH/D+P4/gB/H+AB/D8/h+AAAAAAAABgAAAAf4fz+P8Af4/4Gfw/P4fgAAAAAAAAYAAf///j8/j//z+H//n8Pz+H4AAAAAAAAGAAH///w/PYX/8f49/Z3D8/h+AAAAAAAABgAB///8Pz/B//D/B/+fw/P4fgAAAAAAAAYAAAAAAH8f8AAAf+AAH8Pz+H4AAAAAAAAGAAAAAAP+D/8AAD/+AB/D8/h+AAAAAAAABgAB////+AP///AH//+fw/P4fgAAAAAAAAYAAf///+AAf//wAf//n8Pz+H4AAAAAAAAGAAH///4AAAf/8AAf/x/D8/h+AAAAAAAABgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAf////////////////////////////////8=</bitimage> -</root> - - -5.5 <cutpaper> -用紙カットエレメント - -属性 -名称 -説明 -省略時 -type -カット種 -* 'full' … フルカット -* 'partial' … パーシャルカット -'full' -feed -カット前の用紙送り -* 'true' … 用紙送りあり -* 'false' … 用紙送りなし -'true' - -値 -説明 -無視 - -例 -<root> -  <cutpaper feed='true' type='partial'/> -</root> - -5.6 <feed> -用紙送りエレメント - -属性 -名称 -説明 -省略時 -line -行単位紙送り量(行単位指定) -'0' -unit -ドット単位紙送り量(ドット単位指定) -'0' - -値 -説明 -無視 - -例 -<root> -  <feed line='2' unit='8'/> -</root> - - -5.7 <initialization> -初期化エレメント - -属性 -名称 -説明 -省略時 -reset -ハードウェアリセット -* 'true' … ハードウェアリセット実施 -* 'false' … ハードウェアリセット未実施(コマンドの初期化のみ) -'false' -print -ハードウェアリセット後の自己印字 -* 'true' …ハードウェアリセット後の自己印字実施 -* 'false' … ハードウェアリセット後の自己印字未実施 -'false' - -値 -説明 -無視 - -例 -<root> -  <initialization reset='false' print='false'/> -</root> - -5.8 <logo> -ロゴエレメント - -属性 -名称 -説明 -省略時 -number -登録番号 -'1' -width -幅 -* 'single' … 等倍幅 -* 'double' … 2倍幅 -'single' -height -高さ -* 'single' … 等倍高 -* 'double' … 2倍高 -'single' - -値 -説明 -無視 - -例 -<root> -  <logo number='1' width='single' height='single'/> -</root> - - -5.9 <pdf417> -PDF417エレメント - -属性 -名称 -説明 -省略時 -line -ライン数 -※コマンド仕様書参照 -'0' -column -カラム数 -※コマンド仕様書参照 -'0' -level -セキュリティレベル -* 'level0' … セキュリティレベル0 -* 'level1' … セキュリティレベル1 -* 'level2' … セキュリティレベル2 -* 'level3' … セキュリティレベル3 -* 'level4' … セキュリティレベル4 -* 'level5' … セキュリティレベル5 -* 'level6' … セキュリティレベル6 -* 'level7' … セキュリティレベル7 -* 'level8' … セキュリティレベル8 -'level1' -module -モジュールサイズ(ドット単位指定) -'2' -aspect -アスペクト比 -'3' - -値 -説明 -PDF417データ -※コマンド仕様書参照 - -例 -<root> -  <pdf417 level='level1' line='0' column='0' module='2' aspect='3'>http://www.starmicronics.com/</pdf417> -</root> - - -5.10 <peripheral> -外部機器エレメント - -属性 -名称 -説明 -省略時 -channel -外部機器 -* '1' … チャンネル1番 -* '2' … チャンネル2番(通電時間/ディレイ時間無効) -'1' -on -通電時間(1mSec単位指定) -'200' -off -ディレイ時間(1mSec単位指定) -'200' - -値 -説明 -無視 - -例 -<root> -  <peripheral channel='1' on='200' off='200'/> -</root> - -5.11 <qrcode> -QRコードエレメント - -属性 -名称 -説明 -省略時 -model -モデル -* 'model1' … モデル1 -* 'model2' … モデル2 -'model2' -level -誤り訂正レベル -* 'level_l' … 誤り訂正レベルL -* 'level_m' … 誤り訂正レベルM -* 'level_q' … 誤り訂正レベルQ -* 'level_h' … 誤り訂正レベルH -'level_l' -cell -セルサイズ(ドット単位指定) -'3' - -値 -説明 -QRコードデータ -※コマンド仕様書参照 - -例 -<root> -  <qrcode model='model2' level='level_l' cell='3'>http://www.starmicronics.com/</qrcode> -</root> - - -5.12 <rawdata> -生データエレメント - -属性 -名称 -説明 -省略時 -- -- -- - -値 -説明 -生データ -※Base64エンコード - -例 -<root> -  <rawdata>MTIzNDU=</rawdata> -</root> - -5.13 <ruledline> -横罫線エレメント - -属性 -名称 -説明 -省略時 -thickness -線種 -* 'thin' … 細線 -* 'medium' … 中線 -* 'thick' … 太線 -* 'double_thin' … 二重細線 -* 'double_medium' … 二重中線 -* 'double_thick' … 二重太線 -'medium' -width -長さ(ドット単位指定) -'832' - -値 -説明 -無視 - -例 -<root> -  <ruledline thickness='thin' width='200'/> -</root> - - -5.14 <sound> -ブザーエレメント - -属性 -名称 -説明 -省略時 -channel -外部機器 -* '1' … チャンネル1番 -* '2' … チャンネル2番 -'1' -repeat -繰り返し回数 -'1' - -値 -説明 -無視 - -例 -<root> -  <sound channel='1' repeat='1'/> -</root> - - -5.15 <text> -テキストエレメント - -属性 -名称 -説明 -省略時 -codepage -コードページ -* 'cp437' … コードページ437 -* 'cp737' … コードページ737 -* 'cp772' … コードページ772 -* 'cp774' … コードページ774 -* 'cp851' … コードページ851 -* 'cp852' … コードページ852 -* 'cp855' … コードページ855 -* 'cp857' … コードページ857 -* 'cp858' … コードページ858 -* 'cp860' ~ 'cp866' … コードページ860 ~ 866 -* 'cp869' … コードページ869 -* 'cp874' … コードページ874 -* 'cp928' … コードページ928 -* 'cp932' … コードページ932(Katakana) -* 'cp998' … コードページ998(Normal) -* 'cp999' … コードページ999 -* 'cp1001' … コードページ1001 -* 'cp1250' ~ 'cp1252' … コードページ1250 ~ 1252 -* 'cp2001' … コードページ2001 -* 'cp3001' … コードページ3001 -* 'cp3002' … コードページ3002 -* 'cp3011' … コードページ3011 -* 'cp3012' … コードページ3012 -* 'cp3021' … コードページ3021 -* 'cp3041' … コードページ3041 -* 'cp3840' … コードページ3840 -* 'cp3841' … コードページ3841 -* 'cp3843' ~ 'cp3848' … コードページ3843 ~ 3848 -* 'blank' … ユーザ設定(空白コードページ) -未設定 -international -国際文字 -* 'usa' … USA -* 'france' … フランス -* 'germany' … ドイツ -* 'uk' … イギリス -* 'denmark' … デンマーク -* 'sweden' … スウェーデン -* 'italy' … イタリア -* 'spain' … スペイン -* 'japan' … 日本 -* 'norway' … ノルウェー -* 'denmark2' … デンマークⅡ -* 'spain2' … スペインⅡ -* 'latin_america' … ラテンアメリカ -* 'korea' … 韓国 -* 'ireland' … アイルランド -* 'legal' … リーガル -未設定 -characterspace -文字間スペース(ドット単位指定) -未設定 -emphasis -強調印字 -* 'true' … 強調印字有効 -* 'false' … 強調印字無効 -未設定 -invert -白黒反転印字 -* 'true' … 白黒反転印字有効 -* 'false' … 白黒反転印字無効 -未設定 -linespace -行間スペース(ドット単位指定) -* 24 … 3mm改行 -* 32 … 4mm改行 -未設定 -width -横倍率 -* 1 … 等倍幅 -* 2 … 2倍幅 -* 3 … 3倍幅 -* 4 … 4倍幅 -* 5 … 5倍幅 -* 6 … 6倍幅 -未設定 -height -縦倍率 -* 1 … 等倍高 -* 2 … 2倍高 -* 3 … 3倍高 -* 4 … 4倍高 -* 5 … 5倍高 -* 6 … 5倍高 -未設定 -font -フォント種 -* 'font_a' … フォントA(12×24ドット) -* 'font_b' … フォントB(9×24ドット) -未設定 -undelline -下線印字 -* 'true' … 下線印字有効 -* 'false' … 下線印字無効 -未設定 - -値 -説明 -テキストデータ - -例 -<root> -  <text codepage='cp998' international='usa' characterspace='0' emphasis='false' invert='false' linespace='32' width='1' height='1' font='font_a' underline='false'>Star Micronics\x0a</text> -</root> - - -6 StarWebPRNT受信エレメント - -名称 -説明 -<root> -ルートエレメント -<success> -印刷結果エレメント -<code> -終了コードエレメント -<status> -スター自動ステータスエレメント - -6.1 <root> -ルートエレメント - -属性 -名称 -説明 -省略時 -- -- -- - -値 -説明 -StarWebPRNT受信エレメント列 - -例 -<root> -  <success>true</success> -  <code>0</code> -  <status>2386000000000000000000</status> -</root> - -6.2 <success> -印刷結果エレメント - -属性 -名称 -説明 -省略時 -- -- -- - -値 -説明 -印刷結果 -* true … 印刷成功 -* false … 印刷失敗 - -例 -<root> -  <success>true</success> -  <code>0</code> -  <status>2386000000000000000000</status> -</root> - - -6.3 <code> -終了コードエレメント - -属性 -名称 -説明 -省略時 -- -- -- - -値 -説明 -終了コード -* 0 … 正常終了 -* 'EPTR_AUTOMATICAL' … 自動復帰エラー発生 -* 'EPTR_CUTTER' … オートカッターエラー発生 -* 'EPTR_MECHANICAL' … メカニカルエラー発生 -* 'EPTR_REC_EMPTY' … ロール紙エンド検出器に用紙なし -* 'EPTR_UNRECOVERABLE' … 復帰不可能エラー発生 -* 'SchemaError' … 要求ドキュメントのsyntaxに誤りがある -* 'DeviceNotFound' … デバイス ID で指定したプリンターが存在しない -* 'PrintSystemError' … 印刷システムにエラーが発生 -* 'EX_BADPORT' … 通信ポートに異常を検出 -* 'EX_TIMEOUT' … 印刷タイムアウトが発生 - -例 -<root> -  <success>true</success> -  <code>0</code> -  <status>2386000000000000000000</status> -</root> - - -6.4 <status> -スター自動ステータスエレメント - -属性 -名称 -説明 -省略時 -- -- -- - -値 -説明 -スター自動ステータス -※コマンド仕様書参照 - -例 -<root> -  <success>true</success> -  <code>0</code> -  <status>2386000000000000000000</status> -</root> - - -
- -
- - - - - - diff --git a/UsersManual/en/_StarBarcodeEncoder-js.htm b/UsersManual/en/_StarBarcodeEncoder-js.htm index 69f210b..baae85d 100755 --- a/UsersManual/en/_StarBarcodeEncoder-js.htm +++ b/UsersManual/en/_StarBarcodeEncoder-js.htm @@ -2,35 +2,40 @@ + Star WebPRNT User's Manual - - - - + + + + + + - - + - + +
+

Star WebPRNT User's Manual

@@ -44,7 +49,7 @@

Star WebPRNT User's Manual

- + @@ -228,6 +233,9 @@

Star WebPRNT User's Manual

  • <number>
  • + @@ -240,13 +248,13 @@

    Star WebPRNT User's Manual

    StarBarcodeEncoder.js

    - +

    The list of barcode module for drawing to a HTML5 Canvas 2D context is generated.

    - +

    Constructor

    @@ -256,7 +264,7 @@

    Constructor

    StarBarcodeEncoderCreates StarBarcodeEncoder object.
    - +

    Method

    @@ -283,34 +291,34 @@
    POS Printer and AsuraCPRNT
    - - - - - - - - - + + + + + + + + +
    NameFVP10TSP650IITSP700IITSP800IImPOPAsuraCPRNT
    createUPCE
    createUPCA
    createJAN8
    createJAN13
    createCode39
    createITF
    createCode128
    createCode93
    createNW7
    createUPCE
    createUPCA
    createJAN8
    createJAN13
    createCode39
    createITF
    createCode128
    createCode93
    createNW7

    - +
    Mobile Printer (ESC/POS)
    - - - - - - - - - + + + + + + + + +
    NameSM-S220i
    (Excluding Jp model)
    SM-S230iSM-T300iSM-T400i
    createUPCE
    createUPCA
    createJAN8
    createJAN13
    createCode39
    createITF
    createCode128
    createCode93
    createNW7
    createUPCE
    createUPCA
    createJAN8
    createJAN13
    createCode39
    createITF
    createCode128
    createCode93
    createNW7

    @@ -318,46 +326,46 @@
    Mobile Printer (ESC/POS)
    Mobile Printer (StarPRNT)
    - + - - - - - - - - - + + + + + + + + +
    NameSM-S220i
    (Excluding Jp model)
    SM-S230iSM-T300iSM-T400iSM-L200
    NameSM-S220i
    (Excluding Jp model)
    SM-S230iSM-T300iSM-T400iSM-L200SM-L300
    createUPCE
    createUPCA
    createJAN8
    createJAN13
    createCode39
    createITF
    createCode128
    createCode93
    createNW7
    createUPCE
    createUPCA
    createJAN8
    createJAN13
    createCode39
    createITF
    createCode128
    createCode93
    createNW7
    - - + +
    - +

    StarBarcodeEncoder

    - +

    Creates StarBarcodeEncoder object.

    - +

    syntax

    StarBarcodeEncoder();

    - +

    Parameter

    @@ -395,24 +403,24 @@
    Example
    - +

    createUPCE

    - +

    Creates module list of UPCE barcode.

    - +

    syntax

    createUPCE(args);

    - +

    Parameter

    @@ -452,24 +460,24 @@
    Example
    - +

    createUPCA

    - +

    Creates module list of UPCA barcode.

    - +

    syntax

    createUPCA(args);

    - +

    Parameter

    @@ -509,24 +517,24 @@
    Example
    - +

    createJAN8

    - +

    Creates module list of JAN/EAN8 barcode.

    - +

    syntax

    createJAN8(args);

    - +

    Parameter

    @@ -566,24 +574,24 @@
    Example
    - +

    createJAN13

    - +

    Creates module list of JAN/EAN13 barcode.

    - +

    syntax

    createJAN13(args);

    - +

    Parameter

    @@ -623,24 +631,24 @@
    Example
    - +

    createCode39

    - +

    Creates module list of Code39 barcode.

    - +

    syntax

    createCode39(args);

    - +

    Parameter

    @@ -682,24 +690,24 @@
    Example
    - +

    createITF

    - +

    Creates module list of ITF barcode.

    - +

    syntax

    createITF(args);

    - +

    Parameter

    @@ -741,24 +749,24 @@
    Example
    - +

    createCode128

    - +

    Creates module list of Code128 barcode.

    - +

    syntax

    createCode128(args);

    - +

    Parameter

    @@ -798,24 +806,24 @@
    Example
    - +

    createCode93

    - +

    Creates module list of Code93 barcode.

    - +

    syntax

    createCode93(args);

    - +

    Parameter

    @@ -855,24 +863,24 @@
    Example
    - +

    createNW7

    - +

    Creates module list of NW7 barcode.

    - +

    syntax

    createNW7(args);

    - +

    Parameter

    @@ -926,5 +934,7 @@
    Example
    + + diff --git a/UsersManual/en/_StarClaimManager-js.htm b/UsersManual/en/_StarClaimManager-js.htm index 2f93247..3c78f37 100755 --- a/UsersManual/en/_StarClaimManager-js.htm +++ b/UsersManual/en/_StarClaimManager-js.htm @@ -2,34 +2,38 @@ + Star WebPRNT User's Manual - - - - + + + + + + - - + - + +
    @@ -44,7 +48,7 @@

    Star WebPRNT User's Manual

    - + @@ -228,6 +232,9 @@

    Star WebPRNT User's Manual

  • <number>
  • + @@ -240,14 +247,14 @@

    Star WebPRNT User's Manual

    StarClaimManager.js

    - +

    Manages the barcode reader and magstripe reader, line display of the claim by StarWebPRNT request element and StarWebPRNT response element. Sends StarWebPRNT request element which is with the information of the claim and checks status from received StarWebPRNT response element.

    - +

    Constructor

    @@ -257,7 +264,7 @@

    Constructor

    StarClaimManagerCreates StarClaimManager object.
    - +

    Method

    @@ -281,18 +288,15 @@

    Method

    removeLDEventListenerDelete the callback method which is related with line display device
    -

    - (*1) The polling for keeping the claim status by current using browser
    -        is started when the Claim start is success(*2) after sending the request elements
    -        which is included the "claim='true'" in the first time.
    -        And The polling is finished when the Claim finish is success(*3) after sending
    -        the request elements which is included the "claim='false'".
    -        The polling start and finish are automatically controled by the sendMessage method of StarClaimManager.js.
    - (*2) Character string which is included in the response elements to receive at the time of Claim start success
    -        "<bcr><claim>true</claim></bcr>"
    - (*3) Character string which is included in the response elements to receive at the time of Claim finish success
    -        "<bcr><claim>false</claim></bcr>"
    -

    +
    +

    (*1) The polling for keeping the claim status by current using browser is started when the Claim start is success(*2) after sending the request elements which is included the "claim='true'" in the first time.
    + And The polling is finished when the Claim finish is success(*3) after sending the request elements which is included the "claim='false'".
    + The polling start and finish are automatically controled by the sendMessage method of StarClaimManager.js.

    +

    (*2) Character string which is included in the response elements to receive at the time of Claim start success
    + "<bcr><claim>true</claim></bcr>"

    +

    (*3) Character string which is included in the response elements to receive at the time of Claim finish success
    + "<bcr><claim>false</claim></bcr>"

    +

    Star Printer Compatibility Chart

    POS Printer and AsuraCPRNT
    @@ -301,29 +305,28 @@
    POS Printer and AsuraCPRNT
    NameFVP10TSP650IITSP700IITSP800IImPOPAsuraCPRNT - sendMessage-----○ *1 - isBCRClaimed-----○ *1 - isMSRClaimed-----○ *1 - isLDClaimed-----    ○ *1 *2 - getBCRDeviceNameCapability-----○ *1 - getBCRModeCapability-----○ *1 - getBCRSymbolCapability-----○ *1 - setPollingInterval-----○ *1 - setBCREventListener-----○ *1 - setMSREventListener-----○ *1 - setLDEventListener-----    ○ *1 *2 - removeBCREventListener-----○ *1 - removeMSREventListener-----○ *1 - removeLDEventListener-----    ○ *1 *2 - + sendMessage-----✓ *1 + isBCRClaimed-----✓ *1 + isMSRClaimed-----✓ *1 + isLDClaimed-----    ✓ *1 *2 + getBCRDeviceNameCapability-----✓ *1 + getBCRModeCapability-----✓ *1 + getBCRSymbolCapability-----✓ *1 + setPollingInterval-----✓ *1 + setBCREventListener-----✓ *1 + setMSREventListener-----✓ *1 + setLDEventListener-----    ✓ *1 *2 + removeBCREventListener-----✓ *1 + removeMSREventListener-----✓ *1 + removeLDEventListener-----    ✓ *1 *2 + -

    - *1 This function has been supported in AsuraCPRNT Linux OS since version 1.7.
    -      Please refer to the specifications of AsuraCPRNT Develeper Siteabout each supported devices.
    - *2 When start up the "Line Display" Application which has been supported AsuraCPRNT Linux OS since version 1.7 on Asura, can be available. - -

    +
    +

    *1 This function has been supported in AsuraCPRNT Linux OS since version 1.7.
    + Please refer to the specifications of AsuraCPRNT Develeper Siteabout each supported devices.

    +

    *2 When start up the "Line Display" Application which has been supported AsuraCPRNT Linux OS since version 1.7 on Asura, can be available.

    +
    Mobile Printer (ESC/POS)
    @@ -349,56 +352,56 @@
    Mobile Printer (ESC/POS)

    - +
    Mobile Printer (StarPRNT)
    - + - - - - - - - - - - - - - - + + + + + + + + + + + + + +
    NameSM-S220i
    (Excluding Jp model)
    SM-S230iSM-T300iSM-T400iSM-L200
    NameSM-S220i
    (Excluding Jp model)
    SM-S230iSM-T300iSM-T400iSM-L200SM-L300
    sendMessage-----
    isBCRClaimed-----
    isMSRClaimed-----
    isLDClaimed-----
    getBCRDeviceNameCapability-----
    getBCRModeCapability-----
    getBCRSymbolCapability-----
    setPollingInterval-----
    setBCREventListener-----
    setMSREventListener-----
    setLDEventListener-----
    removeBCREventListener-----
    removeMSREventListener-----
    removeLDEventListener-----
    sendMessage------
    isBCRClaimed------
    isMSRClaimed------
    isLDClaimed------
    getBCRDeviceNameCapability------
    getBCRModeCapability------
    getBCRSymbolCapability------
    setPollingInterval------
    setBCREventListener------
    setMSREventListener------
    setLDEventListener------
    removeBCREventListener------
    removeMSREventListener------
    removeLDEventListener------
    - - + +
    - +

    StarClaimManager

    - +

    Creates StarClaimManager object.

    - +

    syntax

    StarClaimManager(args);

    - +

    Parameter

    @@ -428,7 +431,7 @@
    Example
    var manager = new StarClaimManager(); function onSend(url, request) { - var trader = new StarWebPrintTrader({url:url}); + var trader = new StarWebPrintTrader({url:url}); manager.sendMessage({request:request, trader:trader}); } @@ -441,25 +444,25 @@
    Example
    - +
    - +

    sendMessage

    - +

    Add the settings for Claim management and send Sends StarWebPRNT request element with the settings.

    - +

    syntax

    sendMessage(args);

    - +

    Parameter

    @@ -480,7 +483,7 @@

    Return value

    --
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -490,7 +493,7 @@ 
    Example
    var manager = new StarClaimManager(); function onSend(url, request) { - var trader = new StarWebPrintTrader({url:url}); + var trader = new StarWebPrintTrader({url:url}); manager.sendMessage({request:request, trader:trader}); } @@ -503,25 +506,25 @@
    Example
    - +
    - +

    isBCRClaimed

    - +

    Check the Claim status of barcode reader device.

    - +

    syntax

    isBCRClaimed();

    - +

    Parameter

    @@ -541,7 +544,7 @@

    Return value

    Claim status
    • true … Claim has been started
    • false … Claim has been finished
    Boolean
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -566,25 +569,25 @@ 
    Example
    - +
    - +

    isMSRClaimed

    - +

    Check the Claim status of magstripe reader device.

    - +

    syntax

    isMSRClaimed();

    - +

    Parameter

    @@ -604,7 +607,7 @@

    Return value

    Claim status
    • true … Claim has been started
    • false … Claim has been finished
    Boolean
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -629,25 +632,25 @@ 
    Example
    - +
    - +

    isLDClaimed

    - +

    Check the Claim status of line display device

    - +

    syntax

    isLDClaimed();

    - +

    Parameter

    @@ -667,7 +670,7 @@

    Return value

    Claim status
    • true … Claim has been started
    • false … Claim has been finished
    Boolean
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -692,25 +695,25 @@ 
    Example
    - +
    - +

    getBCRDeviceNameCapability

    - +

    Get the name of barcode reader device.

    - +

    syntax

    getBCRDeviceNameCapability();

    - +

    Parameter

    @@ -725,7 +728,7 @@

    Return value

    ----
    the name of barcode reader deviceString
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -753,25 +756,25 @@ 
    Example
    - +
    - +

    getBCRModeCapability

    - +

    Get the supported scan modes of barcode reader device.

    - +

    syntax

    getBCRModeCapability();

    - +

    Parameter

    @@ -791,7 +794,7 @@

    Return value

    List of support situation for the scan mode
    *Return value is following object which has a property
    [Property]
    • OFF … Turn off<
    • SCAN_ONCE … The scan mode of once reading
    • AUTO … The scan mode of continuous reading with sights
    • CONTINUOUS … The scan mode of continuous reading without sights
    • MOBILE_PHONE … The scan mode of one time reading for LCD screens
    • MOBILE_CONTINUOUS … The scan mode of continuous reading for LCD screens
    [Value of property (Boolean)]
    • true … This mode is supported
    • false … This mode is not supported.
    Object
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -807,7 +810,7 @@ 
    Example
    var bcrModeCapability = manager.getBCRModeCapability(); msg += ('BCRModeCapability : \n'); - + for (key in bcrModeCapability) { msg += (' ' + key + ' - ' + bcrModeCapability[key] + '\n'); } @@ -825,25 +828,25 @@
    Example
    - +
    - +

    getBCRSymbolCapability

    - +

    Get the supported barcode symbol of barcode reader device

    - +

    syntax

    getBCRSymbolCapability();

    - +

    Parameter

    @@ -863,7 +866,7 @@

    Return value

    List of support situation for the barcode symbol
    *Return value is following object which has a property
    [Property]
    • AUSTRALIAN_POST
    • AZTEC_CODE
    • BRITISH_POST
    • CANADIAN_POST
    • CHINA_POST
    • CHINESE_SENSIBLE_CODE
    • CODABAR
    • CODABLOCK_A
    • CODABLOCK_F
    • CODE_11
    • CODE_128
    • CODE_32
    • CODE_39
    • CODE_49
    • CODE_93
    • DATA_MATRIX
    • EAN_13
    • EAN_8
    • INFOMAIL
    • INTELLIGENT_MAIL_BARCODE
    • INTERLEAVED_2_OF_5
    • JAPANESE_POST
    • KIX_POST
    • KOREA_POST
    • MATRIX_2_OF_5
    • MAXICODE
    • MICROPDF417
    • MSI
    • NEC_2_OF_5
    • PDF417
    • PLANET_CODE
    • POSTAL_4I
    • POSTNET
    • QR_CODE
    • STRAIGHT_2_OF_5_IATA
    • STRAIGHT_2_OF_5_INDUSTRIAL
    • TLC39
    • TELEPEN
    • UPC_A
    • UPC_E
    • GS1_128
    • GS1_COMPOSIT
    • GS1_DATABAR
    [Value of property (Boolean)]
    • true … This symbol is supported
    • false … This symbol is not supported
    Object
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -877,7 +880,7 @@ 
    Example
    if (manager.isBCRClaimed() == true) { var bcrSymbolCapability = manager.getBCRSymbolCapability(); - + msg += ('BCRSymbolCapability : \n'); for (key in bcrSymbolCapability) { @@ -897,25 +900,25 @@
    Example
    - +
    - +

    setPollingInterval

    - +

    Set the sending interval time for polling of Claim management.

    - +

    syntax

    setPollingInterval(milliseconds);

    - +

    Parameter

    @@ -935,7 +938,7 @@

    Return value

    --
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -954,25 +957,25 @@ 
    Example
    - +
    - +

    setBCREventListener

    - +

    Set the callback method which is related with barcode reader device.

    - +

    syntax

    setBCREventListener(eventName, javaScriptFunction);

    - +

    Parameter

    @@ -997,7 +1000,7 @@

    Return value

    --
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1027,25 +1030,25 @@ 
    Example
    - +
    - +

    setMSREventListener

    - +

    Set the callback method which is related with magstripe reader device.

    - +

    syntax

    setMSREventListener(eventName, javaScriptFunction);

    - +

    Parameter

    @@ -1070,7 +1073,7 @@

    Return value

    --
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1103,22 +1106,22 @@ 
    Example
    - +

    setLDEventListener

    - +

    Set the callback method which is related with line display device.

    - +

    syntax

    setLDEventListener(eventName, javaScriptFunction);

    - +

    Parameter

    @@ -1144,7 +1147,7 @@

    Return value

    --
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1180,22 +1183,22 @@ 
    Example
    - +

    removeBCREventListener

    - +

    Delete the callback method which is related with barcode reader device.

    - +

    syntax

    removeBCREventListener(eventName);

    - +

    Parameter

    @@ -1215,7 +1218,7 @@

    Return value

    --
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1239,22 +1242,22 @@ 
    Example
    - +

    removeMSREventListener

    - +

    Delete the callback method which is related with magstripe reader device

    - +

    syntax

    removeMSREventListener(eventName);

    - +

    Parameter

    @@ -1274,7 +1277,7 @@

    Return value

    --
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1298,22 +1301,22 @@ 
    Example
    - +

    removeLDEventListener

    - +

    Delete the callback method which is related with line display device.

    - +

    syntax

    removeLDEventListener(eventName);

    - +

    Parameter

    @@ -1333,7 +1336,7 @@

    Return value

    --
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1367,5 +1370,7 @@ 
    Example
    +
    + diff --git a/UsersManual/en/_StarWebPRNTExtManagerRequestElement.htm b/UsersManual/en/_StarWebPRNTExtManagerRequestElement.htm index 38437e9..f6b5d34 100755 --- a/UsersManual/en/_StarWebPRNTExtManagerRequestElement.htm +++ b/UsersManual/en/_StarWebPRNTExtManagerRequestElement.htm @@ -2,34 +2,38 @@ + Star WebPRNT User's Manual - - - - + + + + + + - - + - + +
    @@ -44,7 +48,7 @@

    Star WebPRNT User's Manual

    - + @@ -228,6 +232,9 @@

    Star WebPRNT User's Manual

  • <number>
  • + @@ -240,23 +247,23 @@

    Star WebPRNT User's Manual

    StarWebPRNTExtManager Request Element

    - +

    - +
    - - + +
    NameDescriptionWebPRNT
    Browser
    Star printer
    with
    WebPRNT
    AsuraCPRNT
    <root>Root Element○*1--
    <extmanager>StarWebPRNTExtManager Element○*1--
    <root>Root Element✓*1--
    <extmanager>StarWebPRNTExtManager Element✓*1--
    -

    - *1 SM-L200 is not supported with WebPRNT Browser for iOS.

    +

    + *1 SM-L200 and SM-L300 are not supported with WebPRNT Browser for iOS.

    @@ -264,18 +271,18 @@

    StarWebPRNTExtManager Request Element

    - +

    <root>

    - +

    Root Element

    - +

    Attribute

    @@ -285,11 +292,7 @@

    Attribute

    ---
    - +

    Value

    @@ -316,13 +319,13 @@
    Example

    <extmanager>

    - +

    StarWebPRNTExtManager Element

    - +

    Attribute

    @@ -335,7 +338,7 @@

    Attribute

    claimidClaim management IDCan't be omitted *1
    -

    +

    *1 The request_type can only be omitted for claim.

    @@ -375,5 +378,7 @@
    Example
    +
    + diff --git a/UsersManual/en/_StarWebPRNTExtManagerResponseElement.htm b/UsersManual/en/_StarWebPRNTExtManagerResponseElement.htm index d26887d..39f9407 100755 --- a/UsersManual/en/_StarWebPRNTExtManagerResponseElement.htm +++ b/UsersManual/en/_StarWebPRNTExtManagerResponseElement.htm @@ -2,35 +2,38 @@ + Star WebPRNT User's Manual - - - - + + + + + + - - + - + - +

    Star WebPRNT User's Manual

    @@ -44,7 +47,7 @@

    Star WebPRNT User's Manual

    - + @@ -228,6 +231,9 @@

    Star WebPRNT User's Manual

  • <number>
  • + @@ -242,39 +248,39 @@

    Star WebPRNT User's Manual

    StarWebPRNTExtManager Response Element

    - +

    - - + +
    - - - - - - - - - - + + + + + + + + + +
    NameDescriptionWebPRNT
    Browser
    Star printer
    with
    WebPRNT
    AsuraCPRNT
    <root>Root Element○*1--
    <success>Success code Element○*1--
    <code>Result code Element○*1--
    <claim>StarWebPRNTExtManager claim status Element○*1--
    <claimid>ID element of StarWebPrintExtManager Claim management○*1--
    <eventcount>Number of event occurrence element of StarWebPrintExtManager○*1--
    <event>Event element of StarWebPRNTExtManager○*1--
    <action>Name of event element of StarWebPrintExtManager○*1--
    <data>Data information of event element of StarWebPrintExtManager○*1--
    <number>Order of event occurrence element of StarWebPrintExtManager○*1--
    <root>Root Element✓*1--
    <success>Success code Element✓*1--
    <code>Result code Element✓*1--
    <claim>StarWebPRNTExtManager claim status Element✓*1--
    <claimid>ID element of StarWebPrintExtManager Claim management✓*1--
    <eventcount>Number of event occurrence element of StarWebPrintExtManager✓*1--
    <event>Event element of StarWebPRNTExtManager✓*1--
    <action>Name of event element of StarWebPrintExtManager✓*1--
    <data>Data information of event element of StarWebPrintExtManager✓*1--
    <number>Order of event occurrence element of StarWebPrintExtManager✓*1--
    -

    - *1 SM-L200 is not supported with WebPRNT Browser for iOS. +

    + *1 SM-L200 and SM-L300 are not supported with WebPRNT Browser for iOS.

    - +
    - +
    @@ -319,11 +325,11 @@
    Example
    - + - +

    <success>

    @@ -350,7 +356,7 @@

    Value

    Description - Success code
    • true … Connecting succeeded
    • false … Connecting failed
    + Success code of the communication with printer
    • true … Communication succeeded
    • false … Communication failed
    @@ -367,11 +373,11 @@
    Example
    - + - +

    <code>

    @@ -417,11 +423,11 @@
    Example
    - + - +

    <claim>

    @@ -448,7 +454,7 @@

    Value

    Description - claim status
    • true … claim success
    • false … claim failed
    + claim status
    • true … claim acquired state
    • false … claim non-acquired state
    @@ -566,7 +572,7 @@
    Example
    - + @@ -618,7 +624,7 @@
    Example
    - + @@ -691,7 +697,7 @@
    Example
    - + @@ -744,7 +750,7 @@
    Example
    - + @@ -797,7 +803,7 @@
    Example
    - + @@ -813,5 +819,7 @@
    Example
    +
    + diff --git a/UsersManual/en/_StarWebPrintBuilder-js.htm b/UsersManual/en/_StarWebPrintBuilder-js.htm index 3ba8009..9f17d73 100755 --- a/UsersManual/en/_StarWebPrintBuilder-js.htm +++ b/UsersManual/en/_StarWebPrintBuilder-js.htm @@ -2,34 +2,38 @@ + Star WebPRNT User's Manual - - - - + + + + + + - - + - + +
    @@ -44,7 +48,7 @@

    Star WebPRNT User's Manual

    - + @@ -228,6 +232,9 @@

    Star WebPRNT User's Manual

  • <number>
  • + @@ -238,16 +245,16 @@

    Star WebPRNT User's Manual

    -
    +

    StarWebPrintBuilder.js

    - +

    Creates StarWebPRNT Request Element.

    - +

    Constructor

    @@ -258,7 +265,7 @@

    Constructor

    StarWebPrintBuilderCreates StarWebPrintBuilder object.
    - +

    Method

    @@ -286,7 +293,7 @@

    Method

    - +

    Star Printer Compatibility Chart

    POS Printer and AsuraCPRNT
    @@ -294,34 +301,34 @@
    POS Printer and AsuraCPRNT
    - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + +
    NameFVP10TSP650IITSP700IITSP800IImPOPAsuraCPRNT
    createAlignmentElement
    createBarcodeElement
    createBitImageElement
    createCutPaperElement
    createFeedElement
    createInitializationElement*1
    createLogoElement-*3
    createPdf417Element
    createPeripheralElement
    createQrCodeElement
    createRawDataElement
    createRuledLineElement
    createSoundElement-
    createTextElement*2
    createBarcodeReaderElement*4-----
    createMagstripeReaderElement*4-----
    createLineDisplayElement*4 *5-----
    createAlignmentElement
    createBarcodeElement
    createBitImageElement
    createCutPaperElement
    createFeedElement
    createInitializationElement*1
    createLogoElement-*3
    createPdf417Element
    createPeripheralElement
    createQrCodeElement
    createRawDataElement
    createRuledLineElement
    createSoundElement-
    createTextElement*2
    createBarcodeReaderElement*4-----
    createMagstripeReaderElement*4-----
    createLineDisplayElement*4 *5-----
    -

    - *1 Performs only initialization of a command for Bluetooth printers
    - *2 The international character is fixed to "Japan" for Japanese models and "Korea" for Korean models.
    - *3 It is unsupported, because there is not a method to make logo registration. - *4 This function has been supported in AsuraCPRNT Linux OS since version 1.7.
    -      Please refer to the specifications of AsuraCPRNT Develeper Site about each supported devices.
    - *5 When start up the "Line Display" Application which has been supported AsuraCPRNT Linux OS since version 1.7, can be available. -

    +
    +

    *1 Performs only initialization of a command for Bluetooth printers

    +

    *2 The international character is fixed to "Japan" for Japanese models and "Korea" for Korean models.

    +

    *3 It is unsupported, because there is not a method to make logo registration.

    +

    *4 This function has been supported in AsuraCPRNT Linux OS since version 1.7.
    + Please refer to the specifications of AsuraCPRNT Develeper Site about each supported devices.

    +

    *5 When start up the "Line Display" Application which has been supported AsuraCPRNT Linux OS since version 1.7, can be available.

    +
    Mobile Printer (ESC/POS)
    @@ -330,102 +337,102 @@
    Mobile Printer (ESC/POS)
    NameSM-S220i
    (Excluding Jp model)SM-S230iSM-T300iSM-T400i - createAlignmentElement*1○○○○ - createBarcodeElement○○○○ - createBitImageElement○○○○ + createAlignmentElement*1✓✓✓✓ + createBarcodeElement✓✓✓✓ + createBitImageElement✓✓✓✓ createCutPaperElement*2---- - createFeedElement○○○○ - createInitializationElement*3○○○○ - createLogoElement*4○○○○ - createPdf417Element*5○○○○ - createPeripheralElement*2---- - createQrCodeElement*6○○○○ - createRawDataElement○○○○ - createRuledLineElement○○○○ - createSoundElement*2---- - createTextElement○○○○ - createBarcodeReaderElement*7---- - createMagstripeReaderElement*7---- - createLineDisplayElement*7 *8---- + createFeedElement✓✓✓✓ + createInitializationElement*3✓✓✓✓ + createLogoElement*4✓✓✓✓ + createPdf417Element*5✓✓✓✓ + createPeripheralElement*6---- + createQrCodeElement*7✓✓✓✓ + createRawDataElement✓✓✓✓ + createRuledLineElement✓✓✓✓ + createSoundElement*6---- + createTextElement✓✓✓✓ + createBarcodeReaderElement*8---- + createMagstripeReaderElement*8---- + createLineDisplayElement*8 *9---- -

    - *1 Text data only
    - *2 Command not created
    - *3 Performs only initialization of a command
    - *4 When the logo number 1 - 255 is specified, the No.0 - 254 logo is printed.
    - *5 The line parameter is ineffective.
    - *6 The model parameter is ineffective. - *7 This function has been supported in AsuraCPRNT Linux OS since version 1.7.
    -      Please refer to the specifications of AsuraCPRNT Develeper Siteabout each supported devices.
    - *8 When start up the "Line Display" Application which has been supported AsuraCPRNT Linux OS since version 1.7, can be available. +

    +

    *1 Text data only

    +

    *2 Without paper cut

    +

    *3 Performs only initialization of a command

    +

    *4 When the logo number 1 - 255 is specified, the No.0 - 254 logo is printed.

    +

    *5 The line parameter is ineffective.

    +

    *6 Command not created.

    +

    *7 The model parameter is ineffective.

    +

    *8 This function has been supported in AsuraCPRNT Linux OS since version 1.7.
    + Please refer to the specifications of AsuraCPRNT Develeper Siteabout each supported devices.

    +

    *9 When start up the "Line Display" Application which has been supported AsuraCPRNT Linux OS since version 1.7, can be available.

    +
    -

    -
    Mobile Printer (StarPRNT)
    - + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + +
    NameSM-S220i
    (Excluding Jp model)
    SM-S230iSM-T300iSM-T400iSM-L200
    NameSM-S220i
    (Excluding Jp model)
    SM-S230iSM-T300iSM-T400iSM-L200SM-L300
    createAlignmentElement*1
    createBarcodeElement
    createBitImageElement
    createCutPaperElement*2-----
    createFeedElement
    createInitializationElement*3
    createLogoElement*4
    createPdf417Element*5
    createPeripheralElement*2-----
    createQrCodeElement*6
    createRawDataElement
    createRuledLineElement
    createSoundElement*2-----
    createTextElement
    createBarcodeReaderElement*7-----
    createMagstripeReaderElement*7-----
    createLineDisplayElement*7 *8-----
    createAlignmentElement*1
    createBarcodeElement
    createBitImageElement
    createCutPaperElement*2------
    createFeedElement
    createInitializationElement*3
    createLogoElement*4
    createPdf417Element*5
    createPeripheralElement*6------
    createQrCodeElement*7
    createRawDataElement
    createRuledLineElement
    createSoundElement*6------
    createTextElement
    createBarcodeReaderElement*8------
    createMagstripeReaderElement*8------
    createLineDisplayElement*8 *9------
    -

    - *1 Text data only
    - *2 Command not created
    - *3 Performs only initialization of a command
    - *4 Please see here for the correspondence table of logo numbers
    - *5 The line parameter is ineffective.
    - *6 The model parameter is ineffective. - *7 This function has been supported in AsuraCPRNT Linux OS since version 1.7.
    -      Please refer to the specifications of AsuraCPRNT Develeper Site about each supported devices.
    - *8 When start up the "Line Display" Application which has been supported AsuraCPRNT Linux OS since version 1.7, can be available. +

    +

    *1 Text data only

    +

    *2 Without paper cut

    +

    *3 Performs only initialization of a command

    +

    *4 Please see here for the correspondence table of logo numbers

    +

    *5 The line parameter is ineffective.

    +

    *6 Command not created.

    +

    *7 The model parameter is ineffective.

    +

    *8 This function has been supported in AsuraCPRNT Linux OS since version 1.7.
    + Please refer to the specifications of AsuraCPRNT Develeper Site about each supported devices.

    +

    *9 When start up the "Line Display" Application which has been supported AsuraCPRNT Linux OS since version 1.7, can be available.

    +
    -

    -
    - +
    - +

    StarWebPrintBuilder

    - +

    Creates StarWebPrintBuilder object.

    - +

    Syntax

    StarWebPrintBuilder();

    - +

    Parameter

    @@ -474,14 +481,14 @@

    createAlignmentElement

    Creates Alignment element.

    - +

    syntax

    createAlignmentElement(args);

    - +

    Parameter

    @@ -496,7 +503,7 @@

    Parameter

    'left'
    - +

    Return value

    @@ -506,7 +513,7 @@

    Return value

    Created element character stringString
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -527,25 +534,25 @@ 
    Example
    - +
    - +

    createBarcodeElement

    - +

    Creates Barcode element.

    - +

    syntax

    createBarcodeElement(args);

    - +

    Parameter

    @@ -577,10 +584,10 @@

    Parameter

    - +
    hriSpecifies HRI characters
    • true … Adds HRI characters
    • false … No added HRI characters
    Booleantrue
    dataSpecifies barcode data
    Note. Refer to the command specifications.
    StringCan't be omitted
    dataSpecifies barcode data
    Note. Refer to the command specifications.
    StringCan't be omitted
    - +

    Return value

    @@ -590,7 +597,7 @@

    Return value

    Created element character stringString
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script><script type='text/javascript'>
    @@ -610,25 +617,25 @@ 
    Example
    - +
    - +

    createBitImageElement

    - +

    Creates Bitimage element.

    - +

    syntax

    createBitImageElement(args);

    - +

    Parameter

    @@ -642,7 +649,7 @@

    Parameter

    heightSpecifies the image height (Unit of dot)
    Max value: 2400
    Number0
    - +

    Return value

    @@ -652,7 +659,7 @@

    Return value

    Created element character stringString
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -673,25 +680,25 @@ 
    Example
    - +
    - +

    createCutPaperElement

    - +

    Creates Cut paper element.

    - +

    syntax

    createCutPaperElement(args);

    - +

    Parameter

    @@ -712,7 +719,7 @@

    Return value

    Created element character stringString
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -733,25 +740,25 @@ 
    Example
    - +
    - +

    createFeedElement

    - +

    Creates Feed element.

    - +

    syntax

    createFeedElement(args);

    - +

    Parameter

    @@ -772,7 +779,7 @@

    Return value

    Created element character stringString
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -793,25 +800,25 @@ 
    Example
    - +
    - +

    createInitializationElement

    - +

    Creates Initialization element.

    - +

    syntax

    createInitializationElement(args);

    - +

    Parameter

    @@ -837,7 +844,7 @@

    Return value

    Created element character stringString
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -858,25 +865,25 @@ 
    Example
    - +
    - +

    createLogoElement

    - +

    Creates Logo element.

    - +

    syntax

    createLogoElement(args);

    - +

    Parameter

    @@ -900,7 +907,7 @@

    Return value

    Created element character stringString
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -920,25 +927,25 @@ 
    Example
    - +
    - +

    createPdf417Element

    - +

    Creates PDF417 element.

    - +

    syntax

    createPdf417Element(args);

    - +

    Parameter

    @@ -968,7 +975,7 @@

    Return value

    Created element character stringString
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -988,25 +995,25 @@ 
    Example
    - +
    - +

    createPeripheralElement

    - +

    Creates Peripheral element.

    - +

    syntax

    createPeripheralElement(args);

    - +

    Parameter

    @@ -1030,7 +1037,7 @@

    Return value

    Created element character stringString
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -1050,25 +1057,25 @@ 
    Example
    - +
    - +

    createQrCodeElement

    - +

    Creates QR code element.

    - +

    syntax

    createQrCodeElement(args);

    - +

    Parameter

    @@ -1093,7 +1100,7 @@

    Return value

    Created element character stringString
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -1113,25 +1120,25 @@ 
    Example
    - +
    - +

    createRawDataElement

    - +

    Creates Raw data element.

    - +

    syntax

    createRawDataElement(args);

    - +

    Parameter

    @@ -1152,7 +1159,7 @@

    Return value

    Created element character stringString
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -1172,25 +1179,25 @@ 
    Example
    - +
    - +

    createRuledLineElement

    - +

    Creates Horizontal ruled line element.

    - +

    syntax

    createRuledLineElement(args);

    - +

    Parameter

    @@ -1215,7 +1222,7 @@

    Return value

    Created element character stringString
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -1235,25 +1242,25 @@ 
    Example
    - +
    - +

    createSoundElement

    - +

    Creates Sound element.

    - +

    syntax

    createSoundElement(args);

    - +

    Parameter

    @@ -1275,7 +1282,7 @@

    Return value

    Created element character stringString
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -1295,25 +1302,25 @@ 
    Example
    - +
    - +

    createTextElement

    - +

    Creates Text element.

    - +

    syntax

    createTextElement(args);

    - +

    Parameter

    @@ -1352,12 +1359,12 @@

    Parameter

    +
    undellineSpecifies underline
    • true … Specifies underline
    • false … Cancels underline
    BooleanUnchanged
    binarybinary data encoding
    (effective range:0x00-0x20,0x26,0x3c,0x3e,0x7f-0xff)
    • true … Keep the value
      -           +           which are the specified binary data of "data"
    • false … JavaScript's utf encoding
                 for the specified binary data of "data"
    -
    Booleanfalse
    Booleanfalse
    dataSpecifies text dataString-
    @@ -1371,7 +1378,7 @@

    Return value

    Created element character stringString - +
    Example
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -1395,22 +1402,22 @@ 
    Example
    - +

    createBarcodeReaderElement

    - +

    Creates Barcode Reader element.

    - +

    syntax

    createBarcodeReaderElement(args);

    - +

    Parameter

    @@ -1427,18 +1434,17 @@

    Parameter

    claimpollingtimeout
    (*1)(*2)
    Polling of Claim management(*3) timeout (msec)
      Range:1000 ~ 2147483647
    *Recommendation:more than 10000
    *When the display of alert dialog passes with the settings number of seconds.
      Internally will work the same as "claim=false".
      Therefore please mind when use the alert dialog.
    NumberUnchanged
    - (*1) it is effective when sets the "type='setting'"
    - (*2) it is effective when sets the "claim='true'"
    - (*3) The polling for keeping the claim status by current using browser
    -        is started when the Claim start is success(*4) after sending the request elements
    -        which is included the "claim='true'" in the first time.
    -        And The polling is finished when the Claim finish is success(*5) after sending
    -        the request elements which is included the "claim='false'".
    -        The polling start and finish are automatically controled by the sendMessage method of StarClaimManager.js.
    - (*4) Character string which is included in the response elements to receive at the time of Claim start success
    -        "<bcr><claim>true</claim></bcr>"
    - (*5) Character string which is included in the response elements to receive at the time of Claim finish success
    -        "<bcr><claim>false</claim></bcr>"
    +
    +

    (*1) it is effective when sets the "type='setting'"

    +

    (*2) it is effective when sets the "claim='true'"

    +

    (*3) The polling for keeping the claim status by current using browser is started when the Claim start is success(*4) after sending the request elements which is included the "claim='true'" in the first time.
    + And The polling is finished when the Claim finish is success(*5) after sending the request elements which is included the "claim='false'".
    + The polling start and finish are automatically controled by the sendMessage method of StarClaimManager.js.

    +

    (*4) Character string which is included in the response elements to receive at the time of Claim start success
    + "<bcr><claim>true</claim></bcr>"

    +

    (*5) Character string which is included in the response elements to receive at the time of Claim finish success
    + "<bcr><claim>false</claim></bcr>"

    +

    Return value

    @@ -1449,7 +1455,7 @@

    Return value

    Created element character stringString
    - +
    Example:Setting of Barcode Reader
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -1486,22 +1492,22 @@ 
    Example:Receiving a read data of Barcode Reader
    - +

    createMagstripeReaderElement

    - +

    Creates Magstripe Reader element.

    - +

    syntax

    createMagstripeReaderElement(args);

    - +

    Parameter

    @@ -1513,18 +1519,17 @@

    Parameter

    claimpollingtimeout
    (*1)(*2)
    Polling of Claim management(*3) timeout (msec)
      Range:1000 ~ 2147483647
    *Recommendation:more than 10000
    *When the display of alert dialog passes with the settings number of seconds.
      Internally will work the same as "claim=false".
      Therefore please mind when use the alert dialog.
    NumberUnchanged
    - (*1) it is effective when sets the "type='setting'"
    - (*2) it is effective when sets the "claim='true'"
    - (*3) The polling for keeping the claim status by current using browser
    -        is started when the Claim start is success(*4) after sending the request elements
    -        which is included the "claim='true'" in the first time.
    -        And The polling is finished when the Claim finish is success(*5) after sending
    -        the request elements which is included the "claim='false'".
    -        The polling start and finish are automatically controled by the sendMessage method of StarClaimManager.js.
    - (*4) Character string which is included in the response elements to receive at the time of Claim start success
    -        "<msr><claim>true</claim></msr>"
    - (*5) Character string which is included in the response elements to receive at the time of Claim finish success
    -        "<msr><claim>false</claim></msr>"
    +
    +

    (*1) it is effective when sets the "type='setting'"

    +

    (*2) it is effective when sets the "claim='true'"

    +

    (*3) The polling for keeping the claim status by current using browser is started when the Claim start is success(*4) after sending the request elements which is included the "claim='true'" in the first time.
    + And The polling is finished when the Claim finish is success(*5) after sending the request elements which is included the "claim='false'".
    + The polling start and finish are automatically controled by the sendMessage method of StarClaimManager.js.

    +

    (*4) Character string which is included in the response elements to receive at the time of Claim start success
    + "<msr><claim>true</claim></msr>"

    +

    (*5) Character string which is included in the response elements to receive at the time of Claim finish success
    + "<msr><claim>false</claim></msr>"

    +

    Return value

    @@ -1535,7 +1540,7 @@

    Return value

    Created element character stringString
    - +
    Example:Setting of Magstripe Reader
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -1572,15 +1577,15 @@ 
    Example:Receiving a read data of Barcode Reader
    - +

    createLineDisplayElement

    - +

    Creates Line Display element.

    - +

    syntax

    @@ -1619,23 +1624,21 @@

    Parameter

    dataText data
    *Hex decimal is '\x0a', '\x20' - '\xff'StringUnchanged - (*1) The "Line Display" Application which has been supported AsuraCPRNT Linux OS since version 1.7
    - (*2) it is effective when sets the "claim='true'"
    - (*3) The polling for keeping the claim status by current using browser
    -        is started when the Claim start is success(*4) after sending the request elements
    -        which is included the "claim='true'" in the first time.
    -        And The polling is finished when the Claim finish is success(*5) after sending
    -        the request elements which is included the "claim='false'".
    -        The polling start and finish are automatically controled by the sendMessage method of StarClaimManager.js.
    - (*4) Character string which is included in the response elements to receive at the time of Claim start success
    -        "<ld><claim>true</claim></ld>"
    - (*5) Character string which is included in the response elements to receive at the time of Claim finish success
    -        "<ld><claim>false</claim></ld>"
    - (*6) When set "initilization" with other items at the same time, set the default value.
    -        The claim / claimpollingtimeout / data are not related.
    - (*7) The square area which is showed on the "Line Display" Application
    -        which has been supported AsuraCPRNT Linux OS since version 1.7
    - (*8) The default of "Line Display" application is 'cp1252' +
    +

    (*1) The "Line Display" Application which has been supported AsuraCPRNT Linux OS since version 1.7

    +

    (*2) it is effective when sets the "claim='true'"

    +

    (*3) The polling for keeping the claim status by current using browser is started when the Claim start is success(*4) after sending the request elements which is included the "claim='true'" in the first time.
    + And The polling is finished when the Claim finish is success(*5) after sending the request elements which is included the "claim='false'".
    + The polling start and finish are automatically controled by the sendMessage method of StarClaimManager.js.

    +

    (*4) Character string which is included in the response elements to receive at the time of Claim start success
    + "<ld><claim>true</claim></ld>"

    +

    (*5) Character string which is included in the response elements to receive at the time of Claim finish success
    + "<ld><claim>false</claim></ld>"

    +

    (*6) When set "initilization" with other items at the same time, set the default value.
    + The claim / claimpollingtimeout / data are not related.

    +

    (*7) The square area which is showed on the "Line Display" Application which has been supported AsuraCPRNT Linux OS since version 1.7

    +

    (*8) The default of "Line Display" application is 'cp1252'

    +

    Return value

    @@ -1646,7 +1649,7 @@

    Return value

    Created element character stringString
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -1676,9 +1679,10 @@ 
    Example
    +
    diff --git a/UsersManual/en/_StarWebPrintExtManager-js.htm b/UsersManual/en/_StarWebPrintExtManager-js.htm index 29f8f5a..34d96e1 100755 --- a/UsersManual/en/_StarWebPrintExtManager-js.htm +++ b/UsersManual/en/_StarWebPrintExtManager-js.htm @@ -2,34 +2,38 @@ + Star WebPRNT User's Manual - - - - + + + + + + - - + - + +
    @@ -44,7 +48,7 @@

    Star WebPRNT User's Manual

    - + @@ -227,6 +231,9 @@

    Star WebPRNT User's Manual

  • <data>
  • <number>
  • + @@ -238,13 +245,16 @@

    Star WebPRNT User's Manual

    StarWebPrintExtManager.js

    - +

    Watches the barcode reader and printer status by StarWebPRNTExtManager request element and StarWebPRNTExtManager response element.

    +

    + This function is supported only with WebPRNT Browser. +

    - +

    Constructor

    @@ -254,7 +264,7 @@

    Constructor

    StarWebPrintExtManagerCreates StarWebPrintExtManager object.
    - +

    Method

    @@ -266,7 +276,7 @@

    Method

    disconnectManagement stop.
    - +

    Property

    @@ -304,28 +314,28 @@
    Star Printer and AsuraCPRNT
    - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
    NameFVP10TSP650IITSP700IITSP800IImPOPAsuraCPRNT
    connect-
    disconnect-
    onReceive-
    onError-
    onPrinterImpossible-
    onPrinterOnline-
    onPrinterOffline-
    onPrinterPaperReady-
    onPrinterPaperNearEmpty--
    onPrinterPaperEmpty-
    onPrinterCoverOpen-
    onPrinterCoverClose-
    onCashDrawerOpen-
    onCashDrawerClose-
    onBarcodeReaderImpossible-----
    onBarcodeReaderConnect-----
    onBarcodeReaderDisconnect-----
    onBarcodeDataReceive-----
    onAccessoryConnectSuccess-
    onAccessoryConnectFailure-
    onAccessoryDisconnect-
    onStatusUpdate-
    connect-
    disconnect-
    onReceive-
    onError-
    onPrinterImpossible-
    onPrinterOnline-
    onPrinterOffline-
    onPrinterPaperReady-
    onPrinterPaperNearEmpty--
    onPrinterPaperEmpty-
    onPrinterCoverOpen-
    onPrinterCoverClose-
    onCashDrawerOpen-
    onCashDrawerClose-
    onBarcodeReaderImpossible-----
    onBarcodeReaderConnect-----
    onBarcodeReaderDisconnect-----
    onBarcodeDataReceive-----
    onAccessoryConnectSuccess-
    onAccessoryConnectFailure-
    onAccessoryDisconnect-
    onStatusUpdate-

    @@ -339,31 +349,31 @@

    Mobile Printer(ESC/POS)
    NameSM-S210iSM-S220i
    (Excluding Jp model)SM-S230iSM-T300iSM-T400i - connect○○○○○ - disconnect○○○○○ - onReceive○○○○○ - onError○○○○○ - onPrinterImpossible○○○○○ - onPrinterOnline○○○○○ - onPrinterOffline○○○○○ - onPrinterPaperReady○○○○○ + connect✓✓✓✓✓ + disconnect✓✓✓✓✓ + onReceive✓✓✓✓✓ + onError✓✓✓✓✓ + onPrinterImpossible✓✓✓✓✓ + onPrinterOnline✓✓✓✓✓ + onPrinterOffline✓✓✓✓✓ + onPrinterPaperReady✓✓✓✓✓ onPrinterPaperNearEmpty----- - onPrinterPaperEmpty○○○○○ - onPrinterCoverOpen○○○○○ - onPrinterCoverClose○○○○○ + onPrinterPaperEmpty✓✓✓✓✓ + onPrinterCoverOpen✓✓✓✓✓ + onPrinterCoverClose✓✓✓✓✓ onCashDrawerOpen----- - onCashDrawerClose○*1○*1○*1○*1○*1 + onCashDrawerClose✓*1✓*1✓*1✓*1✓*1 onBarcodeReaderImpossible----- onBarcodeReaderConnect----- onBarcodeReaderDisconnect----- onBarcodeDataReceive----- - onAccessoryConnectSuccess○○○○○ - onAccessoryConnectFailure○○○○○ - onAccessoryDisconnect○○○○○ - onStatusUpdate○○○○○ + onAccessoryConnectSuccess✓✓✓✓✓ + onAccessoryConnectFailure✓✓✓✓✓ + onAccessoryDisconnect✓✓✓✓✓ + onStatusUpdate✓✓✓✓✓ -

    +

    *1 It is always called as Drawer Close.


    @@ -371,62 +381,62 @@
    Mobile Printer(ESC/POS)
    Mobile Printer (StarPRNT)
    - + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
    NameSM-S210iSM-S220i
    (Excluding Jp model)
    SM-S230iSM-T300iSM-T400iSM-L200
    NameSM-S210iSM-S220i
    (Excluding Jp model)
    SM-S230iSM-T300iSM-T400iSM-L200SM-L300
    connect○*2
    disconnect○*2
    onReceive○*2
    onError○*2
    onPrinterImpossible○*2
    onPrinterOnline○*2
    onPrinterOffline○*2
    onPrinterPaperReady○*2
    onPrinterPaperNearEmpty------
    onPrinterPaperEmpty○*2
    onPrinterCoverOpen○*2
    onPrinterCoverClose○*2
    onCashDrawerOpen------
    onCashDrawerClose○*1○*1○*1○*1○*1○*1 *2
    onBarcodeReaderImpossible------
    onBarcodeReaderConnect------
    onBarcodeReaderDisconnect------
    onBarcodeDataReceive------
    onAccessoryConnectSuccess○*2
    onAccessoryConnectFailure○*2
    onAccessoryDisconnect○*2
    onStatusUpdate○*2
    connect✓*2✓*2
    disconnect✓*2✓*2
    onReceive✓*2✓*2
    onError✓*2✓*2
    onPrinterImpossible✓*2✓*2
    onPrinterOnline✓*2✓*2
    onPrinterOffline✓*2✓*2
    onPrinterPaperReady✓*2✓*2
    onPrinterPaperNearEmpty-------
    onPrinterPaperEmpty✓*2✓*2
    onPrinterCoverOpen✓*2✓*2
    onPrinterCoverClose✓*2✓*2
    onCashDrawerOpen-------
    onCashDrawerClose✓*1✓*1✓*1✓*1✓*1✓*1 *2✓*1 *2
    onBarcodeReaderImpossible-------
    onBarcodeReaderConnect-------
    onBarcodeReaderDisconnect-------
    onBarcodeDataReceive-------
    onAccessoryConnectSuccess✓*2✓*2
    onAccessoryConnectFailure✓*2✓*2
    onAccessoryDisconnect✓*2✓*2
    onStatusUpdate✓*2✓*2
    -

    - *1 It is always called as Drawer Close.
    - *2 SM-L200 is not supported with WebPRNT Browser for iOS. -

    +
    +

    *1 It is always called as Drawer Close.

    +

    *2 It is not supported with WebPRNT Browser for iOS.

    +
    + -
    - +

    StarWebPrintExtManager

    - +

    Creates StarWebPrintExtManager object.

    - +

    syntax

    StarWebPrintExtManager(args);

    - +

    Parameter

    @@ -469,24 +479,24 @@
    Example
    - +
    - +

    connect

    - +

    Management start.

    - +

    syntax

    connect(args);

    - +

    Parameter

    @@ -499,11 +509,6 @@

    Parameter

    pollingIntervalThe sending interval time for polling of Claim management (ms unit)
    Note: When a url is omitted, it should be specified by StarWebPrintExtManager constructor.
    Number-
    -

    Parameter

    @@ -514,7 +519,7 @@

    Parameter

    true … Success
    false … Failed
    Boolean
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -537,22 +542,22 @@ 
    Example
    - +

    disconnect

    - +

    Management stop.

    - +

    syntax

    disconnect();

    - +

    Parameter

    @@ -562,11 +567,6 @@

    Parameter

    ----
    -

    Parameter

    @@ -577,7 +577,7 @@

    Parameter

    true … Success
    false … Failed
    Boolean
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -599,39 +599,40 @@ 
    Example
     to Top
    - +
    - +

    onReceive

    - +

    Communication success event

    - +

    syntax

    function(response);

    - +

    Parameter

    - - + - +
    NameDescriptionObject type
    managerSuccessSuccess code
    • true … Printing succeeded
    • false … Printing failed
    String
    managerCodeResult code
    • 0 … Success
    • 1100 … Printer off line(On error)
    • +
    managerSuccessSuccess code of the communication with printer
    +
    • true … Communication succeeded
    • false … Communication failed
    String
    managerCodeResult code
    • 0 … Success
    • 1010 … Printer unconnected state
    • 2001 … Printer busy(In use with another device: Need to resend data)
    • 3000 … Claim non-acquired state
    Number
    managerClaimManager claim status
    • true … Starts the claim of manager
    • false … Finishes the claim of manager
    Boolean
    managerClaimManager claim status
    • true … Claim acquired state
    • false … Claim non-acquired state
    Boolean
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -668,24 +669,24 @@ 
    Example
    - +
    - +

    onError

    - +

    Communication error event.

    - +

    syntax

    function(response);

    - +

    Parameter

    @@ -744,24 +745,24 @@
    Example
    - +
    - +

    onPrinterImpossible

    - +

    Notifies that the printer cannot be used.

    - +

    syntax

    function();

    - +

    Parameter

    @@ -772,7 +773,7 @@

    Parameter

    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -800,22 +801,22 @@ 
    Example
    - +

    onPrinterOnline

    - +

    Notified that the printer is online.

    - +

    syntax

    function();

    - +

    Parameter

    @@ -826,7 +827,7 @@

    Parameter

    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -852,22 +853,22 @@ 
    Example
     to Top
    - +

    onPrinterOffline

    - +

    Notified that the printer is offline.

    - +

    syntax

    function();

    - +

    Parameter

    @@ -878,7 +879,7 @@

    Parameter

    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -907,22 +908,22 @@ 
    Example
    - +

    onPrinterPaperReady

    - +

    Notified that the printer paper is ready.

    - +

    syntax

    function();

    - +

    Parameter

    @@ -933,7 +934,7 @@

    Parameter

    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -962,22 +963,22 @@ 
    Example
    - +

    onPrinterPaperNearEmpty

    - +

    Notified that the printer paper is near empty.

    - +

    syntax

    function();

    - +

    Parameter

    @@ -988,7 +989,7 @@

    Parameter

    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1017,22 +1018,22 @@ 
    Example
    - +

    onPrinterPaperEmpty

    - +

    Notified that the printer paper is empty.

    - +

    syntax

    function();

    - +

    Parameter

    @@ -1043,7 +1044,7 @@

    Parameter

    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1072,22 +1073,22 @@ 
    Example
    - +

    onPrinterCoverOpen

    - +

    Notified that the printer cover is open.

    - +

    syntax

    function();

    - +

    Parameter

    @@ -1098,7 +1099,7 @@

    Parameter

    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1127,22 +1128,22 @@ 
    Example
    - +

    onPrinterCoverClose

    - +

    Notified that the printer cover is closed.

    - +

    syntax

    function();

    - +

    Parameter

    @@ -1153,7 +1154,7 @@

    Parameter

    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1182,22 +1183,22 @@ 
    Example
    - +

    onCashDrawerOpen

    - +

    Notified that the cash drawer is open.

    - +

    syntax

    function();

    - +

    Parameter

    @@ -1208,7 +1209,7 @@

    Parameter

    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1237,22 +1238,22 @@ 
    Example
    - +

    onCashDrawerClose

    - +

    Notified that the cash drawer is closed.

    - +

    syntax

    function();

    - +

    Parameter

    @@ -1263,7 +1264,7 @@

    Parameter

    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1292,22 +1293,22 @@ 
    Example
    - +

    onBarcodeReaderImpossible

    - +

    Notified that the barcode reader cannot be used.

    - +

    syntax

    function();

    - +

    Parameter

    @@ -1318,7 +1319,7 @@

    Parameter

    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1347,22 +1348,22 @@ 
    Example
    - +

    onBarcodeReaderConnect

    - +

    Notified that the barcode reader is connected.

    - +

    syntax

    function();

    - +

    Parameter

    @@ -1373,7 +1374,7 @@

    Parameter

    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1402,22 +1403,22 @@ 
    Example
    - +

    onBarcodeReaderDisconnect

    - +

    Notified that the barcode reader is disconnected.

    - +

    syntax

    function();

    - +

    Parameter

    @@ -1428,7 +1429,7 @@

    Parameter

    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1457,22 +1458,22 @@ 
    Example
    - +

    onBarcodeDataReceive

    - +

    Notified that the barcode reader data received.

    - +

    syntax

    function(response);

    - +

    Parameter

    @@ -1483,7 +1484,7 @@

    Parameter

    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1512,22 +1513,22 @@ 
    Example
    - +

    onAccessoryConnectSuccess

    - +

    Notified that the accessory(Bluetooth) connect is success.

    - +

    syntax

    function();

    - +

    Parameter

    @@ -1538,7 +1539,7 @@

    Parameter

    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1567,22 +1568,22 @@ 
    Example
    - +

    onAccessoryConnectFailure

    - +

    Notified that the accessory(Bluetooth) connect is failure.

    - +

    syntax

    function();

    - +

    Parameter

    @@ -1593,7 +1594,7 @@

    Parameter

    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1622,22 +1623,22 @@ 
    Example
    - +

    onAccessoryDisconnect

    - +

    Notified that the accessory(Bluetooth) is disconnected.

    - +

    syntax

    function();

    - +

    Parameter

    @@ -1648,7 +1649,7 @@

    Parameter

    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1677,22 +1678,22 @@ 
    Example
    - +

    onStatusUpdate

    - +

    Notified that the printer status is updated.

    - +

    syntax

    function(response);

    - +

    Parameter

    @@ -1706,7 +1707,7 @@

    Parameter

    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1741,5 +1742,7 @@ 
    Example
    +
    + diff --git a/UsersManual/en/_StarWebPrintRequestElement.htm b/UsersManual/en/_StarWebPrintRequestElement.htm index b21300a..308d85f 100755 --- a/UsersManual/en/_StarWebPrintRequestElement.htm +++ b/UsersManual/en/_StarWebPrintRequestElement.htm @@ -2,34 +2,38 @@ + Star WebPRNT User's Manual - - - - + + + + + + - - + - + +
    @@ -44,7 +48,7 @@

    Star WebPRNT User's Manual

    - + @@ -228,6 +232,9 @@

    Star WebPRNT User's Manual

  • <number>
  • + @@ -242,89 +249,79 @@

    Star WebPRNT User's Manual

    StarWebPRNT Request Element

    - - + +
    - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
    NameDescriptionStar
    Thermal Printer
    with WebPRNT
    Star
    Dot Printer
    with WebPRNT
    AsuraCPRNT
    NameDescriptionWebPRNT
    Browser
    Star
    Thermal Printer
    with WebPRNT
    Star
    Dot Printer
    with WebPRNT
    AsuraCPRNT
    <root>Root Element
    <alignment>Alignment Element
    <barcode>Barcode Element-
    <bitImage>Bitimage Element
    <cutpaper>Cut paper Element
    <feed>Feed Element
    <initialization>Initialization Element*1
    <logo>Logo Element*2
    <pdf417>PDF417Element-
    <peripheral>Peripheral Element
    <qrcode>QR code Element-
    <rawdata>Raw data Element○ *3○ *3○ *3
    <ruledline>Horizontal ruled line Element
    <sound>Sound Element-
    <text>Text Element○ *4○ *4 *5○ *4
    <barcodereader>Barcode reader Element--○ *6
    <magstripereader>Magstripe reader Element--○ *6
    <linedisplay>Line Display Element--○ *6 *7
    <root>Root Element✓*1
    <alignment>Alignment Element
    <barcode>Barcode Element-
    <bitImage>Bitimage Element
    <cutpaper>Cut paper Element
    <feed>Feed Element
    <initialization>Initialization Element*2
    <logo>Logo Element*3
    <pdf417>PDF417Element-
    <peripheral>Peripheral Element
    <qrcode>QR code Element-
    <rawdata>Raw data Element✓ *4✓ *4✓ *4✓ *4
    <ruledline>Horizontal ruled line Element
    <sound>Sound Element-
    <text>Text Element✓ *5✓ *5✓ *5 *6✓ *5
    <barcodereader>Barcode reader Element---✓ *7
    <magstripereader>Magstripe reader Element---✓ *7
    <linedisplay>Line Display Element---✓ *7 *8
    -
    -

    - *1 Attribute [ reset / print ] supported to only "false".

    -

    - *2 It is unsupported, because there is not a method to make logo registration.

    -

    - *3 Do not send an Initialization command (ESC @).
    -   If want to send the command , please use the <initialization> (Initialization element).

    -

    - *4 It is supported to the print of the UTF-8 character code.
    -   Please refer to Appendix UTF-8 for getting an situation of each model's support.
    -   In the case of using AsuraCPRNT, please set language in an item of "StarWebPRNT" of the "configure" application.
    -   The codepage attributes “shift_jis”, “gb18030”, “gb2312”, “big5” and “korea” are supported only with Star WebPRNT Browser.
    -   In the case of using WebPRNT Browser, do not set “utf8” for Attribute of codepage with non UTF-8 supported models. +

    +

    *1 The checkedblock attribute is always true.

    +

    *2 Attribute [ reset / print ] supported to only "false".

    +

    *3 It is unsupported, because there is not a method to make logo registration.

    +

    *4 Do not send an Initialization command (ESC @).
    + If want to send the command , please use the <initialization> (Initialization element).

    +

    *5 It is supported to the print of the UTF-8 character code.
    + Please refer to Appendix UTF-8 for getting an situation of each model's support.
    + In the case of using AsuraCPRNT, please set language in an item of "StarWebPRNT" of the "configure" application.
    + The codepage attributes “shift_jis”, “gb18030”, “gb2312”, “big5” and “korea” are supported only with Star WebPRNT Browser.
    + In the case of using WebPRNT Browser, do not set “utf8” for Attribute of codepage with non UTF-8 supported models.

    -

    - *5 In Dot Printer, handlings of the parameter are different partly. The differences are as follows.
    -    - invert : In the case of the model of printing two-colors,
    -                +

    *6 In Dot Printer, handlings of the parameter are different partly. The differences are as follows.
    + invert : In the case of the model of printing two-colors,
    +              If the monochrome inversion printing is valid, printing is red.
    -                +              If the monochrome inversion printing is invalid, printing is black.
    -    linespace : The unit of 1 dot is 1/144 inch. In addition, can set the specified value(1 - 255).
    -    width : Only 1 and 2 is supported.
    -    height : Only 1 and 2 is supported.
    -    - font : "fontA" is 7 by 9 font. "fontB" is 5 by 9(2P-1).

    -

    - *6 This function has been supported in AsuraCPRNT Linux OS since version 1.7.
    -      Please refer to the specifications of AsuraCPRNT Develeper Site about each supported devices.
    -

    - *7 When start up the "Line Display" Application which has been supported AsuraCPRNT Linux OS since version 1.7 on Asura, can be available.

    - - + font : "fontA" is 7 by 9 font. "fontB" is 5 by 9(2P-1).

    +

    *7 This function has been supported in AsuraCPRNT Linux OS since version 1.7.
    + Please refer to the specifications of AsuraCPRNT Develeper Site about each supported devices.

    +

    *8 When start up the "Line Display" Application which has been supported AsuraCPRNT Linux OS since version 1.7 on Asura, can be available.

    +
    + +
    - +

    <root>

    - +

    Root Element

    - +

    Attribute

    @@ -337,14 +334,8 @@

    Attribute

    - -
    papertypePaper type
    • normal … Normal paper
    • black_mark … Black mark paper
    • black_mark_and_detect_at_power_on … Black mark paper (Detect at power on)
    Unset
    blackmark_sensor *1Type of blackmark sensor
    -
    • front_side … Front side detector sensor
    • back_side … Back side detector sensor
    • hole_or_gap … Hole or gap detector sensor
    'front_side'
    -

    - *1 The blackmark_sensor attribute is valid when ”black_mark" or ”black_mark_and_detect_at_power_on” is specified for the paper type attribute. -

    Value

    @@ -374,13 +365,13 @@
    Example

    <alignment>

    - +

    Alignment Element

    - +

    Attribute

    @@ -418,13 +409,13 @@
    Example

    <barcode>

    - +

    Barcode Element

    - +

    Attribute

    @@ -471,13 +462,13 @@
    Example

    <bitImage>

    - +

    Bitimage Element

    - +

    Attribute

    @@ -516,13 +507,13 @@
    Example

    <cutpaper>

    - +

    Cut paper Element

    - +

    Attribute

    @@ -561,13 +552,13 @@
    Example

    <feed>

    - +

    Feed Element

    - +

    Attribute

    @@ -605,13 +596,13 @@
    Example

    <initialization>

    - +

    Initialization Element

    - +

    Attribute

    @@ -651,13 +642,13 @@
    Example
    @@ -698,13 +689,13 @@
    Example

    <pdf417>

    - +

    PDF417Element

    - +

    Attribute

    @@ -750,13 +741,13 @@
    Example

    <peripheral>

    - +

    Peripheral Element

    - +

    Attribute

    @@ -796,13 +787,13 @@
    Example

    <qrcode>

    - +

    QR code Element

    - +

    Attribute

    @@ -844,13 +835,13 @@
    Example

    <rawdata>

    - +

    Raw data Element

    - +

    Attribute

    @@ -887,13 +878,13 @@
    Example

    <ruledline>

    - +

    Horizontal ruled line Element

    - +

    Attribute

    @@ -935,13 +926,13 @@
    Example

    <sound>

    - +

    Sound Element

    - +

    Attribute

    @@ -981,13 +972,13 @@
    Example

    <text>

    - +

    Text Element

    - +

    Attribute

    @@ -1063,13 +1054,13 @@
    Example

    <barcodereader>

    - +

    Barcode reader Element

    - +

    Attribute

    @@ -1086,18 +1077,17 @@

    Attribute

    claimpollingtimeout
    (*1)(*2)
    Polling of Claim management(*3) timeout (msec)
      Range:1000 ~ 2147483647
    *Recommendation:more than 10000
    *When the display of alert dialog passes with the settings number of seconds.
      Internally will work the same as "claim=false".
      Therefore please mind when use the alert dialog.
    Unchanged
    - (*1) it is effective when sets the "type='setting'"
    - (*2) it is effective when sets the "claim='true'"
    - (*3) The polling for keeping the claim status by current using browser
    -        is started when the Claim start is success(*4) after sending the request elements
    -        which is included the "claim='true'" in the first time.
    -        And The polling is finished when the Claim finish is success(*5) after sending
    -        the request elements which is included the "claim='false'".
    -        The polling start and finish are automatically controled by the sendMessage method of StarClaimManager.js.
    - (*4) Character string which is included in the response elements to receive at the time of Claim start success
    -        "<bcr><claim>true</claim></bcr>"
    - (*5) Character string which is included in the response elements to receive at the time of Claim finish success
    -        "<bcr><claim>false</claim></bcr>"
    +
    +

    (*1) it is effective when sets the "type='setting'"

    +

    (*2) it is effective when sets the "claim='true'"

    +

    (*3) The polling for keeping the claim status by current using browser is started when the Claim start is success(*4) after sending the request elements which is included the "claim='true'" in the first time.
    + And The polling is finished when the Claim finish is success(*5) after sending the request elements which is included the "claim='false'".
    + The polling start and finish are automatically controled by the sendMessage method of StarClaimManager.js.

    +

    (*4) Character string which is included in the response elements to receive at the time of Claim start success
    + "<bcr><claim>true</claim></bcr>"

    +

    (*5) Character string which is included in the response elements to receive at the time of Claim finish success
    + "<bcr><claim>false</claim></bcr>"

    +

    Value

    @@ -1131,13 +1121,13 @@
    Example:Receiving a read data of barcode reader

    <magstripereader>

    - +

    Magstripe reader Element

    - +

    Attribute

    @@ -1149,18 +1139,17 @@

    Attribute

    claimpollingtimeout
    (*1)(*2)
    Polling of Claim management(*3) timeout (msec)
      Range:1000 ~ 2147483647
    *Recommendation:more than 10000
    *When the display of alert dialog passes with the settings number of seconds.
      Internally will work the same as "claim=false".
      Therefore please mind when use the alert dialog.
    Unchanged
    - (*1) it is effective when sets the "type='setting'"
    - (*2) it is effective when sets the "claim='true'"
    - (*3) The polling for keeping the claim status by current using browser
    -        is started when the Claim start is success(*4) after sending the request elements
    -        which is included the "claim='true'" in the first time.
    -        And The polling is finished when the Claim finish is success(*5) after sending
    -        the request elements which is included the "claim='false'".
    -        The polling start and finish are automatically controled by the sendMessage method of StarClaimManager.js.
    - (*4) Character string which is included in the response elements to receive at the time of Claim start success
    -        "<msr><claim>true</claim></msr>"
    - (*5) Character string which is included in the response elements to receive at the time of Claim finish success
    -        "<msr><claim>false</claim></msr>"
    +
    +

    (*1) it is effective when sets the "type='setting'"

    +

    (*2) it is effective when sets the "claim='true'"

    +

    (*3) The polling for keeping the claim status by current using browser is started when the Claim start is success(*4) after sending the request elements which is included the "claim='true'" in the first time.
    + And The polling is finished when the Claim finish is success(*5) after sending the request elements which is included the "claim='false'".
    + The polling start and finish are automatically controled by the sendMessage method of StarClaimManager.js.

    +

    (*4) Character string which is included in the response elements to receive at the time of Claim start success
    + "<msr><claim>true</claim></msr>"

    +

    (*5) Character string which is included in the response elements to receive at the time of Claim finish success
    + "<msr><claim>false</claim></msr>"

    +

    Value

    @@ -1195,13 +1184,13 @@
    Example:Receiving a read data of Magstripe Reader

    <linedisplay>

    - +

    Line Display Element

    - +

    Attribute

    @@ -1232,23 +1221,21 @@

    Attribute

    touchareaTouch area
    *Specifies the following object which includes parameter
    • id … ASCII character from 0x20 to 0x7e
      *It is impossible to set the id which includes the following characters
        ',x:' ',y:' ',height:' ',width:'
      *The number of character are 1024 bytes
      *When set only id parameter, deletes the registered id by the specified id.
    • x … The x position in touch area
        Range: 0 ~ 800
    • y … The y position in touch area
        Range: 0 ~ 480
    • width … The width in touch area
        Range: 1 ~ 800 (*)
    • height … The height in touch area
        Range: 1 ~ 480 (*)
      *It is possible to set the parameter in (x + width) <= 800 and (y + height) <= 480
    Unchanged
    - (*1) The "Line Display" Application which has been supported AsuraCPRNT Linux OS since version 1.7
    - (*2) it is effective when sets the "claim='true'"
    - (*3) The polling for keeping the claim status by current using browser
    -        is started when the Claim start is success(*4) after sending the request elements
    -        which is included the "claim='true'" in the first time.
    -        And The polling is finished when the Claim finish is success(*5) after sending
    -        the request elements which is included the "claim='false'".
    -        The polling start and finish are automatically controled by the sendMessage method of StarClaimManager.js.
    - (*4) Character string which is included in the response elements to receive at the time of Claim start success
    -        "<ld><claim>true</claim></ld>"
    - (*5) Character string which is included in the response elements to receive at the time of Claim finish success
    -        "<ld><claim>false</claim></ld>"
    - (*6) When set "initilization" with other items at the same time, set the default value.
    -        The claim / claimpollingtimeout / data are not related.
    - (*7) The square area which is showed on the "Line Display" Application
    -        which has been supported AsuraCPRNT Linux OS since version 1.7
    - (*8) The default of "Line Display" application is 'cp1252' +
    +

    (*1) The "Line Display" Application which has been supported AsuraCPRNT Linux OS since version 1.7

    +

    (*2) it is effective when sets the "claim='true'"

    +

    (*3) The polling for keeping the claim status by current using browser is started when the Claim start is success(*4) after sending the request elements which is included the "claim='true'" in the first time.
    + And The polling is finished when the Claim finish is success(*5) after sending the request elements which is included the "claim='false'".
    + The polling start and finish are automatically controled by the sendMessage method of StarClaimManager.js.

    +

    (*4) Character string which is included in the response elements to receive at the time of Claim start success
    + "<ld><claim>true</claim></ld>"

    +

    (*5) Character string which is included in the response elements to receive at the time of Claim finish success
    + "<ld><claim>false</claim></ld>"

    +

    (*6) When set "initilization" with other items at the same time, set the default value.
    + The claim / claimpollingtimeout / data are not related.

    +

    (*7) The square area which is showed on the "Line Display" Application which has been supported AsuraCPRNT Linux OS since version 1.7

    +

    (*8) The default of "Line Display" application is 'cp1252'

    +

    Value

    @@ -1283,5 +1270,7 @@
    + + diff --git a/UsersManual/en/_StarWebPrintRequestElement_scs.htm b/UsersManual/en/_StarWebPrintRequestElement_scs.htm new file mode 100755 index 0000000..4ac0e7c --- /dev/null +++ b/UsersManual/en/_StarWebPrintRequestElement_scs.htm @@ -0,0 +1,313 @@ + + + + + + Star WebPRNT User's Manual + + + + + + + + + + + + + + + + + +
    + +
    + +

    Star WebPRNT User's Manual

    + +
    +
    + + + + +
    + + + + + + + +
    + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    NameDescriptionWebPRNT
    Browser
    *1
    Star Printer
    with WebPRNT
    AsuraCPRNT
    <root>Root Element---
    <alignment>Alignment Element--
    <barcode>Barcode Element--
    <bitImage>Bitimage Element--
    <cutpaper>Cut paper Element---
    <feed>Feed Element--
    <initialization>Initialization Element---
    <logo>Logo Element---
    <pdf417>PDF417Element--
    <peripheral>Peripheral Element---
    <qrcode>QR code Element--
    <rawdata>Raw data Element--
    <ruledline>Horizontal ruled line Element--
    <sound>Sound Element---
    <text>Text Element--
    <barcodereader>Barcode reader Element---
    <magstripereader>Magstripe reader Element---
    <linedisplay>Line Display Element---
    +
    +

    *1 Mobile ESC/POS emulation does not support the receipt upload function of Star Cloud Services.

    +
    + + +
    +
    + +
    +  to Top +
    + + +
    + +
    + + + +
    + + + diff --git a/UsersManual/en/_StarWebPrintResponseElement.htm b/UsersManual/en/_StarWebPrintResponseElement.htm index d8cff1e..9cb2c6e 100755 --- a/UsersManual/en/_StarWebPrintResponseElement.htm +++ b/UsersManual/en/_StarWebPrintResponseElement.htm @@ -2,35 +2,40 @@ + Star WebPRNT User's Manual - - - - + + + + + + - - + - + +
    +

    Star WebPRNT User's Manual

    @@ -44,7 +49,7 @@

    Star WebPRNT User's Manual

    - + @@ -228,6 +233,9 @@

    Star WebPRNT User's Manual

  • <number>
  • + @@ -241,11 +249,11 @@

    Star WebPRNT User's Manual

    StarWebPRNT Response Element

    - +

    - + @@ -293,47 +301,46 @@
    POS Printer and AsuraCPRNT
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameDescription
    NameFVP10TSP650IITSP700IITSP800IImPOPAsuraCPRNT
    <root>
    <success>
    <code>
    <status>○ *1
    <bcr>-----○ *1
    <success>-----○ *1
    <code>-----○ *1
    <claim>-----○ *1
    <mode>-----○ *1
    <duplicatescandelay>-----○ *1
    <scanoncetimeout>-----○ *1
    <claimpollingtimeout>-----○ *1
    <symbol>-----○ *1
    <symbolenable>-----○ *1
    <data>-----○ *1
    <datasymbol>-----○ *1
    <datacount>-----○ *1
    <bcrdevicename>-----○ *1
    <modecapability>-----○ *1
    <symbolcapability>-----○ *1
    <msr>-----○ *1
    <success>-----○ *1
    <code>-----○ *1
    <claim>-----○ *1
    <claimpollingtimeout>-----○ *1
    <data>-----○ *1
    <datacount>-----○ *1
    <ld>-----○ *1 *2
    <success>-----○ *1 *2
    <code>-----○ *1 *2
    <claim>-----○ *1 *2
    <claimpollingtimeout>-----○ *1 *2
    -

    - *1 This function has been supported in AsuraCPRNT Linux OS since version 1.7.
    -      Please refer to the specifications of AsuraCPRNT Develeper Siteabout each supported devices.
    - *2 When start up the "Line Display" Application which has been supported AsuraCPRNT Linux OS since version 1.7 on Asura, can be available. - -

    + <root>✓✓✓✓✓✓ + <success>✓✓✓✓✓✓ + <code>✓✓✓✓✓✓ + <status>✓✓✓✓✓✓ *1 + <bcr>-----✓ *1 + <success>-----✓ *1 + <code>-----✓ *1 + <claim>-----✓ *1 + <mode>-----✓ *1 + <duplicatescandelay>-----✓ *1 + <scanoncetimeout>-----✓ *1 + <claimpollingtimeout>-----✓ *1 + <symbol>-----✓ *1 + <symbolenable>-----✓ *1 + <data>-----✓ *1 + <datasymbol>-----✓ *1 + <datacount>-----✓ *1 + <bcrdevicename>-----✓ *1 + <modecapability>-----✓ *1 + <symbolcapability>-----✓ *1 + <msr>-----✓ *1 + <success>-----✓ *1 + <code>-----✓ *1 + <claim>-----✓ *1 + <claimpollingtimeout>-----✓ *1 + <data>-----✓ *1 + <datacount>-----✓ *1 + <ld>-----✓ *1 *2 + <success>-----✓ *1 *2 + <code>-----✓ *1 *2 + <claim>-----✓ *1 *2 + <claimpollingtimeout>-----✓ *1 *2 + + + +
    +

    *1 This function has been supported in AsuraCPRNT Linux OS since version 1.7.
    + Please refer to the specifications of AsuraCPRNT Develeper Siteabout each supported devices.

    +

    *2 When start up the "Line Display" Application which has been supported AsuraCPRNT Linux OS since version 1.7 on Asura, can be available.

    +
    Mobile Printer (ESC/POS)
    @@ -342,10 +349,10 @@
    Mobile Printer (ESC/POS)
    NameSM-S220i
    (Excluding Jp model)SM-S230iSM-T300iSM-T400i - <root>○○○○ - <success>○○○○ - <code>○○○○ - <status>○○○○ + <root>✓✓✓✓ + <success>✓✓✓✓ + <code>✓✓✓✓ + <status>✓✓✓✓ <bcr>---- <success>---- <code>---- @@ -373,49 +380,49 @@
    Mobile Printer (ESC/POS)
    <success>---- <code>---- <claim>---- - <claimpollingtimeout>---- + <claimpollingtimeout>----
    - +
    Mobile Printer (StarPRNT)
    - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameSM-S220i
    (Excluding Jp model)
    SM-S230iSM-T300iSM-T400iSM-L200
    NameSM-S220i
    (Excluding Jp model)
    SM-S230iSM-T300iSM-T400iSM-L200SM-L300
    <root>
    <success>
    <code>
    <status>
    <bcr>-----
    <success>-----
    <code>-----
    <claim>-----
    <mode>-----
    <duplicatescandelay>-----
    <scanoncetimeout>-----
    <claimpollingtimeout>-----
    <symbol>-----
    <symbolenable>-----
    <data>-----
    <datasymbol>-----
    <datacount>-----
    <bcrdevicename>-----
    <modecapability>-----
    <symbolcapability>-----
    <msr>-----
    <success>-----
    <code>-----
    <claim>-----
    <claimpollingtimeout>-----
    <data>-----
    <datacount>-----
    <ld>-----
    <success>-----
    <code>-----
    <claim>-----
    <claimpollingtimeout>-----
    <root>
    <success>
    <code>
    <status>
    <bcr>------
    <success>------
    <code>------
    <claim>------
    <mode>------
    <duplicatescandelay>------
    <scanoncetimeout>------
    <claimpollingtimeout>------
    <symbol>------
    <symbolenable>------
    <data>------
    <datasymbol>------
    <datacount>------
    <bcrdevicename>------
    <modecapability>------
    <symbolcapability>------
    <msr>------
    <success>------
    <code>------
    <claim>------
    <claimpollingtimeout>------
    <data>------
    <datacount>------
    <ld>------
    <success>------
    <code>------
    <claim>------
    <claimpollingtimeout>------
    @@ -428,7 +435,7 @@
    Mobile Printer (StarPRNT)
    - +
    @@ -471,11 +478,11 @@
    Example
    - + - +

    <success>

    @@ -517,11 +524,11 @@
    Example
    - + - +

    <code>

    @@ -565,11 +572,11 @@
    Example
    - + - +

    <status>

    @@ -667,7 +674,7 @@
    Example
    - + @@ -724,7 +731,7 @@
    Example
    - + @@ -787,7 +794,7 @@
    Example
    - + @@ -844,7 +851,7 @@
    Example
    - + @@ -906,7 +913,7 @@
    Example
    - + @@ -963,7 +970,7 @@
    Example
    - + @@ -1020,7 +1027,7 @@
    Example
    - + @@ -1077,7 +1084,7 @@
    Example
    - + @@ -1134,7 +1141,7 @@
    Example
    - + @@ -1191,7 +1198,7 @@
    Example
    - + @@ -1242,7 +1249,7 @@
    Example
    - + @@ -1293,7 +1300,7 @@
    Example
    - + @@ -1344,7 +1351,7 @@
    Example
    - + @@ -1658,7 +1665,7 @@
    Example
    - + @@ -1707,7 +1714,7 @@
    Example
    - + @@ -1762,7 +1769,7 @@
    Example
    - + @@ -1811,7 +1818,7 @@
    Example
    - + @@ -1860,7 +1867,7 @@
    Example
    - + @@ -1911,7 +1918,7 @@
    Example
    - + @@ -1962,7 +1969,7 @@
    Example
    - + @@ -2011,7 +2018,7 @@
    Example
    - + @@ -2060,7 +2067,7 @@
    Example
    - + @@ -2095,7 +2102,7 @@

    Value

  • 1001 … Line display claim still has not be performed.
  • 1002 … Line display is busy
    (In use with another device. Another device has already performed the claim start: Need to resend data)
  • 1003 … Line display device is not connected on AsuraCPRNT or turn off.
  • -
  • 1004 … line display has error(On online
  • +
  • 1004 … line display has error(On online
  • @@ -2114,7 +2121,7 @@
    Example
    - + @@ -2163,7 +2170,7 @@
    Example
    - + @@ -2212,7 +2219,7 @@
    Example
    - + @@ -2223,9 +2230,11 @@
    Example
    +
    + diff --git a/UsersManual/en/_StarWebPrintTrader-js.htm b/UsersManual/en/_StarWebPrintTrader-js.htm index 40a6745..7884a93 100755 --- a/UsersManual/en/_StarWebPrintTrader-js.htm +++ b/UsersManual/en/_StarWebPrintTrader-js.htm @@ -2,35 +2,40 @@ + Star WebPRNT User's Manual - - - - + + + + + + - - + - + +
    +

    Star WebPRNT User's Manual

    @@ -44,7 +49,7 @@

    Star WebPRNT User's Manual

    - + @@ -228,6 +233,9 @@

    Star WebPRNT User's Manual

  • <number>
  • + @@ -240,13 +248,13 @@

    Star WebPRNT User's Manual

    StarWebPrintTrader.js

    - +

    Sends StarWebPRNT request element and checks status from received StarWebPRNT request element.

    - +

    Constructor

    @@ -256,7 +264,7 @@

    Constructor

    StarWebPrintTraderCreates StarWebPrintTrader object.
    - +

    Method

    @@ -278,7 +286,7 @@

    Method

    extractionEtbCounterETB counter is extracted.
    - +

    Property

    @@ -290,7 +298,7 @@

    Property

    onErrorCommunication error event.
    - +

    Star Printer Compatibility Chart

    POS Printer and AsuraCPRNT
    @@ -298,25 +306,24 @@
    POS Printer and AsuraCPRNT
    - - - - - - - - - - - - + + + + + + + + + + + +
    NameFVP10TSP650IITSP700IITSP800IImPOPAsuraCPRNT
    sendMessage*1 *2
    isCoverOpen
    isOffLine
    isCompulsionSwitchClose
    isEtbCommandExecute
    isHighTemperatureStop
    isNonRecoverableError
    isAutoCutterError
    isBlackMarkError---
    isPaperEnd
    isPaperNearEnd-
    extractionEtbCounter
    sendMessage*1
    isCoverOpen
    isOffLine
    isCompulsionSwitchClose
    isEtbCommandExecute
    isHighTemperatureStop
    isNonRecoverableError
    isAutoCutterError
    isBlackMarkError---
    isPaperEnd
    isPaperNearEnd-
    extractionEtbCounter
    -

    - *1 Waiting for completion of printing is fixed to valid for Bluetooth printers.
    -   The named argument ’checkedblock' does not work.
    - *2 The named argument ’blackmark_sensor' does not work. -

    +
    +

    *1 Waiting for completion of printing is fixed to valid for Bluetooth printers.
    + The named argument ’checkedblock' does not work.

    +
    Mobile Printer (ESC/POS)
    @@ -325,77 +332,77 @@
    Mobile Printer (ESC/POS)
    NameSM-S220i
    (Excluding Jp model)SM-S230iSM-T300iSM-T400i - sendMessage*1 *2○○○○ - isCoverOpen○○○○ - isOffLine○○○○ + sendMessage*1 *2✓✓✓✓ + isCoverOpen✓✓✓✓ + isOffLine✓✓✓✓ isCompulsionSwitchClose---- isEtbCommandExecute---- isHighTemperatureStop---- isNonRecoverableError---- isAutoCutterError---- isBlackMarkError---- - isPaperEnd○○○○ + isPaperEnd✓✓✓✓ isPaperNearEnd---- - extractionEtbCounter---- + extractionEtbCounter---- -

    - *1 Waiting for completion of printing is fixed to valid for Bluetooth printers.
    -   The named argument ’checkedblock' does not work.
    - *2 The named argument 'papertype', 'blackmark_sensor' does not work. -

    - +
    +

    *1 Waiting for completion of printing is fixed to valid for Bluetooth printers.
    + The named argument ’checkedblock' does not work.

    +

    *2 The named argument 'papertype' does not work.

    +
    +
    Mobile Printer (StarPRNT)
    - + - - - - - - - - - - - - + + + + + + + + + + + +
    NameSM-S220i
    (Excluding Jp model)
    SM-S230iSM-T300iSM-T400iSM-L200
    NameSM-S220i
    (Excluding Jp model)
    SM-S230iSM-T300iSM-T400iSM-L200SM-L300
    sendMessage*1
    isCoverOpen
    isOffLine
    isCompulsionSwitchClose-----
    isEtbCommandExecute
    isHighTemperatureStop
    isNonRecoverableError-----
    isAutoCutterError-----
    isBlackMarkError
    isPaperEnd
    isPaperNearEnd-----
    extractionEtbCounter
    sendMessage*1 *2
    isCoverOpen
    isOffLine
    isCompulsionSwitchClose------
    isEtbCommandExecute
    isHighTemperatureStop
    isNonRecoverableError------
    isAutoCutterError------
    isBlackMarkError
    isPaperEnd
    isPaperNearEnd------
    extractionEtbCounter
    -

    - *1 Waiting for completion of printing is fixed to valid for Bluetooth printers.
    -   The named argument ’checkedblock' does not work. -

    +
    +

    *1 Waiting for completion of printing is fixed to valid for Bluetooth printers.
    + The named argument ’checkedblock' does not work.

    +

    *2 The named argument 'papertype' does not work.

    +
    -
    - +

    StarWebPrintTrader

    - +

    Creates StarWebPrintTrader object.

    - +

    syntax

    StarWebPrintTrader(args);

    - +

    Parameter

    @@ -408,13 +415,8 @@

    Parameter

    • true … Wait for the completion of printing
    • false … Not wait for the completion of printing
    -
    Booleantrue
    papertypePaper type
    • normal … Nomal paper
    • black_mark … Black mark paper
    • black_mark_and_detect_at_power_on … Black mark paper (Detect at power on)
    String-
    blackmark_sensor *1Type of blackmark sensor
    -
    • front_side … Front side detector sensor
    • back_side … Back side detector sensor
    • hole_or_gap … Hole or gap detector sensor
    Stringfront_side
    -

    - *1 The blackmark_sensor attribute is valid when ”black_mark" or ”black_mark_and_detect_at_power_on” is specified for the paper type attribute. -

    Return value

    @@ -446,25 +448,25 @@
    Example
    - +
    - +

    sendMessage

    - +

    Sends StarWebPRNT request element and checks status from received StarWebPRNT request element.

    - +

    syntax

    sendMessage(args);

    - +

    Parameter

    @@ -480,16 +482,10 @@

    Parameter

    -
    requestList of StarWebPRNT request elementStringCan't be omitted
    papertypePaper type
    • normal … Nomal paper
    • black_mark … Black mark paper
    • black_mark_and_detect_at_power_on … Black mark paper (Detect at power on)

    - Note: When a papertype is omitted, the value specified by StarWebPrintTrader constructor should be used. + Note: When a papertype is omitted, the value specified by StarWebPrintTrader constructor should be used. If not specified by StarWebPrintTrader constructor either, it is an unset status.
    String-
    blackmark_sensor *1Type of blackmark sensor
    -
    • front_side … Front side detector sensor
    • back_side … Back side detector sensor
    • hole_or_gap … Hole or gap detector sensor

    - Note: When a blackmark_sensor is omitted, the value specified by StarWebPrintTrader constructor should be used.
    String-
    -

    - *1 The blackmark_sensor attribute is valid when ”black_mark" or ”black_mark_and_detect_at_power_on” is specified for the paper type attribute. -

    Return value

    @@ -500,7 +496,7 @@

    Return value

    --
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -520,25 +516,25 @@ 
    Example
    - +
    - +

    isCoverOpen

    - +

    Cover open is checked.

    - +

    syntax

    isCoverOpen(args);

    - +

    Parameter

    @@ -558,7 +554,7 @@

    Return value

    Cover status
    • true … Open
    • false … Close
    Boolean
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -584,25 +580,25 @@ 
    Example
    - +
    - +

    isOffLine

    - +

    Offline/Online is checked.

    - +

    syntax

    isOffLine(args);

    - +

    Parameter

    @@ -622,7 +618,7 @@

    Return value

    Offline/Online status
    • true … Offline
    • false … Online
    Boolean
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -648,25 +644,25 @@ 
    Example
    - +
    - +

    isCompulsionSwitchClose

    - +

    Compulsion switch close is checked.

    - +

    syntax

    isCompulsionSwitchClose(args);

    - +

    Parameter

    @@ -686,7 +682,7 @@

    Return value

    Compulsion switch
    • true … Close
    • false … open
    Boolean
    - +
    Example
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -712,25 +708,25 @@ 
    Example
    - +
    - +

    isEtbCommandExecute

    - +

    ETB command execute is checked.

    - +

    syntax

    isEtbCommandExecute(args);

    - +

    Parameter

    @@ -750,7 +746,7 @@

    Return value

    ETB command
    • true … Executed
    • false … Not executed
    Boolean
    - +
    Example
     // -->
    @@ -777,25 +773,25 @@ 
    Example
    - +
    - +

    isHighTemperatureStop

    - +

    High temperature stop is checked.

    - +

    syntax

    isHighTemperatureStop(args);

    - +

    Parameter

    @@ -815,7 +811,7 @@

    Return value

    Stopped by high head temperature
    • true … Yes
    • false … No
    Boolean
    - +
    Example
     // -->
    @@ -842,25 +838,25 @@ 
    Example
    - +
    - +

    isNonRecoverableError

    - +

    Non recoverable error is checked.

    - +

    syntax

    isNonRecoverableError(args);

    - +

    Parameter

    @@ -880,7 +876,7 @@

    Return value

    Non recoverable error
    • true … Yes
    • false … No
    Boolean
    - +
    Example
     // -->
    @@ -907,25 +903,25 @@ 
    Example
    - +
    - +

    isAutoCutterError

    - +

    Auto cutter error is checked.

    - +

    syntax

    isAutoCutterError(args);

    - +

    Parameter

    @@ -945,7 +941,7 @@

    Return value

    Auto cutter error
    • true … Yes
    • false … No
    Boolean
    - +
    Example
     // -->
    @@ -972,25 +968,25 @@ 
    Example
    - +
    - +

    isBlackMarkError

    - +

    Black mark error is checked.

    - +

    syntax

    isBlackMarkError(args);

    - +

    Parameter

    @@ -1010,7 +1006,7 @@

    Return value

    Black mark error
    • true … Yes
    • false … No
    Boolean
    - +
    Example
     // -->
    @@ -1037,25 +1033,25 @@ 
    Example
    - +
    - +

    isPaperEnd

    - +

    Paper end is checked.

    - +

    syntax

    isPaperEnd(args);

    - +

    Parameter

    @@ -1075,7 +1071,7 @@

    Return value

    Paper end
    • true … Yes
    • false … No
    Boolean
    - +
    Example
     // -->
    @@ -1102,25 +1098,25 @@ 
    Example
    - +
    - +

    isPaperNearEnd

    - +

    Paper near end is checked.

    - +

    syntax

    isPaperNearEnd(args);

    - +

    Parameter

    @@ -1140,7 +1136,7 @@

    Return value

    Paper near end
    • true … Yes
    • false … No
    Boolean
    - +
    Example
     // -->
    @@ -1167,25 +1163,25 @@ 
    Example
    - +
    - +

    extractionEtbCounter

    - +

    ETB counter is extracted.

    - +

    syntax

    extractionEtbCounter(args);

    - +

    Parameter

    @@ -1205,7 +1201,7 @@

    Return value

    ETB counterNumber
    - +
    Example
     // -->
    @@ -1230,25 +1226,25 @@ 
    Example
    - +
    - +

    onReceive

    - +

    Communication success event.

    - +

    syntax

    function(response);

    - +

    Parameter

    @@ -1306,11 +1302,11 @@

    Parameter

    responseTextResponseText property of XMLHttpRequest
    Note. Refer to the XMLHttpRequest specifications.
    String
    -

    - *1 This function has been supported in AsuraCPRNT Linux OS since version 1.7.
    -      Please refer to the specifications of AsuraCPRNT Develeper Site about each supported devices.
    - *2 When start up the "Line Display" Application which has been supported AsuraCPRNT Linux OS since version 1.7 on Asura, can be available. -

    +
    +

    *1 This function has been supported in AsuraCPRNT Linux OS since version 1.7.
    + Please refer to the specifications of AsuraCPRNT Develeper Site about each supported devices.

    +

    *2 When start up the "Line Display" Application which has been supported AsuraCPRNT Linux OS since version 1.7 on Asura, can be available.

    +
    Example
    @@ -1503,25 +1499,25 @@ 
    Example: Line Disaplay
    - +
    - +

    onError

    - +

    Communication error event.

    - +

    syntax

    function(response);

    - +

    Parameter

    @@ -1532,7 +1528,7 @@

    Parameter

    responseTextResponseText property of XMLHttpRequest
    Note. Refer to the XMLHttpRequest specifications.
    String
    - +
    Example
     // -->
    @@ -1591,5 +1587,7 @@ 
    Example
    +
    + diff --git a/UsersManual/en/_appendixUTF8.htm b/UsersManual/en/_appendixUTF8.htm index bf62c97..8f13ce2 100755 --- a/UsersManual/en/_appendixUTF8.htm +++ b/UsersManual/en/_appendixUTF8.htm @@ -2,35 +2,40 @@ + Star WebPRNT User's Manual - - - - + + + + + + - - + - + +
    +

    Star WebPRNT User's Manual

    @@ -44,7 +49,7 @@

    Star WebPRNT User's Manual

    - + @@ -228,6 +233,9 @@

    Star WebPRNT User's Manual

  • <number>
  • + @@ -240,7 +248,7 @@

    Star WebPRNT User's Manual

    Appendix UTF-8

    - +

    In StarWebPRNT, an situation of each model's support is followings.
    @@ -249,58 +257,58 @@

    Appendix UTF-8

    IFBD-HE07x / IFBD-BE07x(FVP10)

    - - + +
    - - - - - - + + + + + +
    Device NameFirmware VersionInterface
    UTF-8
    Japanese
    Shift-JIS
    Simplified
    Chinese
    GB2312
    Simplified
    Chinese
    GB18030
    Traditional
    Chinese
    Big5
    KoreanWestern characters *1
    FVP10Ver1.5 or laterVer3.2.0 or laterYesYesYes---
    TSP650IIVer1.2 or laterVer3.2.0 or laterYesYesYesYes--
    Ver3.0 or laterVer3.2.0 or laterYesYesYesYes-Yes
    TSP700IIVer4.1 or laterVer3.2.0 or laterYesYes-YesYes-
    TSP800IIVer1.6 or laterVer3.2.0 or laterYesYes----
    SP700Ver3.3 or laterVer3.2.0 or laterYes-YesYes--
    FVP10Ver1.5 or laterVer3.2.0 or later---
    TSP650IIVer1.2 or laterVer3.2.0 or later--
    Ver3.0 or laterVer3.2.0 or later-
    TSP700IIVer4.1 or laterVer3.2.0 or later--
    TSP800IIVer1.6 or laterVer3.2.0 or later----
    SP700Ver3.3 or laterVer3.2.0 or later---
    -

    +

    *1 The available characters are only those registered in the printer codepages.

    AsuraCPRNT

    - - + +
    - +
    Device NameLinux OS VersionFirmware Version
    UTF-8
    Japanese
    Shift-JIS
    Simplified
    Chinese
    GB2312
    Simplified
    Chinese
    GB18030
    Traditional
    Chinese
    Big5
    KoreanWestern characters *1
    AsuraCPRNTVer1.6 or laterVer1.2 or laterYesYes-YesYes-
    AsuraCPRNTVer1.6 or laterVer1.2 or later--
    -

    +

    *1 The available characters are only those registered in the printer codepages.

    Star WebPRNT Browser

    - - + +
    - - - - - - - + + + + + + +
    Device NameFirmware VersionUTF-8
    Japanese
    Shift-JIS
    Simplified
    Chinese
    GB2312
    Simplified
    Chinese
    GB18030
    Traditional
    Chinese
    Big5
    KoreanWestern characters *1
    FVP10Ver1.5 or laterYesYesYes---
    TSP650IIVer1.2 or laterYesYesYesYes--
    Ver3.0 or laterYesYesYesYes-Yes
    TSP700IIVer4.1 or laterYesYes-YesYes-
    TSP800IIVer1.6 or laterYesYes----
    mPOPVer1.0 or laterYesYes---Yes
    Ver1.2 or laterYesYesYesYes-Yes
    FVP10Ver1.5 or later---
    TSP650IIVer1.2 or later--
    Ver3.0 or later-
    TSP700IIVer4.1 or later--
    TSP800IIVer1.6 or later----
    mPOPVer1.0 or later---
    Ver1.2 or later-
    -

    +

    *1 The available characters are only those registered in the printer codepages.

    @@ -323,5 +331,7 @@

    Star WebPRNT Browser

    +
    + diff --git a/UsersManual/en/_infoToUse.htm b/UsersManual/en/_infoToUse.htm index 65e70cf..0113d89 100755 --- a/UsersManual/en/_infoToUse.htm +++ b/UsersManual/en/_infoToUse.htm @@ -2,18 +2,19 @@ + Star WebPRNT User's Manual - - - - - - + + + + + + - - +
    @@ -44,7 +44,7 @@

    Star WebPRNT User's Manual

    - + @@ -228,6 +228,9 @@

    Star WebPRNT User's Manual

  • <number>
  • + @@ -240,20 +243,21 @@

    Star WebPRNT User's Manual

    - +

    Instructions for Using Star WebPRNT Browser

    - When web-programming to control Star printers using Star WebPRNT Browser, the web contents are required to take countermeasures against the following cases. + When web-programming to control Star printers using Star WebPRNT Browser, the web contents are required to take countermeasures against the following cases.

    -

    Case1)
    +

    Case1)

    +

    If the print button is pressed before all contents to be printed have been displayed completely, the printer prints the contents as displayed at that time.

    - +
    Example of countermeasures

    Contents should be hidden by default and be displayed by window.onLoad function after all contents finish loading.

    @@ -264,46 +268,93 @@

    Instructions for Using Star WebPRNT Browser

  • Add a function to set (2) to be hidden and (1) to be displayed by window.onLoad.
  • - +
    - - + + - +
    -

    Case2)
    +

    Case2)

    +

    If a print button is pressed repeatedly, Star WebPRNT browser may be forcibly terminated.

    - +
    Example of countermeasures
    -

    At the same time that SendMessage() function is called, the HTML layer displaying 「Now Printing...」 is superposed on the top layer to make the whole page unclickable and prevent double-pressing of a print button.

    +

    At the same time that SendMessage() function is called, the HTML layer displaying "Now Printing..." is superposed on the top layer to make the whole page unclickable and prevent double-pressing of a print button.

      -
    1. Add a function to display the HTML layer on the top layer of contents which have a print button and hide it after 3 seconds*.
    2. -
    3. Add the function call of (1) at the beginning of SendMessage() function.
    4. +
    5. Add a function to display the HTML layer on the top layer of contents which have a print button.
    6. +
    7. Add the function call of (1.) at the beginning of SendMessage() function.
    8. +
    9. Add the function call to set (1.) to be hidden at the beginning of onReceive() function and onError() function.
    -
    - *Please adjust the diplay time of the HTML layer according to your use environment.
    + +
    +  to Top +
    + +
    +

    Case3)

    +

    + In iOS 10, in rare cases, an error may occur during printing, and printing may not be possible after that.

    +

    + On the setting display of iOS, "Connected" is displayed , but printer is not displayed in the device information which is led by [General] - [About]

    +
    + +
    +
    Restoration Method
    +

    Release Bluetooth connection by the function of iOS setting display and connect again.

    +

    Or turn the printer power off, and then on.

    +
    - - +
    +

    Case4)

    +

    + When the SM-S/SM-T series mobile printer is used on StarPRNT emulation mode with Star WebPRNT browser for iOS, + once the data transmission is interrupted due to timeout during bulk data transmission or radio wave condition, the printer cannot print after that.

    +

    The iOS setting display shows “Connected”, however, this device information is not available from “General”-“Information”.

    +
    + +
    +
    Restoration Method
    +

    Release Bluetooth connection by the function of iOS setting display and connect again.

    +

    Or turn the printer power off, and then on.

    + +
    + +
    +  to Top +
    + +
    +

    Caution 1)

    +

    + Do not move the Star WebPRNT Browser to the background (by pressing the home button) during printing. + The printer sometimes stops printing or cannot receive a print result response.

    +
    + +
    +  to Top +
    + +
    - - + + + -
    @@ -314,6 +365,7 @@

    Instructions for Using Star WebPRNT Browser

    +
    diff --git a/UsersManual/en/_number_logo_table.htm b/UsersManual/en/_number_logo_table.htm index 32da197..4db555f 100755 --- a/UsersManual/en/_number_logo_table.htm +++ b/UsersManual/en/_number_logo_table.htm @@ -2,40 +2,44 @@ + Star WebPRNT User's Manual - - - - + + + + + + - - + + +
    +
    +
    -
    +

    Correspondence Table of Numbers and Registered Logos at StarPRNT Mode

    -

    Correspondence Table of Numbers and Registered Logos at StarPRNT Mode

    -

    kc1 and kc2 in the table stand for key codes of registered logos (NV graphic data).
    <SP> in the table stands for a space (20H in hexadecimal).

    - +
    @@ -1442,12 +1446,12 @@

    Correspondence Table of Numbers and Registered Logos at StarPRNT Mode

    - - + +
          - + @@ -2876,6 +2880,7 @@

    Correspondence Table of Numbers and Registered Logos at StarPRNT Mode

    + @@ -2885,5 +2890,7 @@

    Correspondence Table of Numbers and Registered Logos at StarPRNT Mode

    + + diff --git a/UsersManual/en/_sampleProgram.htm b/UsersManual/en/_sampleProgram.htm index af041b7..3380018 100755 --- a/UsersManual/en/_sampleProgram.htm +++ b/UsersManual/en/_sampleProgram.htm @@ -2,29 +2,30 @@ + Star WebPRNT User's Manual - - - - - - + + + + + + - - + + +
    +

    Star WebPRNT User's Manual

    @@ -203,7 +206,7 @@

    Star WebPRNT User's Manual

    - + @@ -386,6 +389,9 @@

    Star WebPRNT User's Manual

  • <data>
  • <number>
  • + @@ -420,9 +426,9 @@

    Example of system configuration

    Star Printer and AsuraCPRNT with WebPRNT

    * When you put your mouse cursor on the following sentences (each step), the illustration changes and shows detailed information.

    - + - + - +
     

    AsuraCPRNT

    * When you put your mouse cursor on the following sentences (each step), the illustration changes and shows detailed information.

    - + - +
    1. Prepare the AsuraCPRNT with WebPRNT(Web server)(A) and an input device to display a web browser(B), and enable them to communicate each other.
    2. @@ -456,9 +462,9 @@

      AsuraCPRNT

      AsuraCPRNT with Peripheral

      * When you put your mouse cursor on the following sentences (each step), the illustration changes and shows detailed information.

      - + - + - +

      Sample Program List

      @@ -531,21 +537,21 @@

      JavaScript File

    numberkc1kc2

    - *The JavaScript files are the library files for embedding WebPRNT functions provided. Don't modify them, and they can be loaded from the HTML file. + * The JavaScript files are the library files for embedding WebPRNT functions provided. Don't modify them, and they can be loaded from the HTML file.


    - +

    Web Server Registration

    - +

    Copy all sample program files for the Public folder according to the Web server operating manual.

    - - + +

    How to use

    @@ -556,15 +562,15 @@

    How to use

    Star HE07x/08x Interface Printer and AsuraCPRNT

    - +
    1. Open CompariosReceiptDesign.html on your server and check if the JavaScript/Canvas works properly with your browser.
      ComparisonReceiptDesign error screen

      - *If the message "Your browser does not support JavaScript!" appears on your browser, check the JavaScript setting and make it valid.

      + * If the message "Your browser does not support JavaScript!" appears on your browser, check the JavaScript setting and make it valid.

      - *If the message "Your browser does not support Canvas!" appears on your application, + * If the message "Your browser does not support Canvas!" appears on your application, change (or upgrade) your browser to one which supports Canvas function.

    2. Edit the StarWebPRNT end point URL in accordance with the IP address of the printer.
      @@ -577,9 +583,9 @@

      Star HE07x/08x Interface Printer and AsuraCPRNT

      - +

      Star WebPRNT Browser + Star Bluetooth Printer

      - +
      1. Install the "Star WebPRNT Browser" from AppStore.
        @@ -594,14 +600,14 @@

        Star WebPRNT Browser + Star Bluetooth Printer

      2. Open the Star WebPRNT Browser and try printing.
        ComparisonReceiptSesign
      -
      +
    - +

    Star WebPRNT Browser + Star Bluetooth Printer (Android)

    - +
    1. Install the "Star WebPRNT Browser" from Play Store.
      @@ -633,12 +639,12 @@

      Star WebPRNT Browser + Star Bluetooth Printer (A
      ComparisonReceiptSesign setting screen

    -
    + - + @@ -656,6 +662,7 @@

    Star WebPRNT Browser + Star Bluetooth Printer (A + diff --git a/UsersManual/en/index.htm b/UsersManual/en/index.htm index bc2390f..d52d363 100755 --- a/UsersManual/en/index.htm +++ b/UsersManual/en/index.htm @@ -2,18 +2,19 @@ + Star WebPRNT User's Manual - - - - - - - + + + + + + + @@ -24,13 +25,15 @@ }); }); - - + + +
    +

    Star WebPRNT User's Manual

    @@ -44,7 +47,7 @@
    Contents
    - + @@ -228,6 +231,9 @@
    Contents
  • <number>
  • + @@ -238,7 +244,7 @@
    Contents
    - +

    @@ -251,18 +257,18 @@

    Contents
    This document provides information about the StarWebPRNT.
    It provides guidelines for our customers to build the printing application.

    - +
    Information for use

    When web-programming to control Star printers using Star WebPRNT Browser, there are some points which require your attention.
    Please see the following link for details.

    - +
    - +
    @@ -277,6 +283,8 @@
    Contents
    +
    + diff --git a/UsersManual/en/webPRNThelp_scripts.js b/UsersManual/en/webPRNThelp_scripts.js deleted file mode 100755 index 173bc51..0000000 --- a/UsersManual/en/webPRNThelp_scripts.js +++ /dev/null @@ -1,6 +0,0 @@ -$(function(){ - $('#toTop').hide(); - - - -}); diff --git a/UsersManual/ja/_StarBarcodeEncoder-js.htm b/UsersManual/ja/_StarBarcodeEncoder-js.htm index 8924fef..c416f4d 100755 --- a/UsersManual/ja/_StarBarcodeEncoder-js.htm +++ b/UsersManual/ja/_StarBarcodeEncoder-js.htm @@ -2,35 +2,40 @@ + Star WebPRNT ユーザーズマニュアル - - - - + + + + + + - + - + +
    +

    Star WebPRNT User's Manual

    @@ -44,7 +49,7 @@

    Star WebPRNT User's Manual

    - + @@ -228,6 +233,9 @@

    Star WebPRNT User's Manual

  • <number>
  • + @@ -239,13 +247,13 @@

    Star WebPRNT User's Manual

    StarBarcodeEncoder.js

    - +

    HTML5 Canvas 2Dコンテキストへのバーコード描画を補うバーコードモジュール列を生成します。

    - +

    コンストラクタ

    @@ -255,7 +263,7 @@

    コンストラクタ

    StarBarcodeEncoderStarBarcodeEncoderオブジェクトを生成します。
    - +

    メソッド

    @@ -294,7 +302,7 @@
    POSプリンター・AsuraCPRNT

    - +
    モバイルプリンター(ESC/POS)
    @@ -313,22 +321,22 @@
    モバイルプリンター(ESC/POS)

    - +
    モバイルプリンター(StarPRNT)
    - + - - - - - - - - - + + + + + + + + +
    名称SM-S210iSM-S220i
    (Jpモデル以外)
    SM-S230iSM-T300iSM-T400iSM-L200
    名称SM-S210iSM-S220i
    (Jpモデル以外)
    SM-S230iSM-T300iSM-T400iSM-L200SM-L300
    createUPCE
    createUPCA
    createJAN8
    createJAN13
    createCode39
    createITF
    createCode128
    createCode93
    createNW7
    createUPCE
    createUPCA
    createJAN8
    createJAN13
    createCode39
    createITF
    createCode128
    createCode93
    createNW7
    @@ -339,24 +347,24 @@
    モバイルプリンター(StarPRNT)
    - +

    StarBarcodeEncoder

    - +

    StarBarcodeEncoderオブジェクトを生成します。

    - +

    構文

    StarBarcodeEncoder();

    - +

    名前付き引数

    @@ -394,24 +402,24 @@
    - +

    createUPCE

    - +

    UPCEバーコードモジュールを生成します。

    - +

    構文

    createUPCE(args);

    - +

    名前付き引数

    @@ -450,24 +458,24 @@
    - +

    createUPCA

    - +

    UPCAバーコードモジュールを生成します。

    - +

    構文

    createUPCA(args);

    - +

    名前付き引数

    @@ -506,24 +514,24 @@
    - +

    createJAN8

    - +

    JAN/EAN8バーコードを生成します。

    - +

    構文

    createJAN8(args);

    - +

    名前付き引数

    @@ -562,24 +570,24 @@
    - +

    createJAN13

    - +

    JAN/EAN13バーコードを生成します。

    - +

    構文

    createJAN13(args);

    - +

    名前付き引数

    @@ -618,24 +626,24 @@
    - +

    createCode39

    - +

    Code39バーコードを生成します。

    - +

    構文

    createCode39(args);

    - +

    名前付き引数

    @@ -676,24 +684,24 @@
    - +

    createITF

    - +

    ITFバーコードを生成します。

    - +

    構文

    createITF(args);

    - +

    名前付き引数

    @@ -734,24 +742,24 @@
    - +

    createCode128

    - +

    Code128バーコードを生成します。

    - +

    構文

    createCode128(args);

    - +

    名前付き引数

    @@ -790,24 +798,24 @@
    - +

    createCode93

    - +

    Code93バーコードを生成します。

    - +

    構文

    createCode93(args);

    - +

    名前付き引数

    @@ -846,24 +854,24 @@
    - +

    createNW7

    - +

    NW7バーコードを生成します。

    - +

    構文

    createNW7(args);

    - +

    名前付き引数

    @@ -916,5 +924,7 @@
    + + diff --git a/UsersManual/ja/_StarClaimManager-js.htm b/UsersManual/ja/_StarClaimManager-js.htm index de074dd..d8919ab 100755 --- a/UsersManual/ja/_StarClaimManager-js.htm +++ b/UsersManual/ja/_StarClaimManager-js.htm @@ -2,35 +2,39 @@ + Star WebPRNT ユーザーズマニュアル - - - - + + + + + + - + - - + +
    +

    Star WebPRNT User's Manual

    @@ -44,7 +48,7 @@

    Star WebPRNT User's Manual

    - + @@ -228,6 +232,9 @@

    Star WebPRNT User's Manual

  • <number>
  • + @@ -236,9 +243,9 @@

    Star WebPRNT User's Manual

    -
    +

    StarClaimManager.js

    - +

    バーコードリーダや磁気リーダまたはラインディスプレイに関するClaim管理を、StarWebPRNT送信エレメント列、StarWebPRNT受信エレメント列を通して行います。 @@ -246,7 +253,7 @@

    StarClaimManager.js

    またStarWebPrintTraderオブジェクトを利用して、Claim管理情報を含むStarWebPRNT送信エレメント列を送信したり、受信したStarWebPRNT受信エレメント列から状態を確認します。

    - +

    コンストラクタ

    @@ -257,7 +264,7 @@

    コンストラクタ

    StarClaimManagerStarClaimManagerオブジェクトを生成します。
    - +

    メソッド

    @@ -281,16 +288,14 @@

    メソッド

    removeLDEventListenerラインディスプレイデバイスに関するコールバック関数を消去します。
    -

    - (*1) 初回のclaim='true'を含む送信エレメント列送信後に、Claimの開始が成功した場合(*2)に
    -        開始される現在使用しているブラウザがデバイスのClaim状態を保持するためのポーリング。
    -        また、claim='false'を含む送信エレメント列の送信後に、Claimの終了が成功した場合(*3)
    -        ポーリングは終了する。尚、StarClaimManager.jsのsendMessageにより自動的にポーリングは行われます
    - (*2) Claim開始成功時に受け取る受信エレメント列に含まれる文字列
    -        "<bcr><claim>true</claim></bcr>"
    - (*3) Claim終了成功時に受け取る受信エレメント列に含まれる文字列
    -        "<bcr><claim>false</claim></bcr>"
    -

    +
    +

    (*1) 初回のclaim='true'を含む送信エレメント列送信後に、Claimの開始が成功した場合(*2)に開始される現在使用しているブラウザがデバイスのClaim状態を保持するためのポーリング。
    + また、claim='false'を含む送信エレメント列の送信後に、Claimの終了が成功した場合(*3)ポーリングは終了する。なお、StarClaimManager.jsのsendMessageによりポーリングは自動的に行われます。

    +

    (*2) Claim開始成功時に受け取る受信エレメント列に含まれる文字列
    + "<bcr><claim>true</claim></bcr>"

    +

    (*3) Claim終了成功時に受け取る受信エレメント列に含まれる文字列
    + "<bcr><claim>false</claim></bcr>"

    +

    機種別対応リスト

    @@ -317,11 +322,11 @@
    POSプリンター・AsuraCPRNT

    -

    - *1 AsuraCPRNT Linux OS Ver 1.7以降のみ対応
    -      また、各デバイスの対応状況はAsuraCPRNTデベロッパーサイトの仕様書をご確認ください
    - *2 AsuraCPRNT Linux OS Ver 1.7以降に搭載の"Line Display"アプリケーション起動時利用可 -

    +
    +

    *1 AsuraCPRNT Linux OS Ver 1.7以降のみ対応
    + また、各デバイスの対応状況はAsuraCPRNTデベロッパーサイトの仕様書をご確認ください

    +

    *2 AsuraCPRNT Linux OS Ver 1.7以降に搭載の"Line Display"アプリケーション起動時利用可

    +
    モバイルプリンター(ESC/POS)
    @@ -351,49 +356,49 @@
    モバイルプリンター(ESC/POS)
    モバイルプリンター(StarPRNT)
    - + - - - - - - - - - - - - - - + + + + + + + + + + + + + +
    名称SM-S210iSM-S220i
    (Jpモデル以外)
    SM-S230iSM-T300iSM-T400iSM-L200
    名称SM-S210iSM-S220i
    (Jpモデル以外)
    SM-S230iSM-T300iSM-T400iSM-L200SM-L300
    sendMessage------
    isBCRClaimed------
    isMSRClaimed------
    isLDClaimed------
    getBCRDeviceNameCapability------
    getBCRModeCapability------
    getBCRSymbolCapability------
    setPollingInterval------
    setBCREventListener------
    setMSREventListener------
    setLDEventListener------
    removeBCREventListener------
    removeMSREventListener------
    removeLDEventListener------
    sendMessage-------
    isBCRClaimed-------
    isMSRClaimed-------
    isLDClaimed-------
    getBCRDeviceNameCapability-------
    getBCRModeCapability-------
    getBCRSymbolCapability-------
    setPollingInterval-------
    setBCREventListener-------
    setMSREventListener-------
    setLDEventListener-------
    removeBCREventListener-------
    removeMSREventListener-------
    removeLDEventListener-------
    - +
    - +

    StarClaimManager

    - +

    StarClaimManagerオブジェクトを生成します。

    - +

    構文

    StarClaimManager(args);

    - +

    名前付き引数

    @@ -423,7 +428,7 @@
    var manager = new StarClaimManager(); function onSend(url, request) { - var trader = new StarWebPrintTrader({url:url}); + var trader = new StarWebPrintTrader({url:url}); manager.sendMessage({request:request, trader:trader}); } @@ -436,24 +441,24 @@
    - +
    - +

    sendMessage

    - +

    Claim管理用の設定追加及び、それを含むStarWebPRNT送信エレメント列を送信します。

    - +

    構文

    sendMessage(args);

    - +

    名前付き引数

    @@ -474,7 +479,7 @@

    戻り値

    --
    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -484,7 +489,7 @@ 
    var manager = new StarClaimManager(); function onSend(url, request) { - var trader = new StarWebPrintTrader({url:url}); + var trader = new StarWebPrintTrader({url:url}); manager.sendMessage({request:request, trader:trader}); } @@ -496,24 +501,24 @@
    - +
    - +

    isBCRClaimed

    - +

    バーコードリーダーデバイスのClaim状態を確認します。

    - +

    構文

    isBCRClaimed();

    - +

    名前付き引数

    @@ -533,7 +538,7 @@

    戻り値

    Claim状態
    • true … Claim開始状態
    • false … Claim終了状態
    Boolean
    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -557,24 +562,24 @@ 
    - +
    - +

    isMSRClaimed

    - +

    磁気リーダーデバイスのClaim状態を確認します。

    - +

    構文

    isMSRClaimed();

    - +

    名前付き引数

    @@ -594,7 +599,7 @@

    戻り値

    Claim状態
    • true … Claim開始状態
    • false … Claim終了状態
    Boolean
    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -618,24 +623,24 @@ 
    - +
    - +

    isLDClaimed

    - +

    ラインディスプレイデバイスのClaim状態を確認します。

    - +

    構文

    isLDClaimed();

    - +

    名前付き引数

    @@ -655,7 +660,7 @@

    戻り値

    Claim状態
    • true … Claim開始状態
    • false … Claim終了状態
    Boolean
    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -679,24 +684,24 @@ 
    - +
    - +

    getBCRDeviceNameCapability

    - +

    バーコードリーダーデバイス名を確認します。

    - +

    構文

    getBCRDeviceNameCapability();

    - +

    名前付き引数

    @@ -716,7 +721,7 @@

    戻り値

    バーコードリーダーデバイス名String
    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -743,24 +748,24 @@ 
    - +
    - +

    getBCRModeCapability

    - +

    バーコードリーダーデバイスの対応スキャンモードを確認します。

    - +

    構文

    getBCRModeCapability();

    - +

    名前付き引数

    @@ -780,7 +785,7 @@

    戻り値

    スキャンモードの対応状況リスト
    ※戻り値は下記のプロパティを持つオブジェクト
    [プロパティ]
    • OFF … スキャンオフ
    • SCAN_ONCE … 1回読取モード
    • AUTO … 連続読取モード(照準有り)
    • CONTINUOUS … 連続読取モード(照準無し)
    • MOBILE_PHONE … 液晶画面用1回読取モード
    • MOBILE_CONTINUOUS … 液晶画面用連続読取モード
    [プロパティの値 (Boolean)]
    • true … 対応
    • false … 非対応
    Object
    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -796,7 +801,7 @@ 
    var bcrModeCapability = manager.getBCRModeCapability(); msg += ('BCRModeCapability : \n'); - + for (key in bcrModeCapability) { msg += (' ' + key + ' - ' + bcrModeCapability[key] + '\n'); } @@ -813,24 +818,24 @@
    - +
    - +

    getBCRSymbolCapability

    - +

    バーコードリーダーデバイスの対応バーコードシンボルを確認します。

    - +

    構文

    getBCRSymbolCapability();

    - +

    名前付き引数

    @@ -850,7 +855,7 @@

    戻り値

    バーコードシンボルの対応状況リスト
    ※戻り値は下記のプロパティを持つオブジェクト
    [プロパティ]
    • AUSTRALIAN_POST
    • AZTEC_CODE
    • BRITISH_POST
    • CANADIAN_POST
    • CHINA_POST
    • CHINESE_SENSIBLE_CODE
    • CODABAR
    • CODABLOCK_A
    • CODABLOCK_F
    • CODE_11
    • CODE_128
    • CODE_32
    • CODE_39
    • CODE_49
    • CODE_93
    • DATA_MATRIX
    • EAN_13
    • EAN_8
    • INFOMAIL
    • INTELLIGENT_MAIL_BARCODE
    • INTERLEAVED_2_OF_5
    • JAPANESE_POST
    • KIX_POST
    • KOREA_POST
    • MATRIX_2_OF_5
    • MAXICODE
    • MICROPDF417
    • MSI
    • NEC_2_OF_5
    • PDF417
    • PLANET_CODE
    • POSTAL_4I
    • POSTNET
    • QR_CODE
    • STRAIGHT_2_OF_5_IATA
    • STRAIGHT_2_OF_5_INDUSTRIAL
    • TLC39
    • TELEPEN
    • UPC_A
    • UPC_E
    • GS1_128
    • GS1_COMPOSIT
    • GS1_DATABAR
    [プロパティの値 (Boolean)]
    • true … 対応
    • false … 非対応
    Object
    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -864,7 +869,7 @@ 
    if (manager.isBCRClaimed() == true) { var bcrSymbolCapability = manager.getBCRSymbolCapability(); - + msg += ('BCRSymbolCapability : \n'); for (key in bcrSymbolCapability) { @@ -883,24 +888,24 @@
    - +
    - +

    setPollingInterval

    - +

    Claim管理用ポーリングの送信インターバル時間を設定します。

    - +

    構文

    setPollingInterval(milliseconds);

    - +

    引数

    @@ -920,7 +925,7 @@

    戻り値

    --
    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -938,24 +943,24 @@ 
    - +
    - +

    setBCREventListener

    - +

    バーコードリーダーデバイスに関するコールバック関数を設定します。

    - +

    構文

    setBCREventListener(eventName, javaScriptFunction);

    - +

    引数

    @@ -984,7 +989,7 @@

    戻り値

    --
    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1013,24 +1018,24 @@ 
    - +
    - +

    setMSREventListener

    - +

    磁気リーダーデバイスに関するコールバック関数を設定します。

    - +

    構文

    setMSREventListener(eventName, javaScriptFunction);

    - +

    引数

    @@ -1059,7 +1064,7 @@

    戻り値

    --
    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1088,24 +1093,24 @@ 
    - +
    - +

    setLDEventListener

    - +

    ラインディスプレイデバイスに関するコールバック関数を設定します。

    - +

    構文

    setLDEventListener(eventName, javaScriptFunction);

    - +

    引数

    @@ -1135,7 +1140,7 @@

    戻り値

    --
    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1167,24 +1172,24 @@ 
    - +
    - +

    removeBCREventListener

    - +

    バーコードリーダーデバイスに関するコールバック関数を消去します。

    - +

    構文

    removeBCREventListener(eventName);

    - +

    引数

    @@ -1204,7 +1209,7 @@

    戻り値

    --
    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1226,22 +1231,22 @@ 
    - +

    removeMSREventListener

    - +

    磁気リーダーデバイスに関するコールバック関数を消去します。

    - +

    構文

    removeMSREventListener(eventName);

    - +

    引数

    @@ -1261,7 +1266,7 @@

    戻り値

    --
    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1283,22 +1288,22 @@ 
    - +

    removeLDEventListener

    - +

    ラインディスプレイデバイスに関するコールバック関数を消去します。

    - +

    構文

    removeLDEventListener(eventName);

    - +

    引数

    @@ -1318,7 +1323,7 @@

    戻り値

    --
    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1338,7 +1343,7 @@ 
    +
    @@ -1350,5 +1355,8 @@
    +
    + + diff --git a/UsersManual/ja/_StarWebPRNTExtManagerRequestElement.htm b/UsersManual/ja/_StarWebPRNTExtManagerRequestElement.htm index d7950cd..73dd28c 100755 --- a/UsersManual/ja/_StarWebPRNTExtManagerRequestElement.htm +++ b/UsersManual/ja/_StarWebPRNTExtManagerRequestElement.htm @@ -2,35 +2,39 @@ + Star WebPRNT ユーザーズマニュアル - - - - + + + + + + - + - - + +
    +

    Star WebPRNT User's Manual

    @@ -44,7 +48,7 @@

    Star WebPRNT User's Manual

    - + @@ -228,6 +232,9 @@

    Star WebPRNT User's Manual

  • <number>
  • + @@ -244,18 +251,18 @@

    StarWebPRNTExtManager送信エレメント


    - - + +
    - +
    名称説明WebPRNT
    Browser
    WebPRNT対応
    Star
    プリンター
    AsuraCPRNT
    名称説明WebPRNT
    Browser
    WebPRNT
    対応
    Star
    プリンター
    AsuraCPRNT
    <root>ルートエレメント○*1--
    <extmanager>StarWebPRNTExtManagerエレメント○*1--
    -

    - *1 iOS版のWebPRNT Browserをご使用の場合、SM-L200には対応しておりません。

    +

    + *1 iOS版のWebPRNT Browserをご使用の場合、SM-L200、SM-L300には対応していません。

    @@ -263,18 +270,18 @@

    StarWebPRNTExtManager送信エレメント

    - +

    <root>

    - +

    ルートエレメント

    - +

    属性

    @@ -284,11 +291,7 @@

    属性

    ---
    - +

    @@ -315,13 +318,13 @@

    <extmanager>

    - +

    StarWebPRNTExtManagerエレメント

    - +

    属性

    @@ -334,8 +337,8 @@

    属性

    claimidclaim管理用ID省略不可 *1
    -

    - *1 request_typeがclaimの場合のみ、省略可能
    +

    + *1 request_typeがclaimの場合のみ省略可能

    @@ -374,5 +377,7 @@
    +
    + diff --git a/UsersManual/ja/_StarWebPRNTExtManagerResponseElement.htm b/UsersManual/ja/_StarWebPRNTExtManagerResponseElement.htm index 8322adc..ceb02ce 100755 --- a/UsersManual/ja/_StarWebPRNTExtManagerResponseElement.htm +++ b/UsersManual/ja/_StarWebPRNTExtManagerResponseElement.htm @@ -2,35 +2,40 @@ + Star WebPRNT ユーザーズマニュアル - - - - + + + + + + - + - + +
    +

    Star WebPRNT User's Manual

    @@ -44,7 +49,7 @@

    Star WebPRNT User's Manual

    - + @@ -228,6 +233,9 @@

    Star WebPRNT User's Manual

  • <number>
  • + @@ -239,12 +247,12 @@

    Star WebPRNT User's Manual

    StarWebPRNTExtManager受信エレメント

    - +

    - - + +
    @@ -261,16 +269,16 @@

    StarWebPRNTExtManager受信エレメント

    名称説明WebPRNT
    Browser
    WebPRNT対応
    Star
    プリンター
    AsuraCPRNT
    <number>StarWebPRNTExtManagerのイベント発生順エレメント○*1--
    -

    - *1 iOS版のWebPRNT Browserをご使用の場合、SM-L200には対応しておりません。

    - +

    + *1 iOS版のWebPRNT Browserをご使用の場合、SM-L200、SM-L300には対応しておりません。

    +
    - +
    @@ -315,11 +323,11 @@
    - + - +

    <success>

    @@ -346,7 +354,7 @@

    説明 - 通信結果
    • true … 通信成功
    • false … 通信失敗
    + プリンターとの通信結果
    • true … 通信成功
    • false … 通信失敗
    @@ -363,11 +371,11 @@
    - + - +

    <code>

    @@ -413,11 +421,11 @@
    - + - +

    <claim>

    @@ -444,7 +452,7 @@

    説明 - claim状態
    • true … claim成功
    • false … claim失敗
    + claim状態
    • true … claim取得状態
    • false … claim未取得状態
    @@ -562,7 +570,7 @@
    - + @@ -614,7 +622,7 @@
    - + @@ -687,7 +695,7 @@
    - + @@ -740,7 +748,7 @@
    - + @@ -793,7 +801,7 @@
    - + @@ -809,5 +817,7 @@
    +
    + diff --git a/UsersManual/ja/_StarWebPrintBuilder-js.htm b/UsersManual/ja/_StarWebPrintBuilder-js.htm index 6c15a72..6333f54 100755 --- a/UsersManual/ja/_StarWebPrintBuilder-js.htm +++ b/UsersManual/ja/_StarWebPrintBuilder-js.htm @@ -2,35 +2,39 @@ + Star WebPRNT ユーザーズマニュアル - - - - + + + + + + - + - - + +
    +

    Star WebPRNT User's Manual

    @@ -44,7 +48,7 @@

    Star WebPRNT User's Manual

    - + @@ -228,6 +232,9 @@

    Star WebPRNT User's Manual

  • <number>
  • + @@ -236,15 +243,15 @@

    Star WebPRNT User's Manual

    -
    +

    StarWebPrintBuilder.js

    - +

    StarWebPRNT送信エレメントを生成します。

    - +

    コンストラクタ

    @@ -255,7 +262,7 @@

    コンストラクタ

    StarWebPrintBuilderStarWebPrintBuilderオブジェクトを生成します。
    - +

    メソッド

    @@ -309,14 +316,14 @@
    POSプリンター・AsuraCPRNT
    createLineDisplayElement*4 *5-----
    -

    - *1 Bluetoothプリンターはコマンドの初期化のみ実施
    - *2 国際文字が日本モデルは日本固定、韓国モデルは韓国固定
    - *3 ロゴ登録手段が用意されていないため対応していません
    - *4 AsuraCPRNT Linux OS Ver 1.7以降のみ対応
    -      また、各デバイスの対応状況はAsuraCPRNTデベロッパーサイトの仕様書をご確認ください
    - *5 AsuraCPRNT Linux OS Ver 1.7以降に搭載の"Line Display"アプリケーション起動時利用可 -

    +
    +

    *1 Bluetoothプリンターはコマンドの初期化のみ実施

    +

    *2 国際文字が日本モデルは日本固定、韓国モデルは韓国固定

    +

    *3 ロゴ登録手段が用意されていないため対応していません

    +

    *4 AsuraCPRNT Linux OS Ver 1.7以降のみ対応
    +  各デバイスの対応状況はAsuraCPRNTデベロッパーサイトの仕様書をご確認ください

    +

    *5 AsuraCPRNT Linux OS Ver 1.7以降に搭載の"Line Display"アプリケーション起動時利用可

    +
    モバイルプリンター (ESC/POS)
    @@ -333,65 +340,67 @@
    モバイルプリンター (ESC/POS)
    createInitializationElement*3○○○○○ createLogoElement*4○○○○○ createPdf417Element*5○○○○○ - createPeripheralElement*2----- - createQrCodeElement*6○○○○○ + createPeripheralElement*6----- + createQrCodeElement*7○○○○○ createRawDataElement○○○○○ createRuledLineElement○○○○○ - createSoundElement*2----- + createSoundElement*6----- createTextElement○○○○○ - createBarcodeReaderElement*7----- - createMagstripeReaderElement*7----- - createLineDisplayElement*7 *8----- + createBarcodeReaderElement*8----- + createMagstripeReaderElement*8----- + createLineDisplayElement*8 *9----- -

    - *1 テキストデータのみ有効
    - *2 コマンド未生成
    - *3 コマンドの初期化のみ実施
    - *4 ロゴ番号1~255を指定した時に、0~254番のロゴを印字
    - *5 lineパラメータ無効
    - *6 modelパラメータ無効
    - *7 AsuraCPRNT Linux OS Ver 1.7以降のみ対応
    -      また、各デバイスの対応状況はAsuraCPRNTデベロッパーサイトの仕様書をご確認ください
    - *8 AsuraCPRNT Linux OS Ver 1.7以降に搭載の"Line Display"アプリケーション起動時利用可 -

    +
    +

    *1 テキストデータのみ有効

    +

    *2 用紙カットを行わない

    +

    *3 コマンドの初期化のみ実施

    +

    *4 ロゴ番号1~255を指定した時に、0~254番のロゴを印字

    +

    *5 lineパラメータ無効

    +

    *6 コマンド未生成

    +

    *7 modelパラメータ無効

    +

    *8 AsuraCPRNT Linux OS Ver 1.7以降のみ対応
    + 各デバイスの対応状況はAsuraCPRNTデベロッパーサイトの仕様書をご確認ください。

    +

    *9 AsuraCPRNT Linux OS Ver 1.7以降に搭載の"Line Display"アプリケーション起動時利用

    +
    モバイルプリンター (StarPRNT)
    - + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + +
    名称SM-S210iSM-S220i
    (Jpモデル以外)
    SM-S230iSM-T300iSM-T400iSM-L200
    名称SM-S210iSM-S220i
    (Jpモデル以外)
    SM-S230iSM-T300iSM-T400iSM-L200SM-L300
    createAlignmentElement*1
    createBarcodeElement
    createBitImageElement
    createCutPaperElement*2------
    createFeedElement
    createInitializationElement*3
    createLogoElement*4
    createPdf417Element*5
    createPeripheralElement*2------
    createQrCodeElement*6
    createRawDataElement
    createRuledLineElement
    createSoundElement*2------
    createTextElement
    createBarcodeReaderElement*7------
    createMagstripeReaderElement*7------
    createLineDisplayElement*7 *8------
    createAlignmentElement*1
    createBarcodeElement
    createBitImageElement
    createCutPaperElement*2-------
    createFeedElement
    createInitializationElement*3
    createLogoElement*4
    createPdf417Element*5
    createPeripheralElement*6-------
    createQrCodeElement*7
    createRawDataElement
    createRuledLineElement
    createSoundElement*6-------
    createTextElement
    createBarcodeReaderElement*8-------
    createMagstripeReaderElement*8-------
    createLineDisplayElement*8 *9-------
    -

    - *1 テキストデータのみ有効
    - *2 コマンド未生成
    - *3 コマンドの初期化のみ実施
    - *4 ロゴ番号と印字ロゴの対応表はこちらをご参照ください。
    - *5 lineパラメータ無効
    - *6 modelパラメータ無効
    - *7 AsuraCPRNT Linux OS Ver 1.7以降のみ対応
    -      また、各デバイスの対応状況はAsuraCPRNTデベロッパーサイトの仕様書をご確認ください
    - *8 AsuraCPRNT Linux OS Ver 1.7以降に搭載の"Line Display"アプリケーション起動時利用可 -

    +
    +

    *1 テキストデータのみ有効

    +

    *2 用紙カットを行わない

    +

    *3 コマンドの初期化のみ実施

    +

    *4 ロゴ番号と印字ロゴの対応表はこちらをご参照ください。

    +

    *5 lineパラメータ無効

    +

    *6 コマンド未生成

    +

    *7 modelパラメータ無効

    +

    *8 AsuraCPRNT Linux OS Ver 1.7以降のみ対応
    + 各デバイスの対応状況はAsuraCPRNTデベロッパーサイトの仕様書をご確認ください。

    +

    *9 AsuraCPRNT Linux OS Ver 1.7以降に搭載の"Line Display"アプリケーション起動時利用可

    +
    @@ -400,22 +409,22 @@
    モバイルプリンター (StarPRNT)
    - +

    StarWebPrintBuilder

    - +

    StarWebPrintBuilderオブジェクトを生成します。

    - +

    構文

    StarWebPrintBuilder();

    - +

    名前付き引数

    @@ -464,14 +473,14 @@

    createAlignmentElement

    位置揃えエレメントを生成します。

    - +

    構文

    createAlignmentElement(args);

    - +

    名前付き引数

    @@ -486,7 +495,7 @@

    名前付き引数

    'left'
    - +

    戻り値

    @@ -496,7 +505,7 @@

    戻り値

    生成したエレメント文字列String
    - +
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -517,25 +526,25 @@ 
    - +
    - +

    createBarcodeElement

    - +

    バーコードエレメントを生成します。

    - +

    構文

    createBarcodeElement(args);

    - +

    名前付き引数

    @@ -565,10 +574,10 @@

    名前付き引数

    - +
    hriHRIキャラクタ
    • true … HRIキャラクタあり
    • false … HRIキャラクタなし
    Booleantrue
    dataバーコードデータ
    ※コマンド仕様書参照
    String省略不可
    dataバーコードデータ
    ※コマンド仕様書参照
    String省略不可
    - +

    戻り値

    @@ -578,7 +587,7 @@

    戻り値

    生成したエレメント文字列String
    - +
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script><script type='text/javascript'>
    @@ -598,25 +607,25 @@ 
    - +
    - +

    createBitImageElement

    - +

    ビットイメージエレメントを生成します。

    - +

    構文

    createBitImageElement(args);

    - +

    名前付き引数

    @@ -630,7 +639,7 @@

    名前付き引数

    height印刷領域高さ(ドット単位指定)
    最大値:2400
    Number0
    - +

    戻り値

    @@ -640,7 +649,7 @@

    戻り値

    生成したエレメント文字列String
    - +
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -661,25 +670,25 @@ 
    - +
    - +

    createCutPaperElement

    - +

    用紙カットエレメントを生成します。

    - +

    構文

    createCutPaperElement(args);

    - +

    名前付き引数

    @@ -700,7 +709,7 @@

    戻り値

    生成したエレメント文字列String
    - +
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -721,25 +730,25 @@ 
    - +
    - +

    createFeedElement

    - +

    用紙送りエレメントを生成します。

    - +

    構文

    createFeedElement(args);

    - +

    名前付き引数

    @@ -760,7 +769,7 @@

    戻り値

    生成したエレメント文字列String
    - +
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -781,25 +790,25 @@ 
    - +
    - +

    createInitializationElement

    - +

    初期化エレメントを生成します。

    - +

    構文

    createInitializationElement(args);

    - +

    名前付き引数

    @@ -824,7 +833,7 @@

    戻り値

    生成したエレメント文字列String
    - +
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -845,25 +854,25 @@ 
    - +
    - +

    createLogoElement

    - +

    ロゴエレメントを生成します。

    - +

    構文

    createLogoElement(args);

    - +

    名前付き引数

    @@ -885,7 +894,7 @@

    戻り値

    生成したエレメント文字列String
    - +
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -905,25 +914,25 @@ 
    - +
    - +

    createPdf417Element

    - +

    PDF417エレメントを生成します。

    - +

    構文

    createPdf417Element(args);

    - +

    名前付き引数

    @@ -952,7 +961,7 @@

    戻り値

    生成したエレメント文字列String
    - +
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -972,25 +981,25 @@ 
    - +
    - +

    createPeripheralElement

    - +

    外部機器エレメントを生成します。

    - +

    構文

    createPeripheralElement(args);

    - +

    名前付き引数

    @@ -1012,7 +1021,7 @@

    戻り値

    生成したエレメント文字列String
    - +
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -1032,25 +1041,25 @@ 
    - +
    - +

    createQrCodeElement

    - +

    QRコードエレメントを生成します。

    - +

    構文

    createQrCodeElement(args);

    - +

    名前付き引数

    @@ -1075,7 +1084,7 @@

    戻り値

    生成したエレメント文字列String
    - +
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -1095,25 +1104,25 @@ 
    - +
    - +

    createRawDataElement

    - +

    生データエレメントを生成します。

    - +

    構文

    createRawDataElement(args);

    - +

    名前付き引数

    @@ -1133,7 +1142,7 @@

    戻り値

    生成したエレメント文字列String
    - +
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -1153,25 +1162,25 @@ 
    - +
    - +

    createRuledLineElement

    - +

    横罫線エレメントを生成します。

    - +

    構文

    createRuledLineElement(args);

    - +

    名前付き引数

    @@ -1196,7 +1205,7 @@

    戻り値

    生成したエレメント文字列String
    - +
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -1216,25 +1225,25 @@ 
    - +
    - +

    createSoundElement

    - +

    ブザーエレメントを生成します。

    - +

    構文

    createSoundElement(args);

    - +

    名前付き引数

    @@ -1255,7 +1264,7 @@

    戻り値

    生成したエレメント文字列String
    - +
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -1275,25 +1284,25 @@ 
    - +
    - +

    createTextElement

    - +

    テキストエレメントを生成します。

    - +

    構文

    createTextElement(args);

    - +

    名前付き引数

    @@ -1307,7 +1316,7 @@

    名前付き引数

  • 'cp999' … コードページ999
  • 'cp1001' … コードページ1001
  • 'cp1250' ~ 'cp1252' … コードページ1250 ~ 1252
  • 'cp2001' … コードページ2001
  • 'cp3001' … コードページ3001
  • 'cp3002' … コードページ3002
  • 'cp3011' … コードページ3011
  • 'cp3012' … コードページ3012
  • 'cp3021' … コードページ3021
  • 'cp3041' … コードページ3041
  • 'cp3840' … コードページ3840
  • 'cp3841' … コードページ3841
  • 'cp3843' ~ 'cp3848' … コードページ3843 ~ 3848
  • 'blank' … ユーザ設定(空白コードページ)
  • -
  • 'shift_jis' … Shift_JIS
  • 'gb18030' … GB18030
  • 'gb2312' … GB2312
  • 'big5' … Big5
  • 'korea' … korea
  • +
  • 'shift_jis' … Shift_JIS
  • 'gb18030' … GB18030
  • 'gb2312' … GB2312
  • 'big5' … Big5
  • 'korea' … korea
  • String未設定
    international国際文字
      @@ -1345,7 +1354,7 @@

      戻り値

    生成したエレメント文字列String
    - +
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -1365,25 +1374,25 @@ 
    - +
    - +

    createBarcodeReaderElement

    - +

    バーコードリーダーエレメントを生成します。

    - +

    構文

    createBarcodeReaderElement(args);

    - +

    名前付き引数

    @@ -1400,17 +1409,16 @@

    名前付き引数

    claimpollingtimeout
    (*1)(*2)
    Claim管理用ポーリング(*3)タイムアウト (ミリ秒)
      範囲:1000 ~ 2147483647
    ※推奨値:10000以上
    ※alertダイアログを表示させたまま設定した秒数を経過した場合
      内部的に"claim=false"を実行した時と同様の動作を行うため
      alertダイアログを利用の際はご注意ください
    Number未設定
    - (*1) type='setting'設定時有効
    - (*2) claim='true'設定時有効
    - (*3) 初回のclaim='true'を含む送信エレメント列送信後に、Claimの開始が成功した場合(*4)に
    -        開始される現在使用しているブラウザがデバイスのClaim状態を保持するためのポーリング。
    -        また、claim='false'を含む送信エレメント列の送信後に、Claimの終了が成功した場合(*5)
    -        ポーリングは終了する。尚、StarClaimManager.jsのsendMessageにより自動的に
    -        ポーリングの開始から終了までの処理が行われます
    - (*4) Claim開始成功時に受け取る受信エレメント列に含まれる文字列
    -        "<bcr><claim>true</claim></bcr>"
    - (*5) Claim終了成功時に受け取る受信エレメント列に含まれる文字列
    -        "<bcr><claim>false</claim></bcr>"
    +
    +

    (*1) type='setting'設定時有効

    +

    (*2) claim='true'設定時有効

    +

    (*3) 初回のclaim='true'を含む送信エレメント列送信後に、Claimの開始が成功した場合(*4)に開始される現在使用しているブラウザがデバイスのClaim状態を保持するためのポーリングです。
    + また、claim='false'を含む送信エレメント列の送信後に、Claimの終了が成功した場合(*5)ポーリングは終了します。なお、StarClaimManager.jsのsendMessageによりポーリングの開始から終了までの処理が自動的に行われます。

    +

    (*4) Claim開始成功時に受け取る受信エレメント列に含まれる文字列
    + "<bcr><claim>true</claim></bcr>"

    +

    (*5) Claim終了成功時に受け取る受信エレメント列に含まれる文字列
    + "<bcr><claim>false</claim></bcr>"

    +

    戻り値

    @@ -1421,7 +1429,7 @@

    戻り値

    生成したエレメント文字列String
    - +
    例:バーコードリーダーの設定
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -1458,22 +1466,22 @@ 
    例:バーコードリーダーの読取データ取得
    - +

    createMagstripeReaderElement

    - +

    磁気リーダーエレメントを生成します。

    - +

    構文

    createMagstripeReaderElement(args);

    - +

    名前付き引数

    @@ -1485,17 +1493,16 @@

    名前付き引数

    claimpollingtimeout
    (*1)(*2)
    Claim管理用ポーリング(*3)タイムアウト (ミリ秒)
      範囲:1000 ~ 2147483647
    ※推奨値:10000以上
    ※alertダイアログを表示させたまま設定した秒数を経過した場合
      内部的に"claim=false"を実行した時と同様の動作を行うため
      alertダイアログを利用の際はご注意ください
    Number未設定
    - (*1) type='setting'設定時有効
    - (*2) claim='true'設定時有効
    - (*3) 初回のclaim='true'を含む送信エレメント列送信後に、Claimの開始が成功した場合(*4)に
    -        開始される現在使用しているブラウザがデバイスのClaim状態を保持するためのポーリング。
    -        また、claim='false'を含む送信エレメント列の送信後に、Claimの終了が成功した場合(*5)
    -        ポーリングは終了する。尚、StarClaimManager.jsのsendMessageにより自動的に
    -        ポーリングの開始から終了までの処理が行われます
    - (*4) Claim開始成功時に受け取る受信エレメント列に含まれる文字列
    -        "<msr><claim>true</claim></msr>"
    - (*5) Claim終了成功時に受け取る受信エレメント列に含まれる文字列
    -        "<msr><claim>false</claim></msr>"
    +
    +

    (*1) type='setting'設定時有効

    +

    (*2) claim='true'設定時有効

    +

    (*3) 初回のclaim='true'を含む送信エレメント列送信後に、Claimの開始が成功した場合(*4)に開始される現在使用しているブラウザがデバイスのClaim状態を保持するためのポーリングです。
    + また、claim='false'を含む送信エレメント列の送信後に、Claimの終了が成功した場合(*5)ポーリングは終了します。なお、StarClaimManager.jsのsendMessageによりポーリングの開始から終了までの処理が自動的に行われます。

    +

    (*4) Claim開始成功時に受け取る受信エレメント列に含まれる文字列
    + "<msr><claim>true</claim></msr>"

    +

    (*5) Claim終了成功時に受け取る受信エレメント列に含まれる文字列
    + "<msr><claim>false</claim></msr>"

    +

    戻り値

    @@ -1506,7 +1513,7 @@

    戻り値

    生成したエレメント文字列String
    - +
    例:磁気リーダーの設定
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -1543,15 +1550,15 @@ 
    例:磁気リーダーの読取データ取得
    - +

    createLineDisplayElement

    - +

    ラインディスプレイエレメントを生成します。

    - +

    構文

    @@ -1590,22 +1597,20 @@

    名前付き引数

    dataテキストデータ
    ※16進数表記の場合'\x0a', '\x20' - '\xff'String未設定 - (*1) AsuraCPRNTに標準搭載されている"Line Display"アプリケーション
    - (*2) claim='true'設定時有効
    - (*3) 初回のclaim='true'を含む送信エレメント列送信後に、Claimの開始が成功した場合(*4)に
    -        開始される現在使用しているブラウザがデバイスのClaim状態を保持するためのポーリング。
    -        また、claim='false'を含む送信エレメント列の送信後に、Claimの終了が成功した場合(*5)
    -        ポーリングは終了する。尚、StarClaimManager.jsのsendMessageにより自動的に
    -        ポーリングの開始から終了までの処理が行われます
    - (*4) Claim開始成功時に受け取る受信エレメント列に含まれる文字列
    -        "<ld><claim>true</claim></ld>"
    - (*5) Claim終了成功時に受け取る受信エレメント列に含まれる文字列
    -        "<ld><claim>false</claim></ld>"
    - (*6) 同タグにて他の設定項目と同時に指定した場合、初期値を設定
    -        ただし、claim / claimpollingtimeout / data は影響を受けない
    - (*7) AsuraCPRNT OS 1.7以降に含まれる"Line Display"アプリケーションの画面上部に表示されてい
    -        る四角で囲まれたエリア
    - (*8) "Line Display"アプリケーションの初期設定は'cp1252' +
    +

    (*1) AsuraCPRNTに標準搭載されている"Line Display"アプリケーション

    +

    (*2) claim='true'設定時有効

    +

    (*3) 初回のclaim='true'を含む送信エレメント列送信後に、Claimの開始が成功した場合(*4)に開始される、現在使用しているブラウザがデバイスのClaim状態を保持するためのポーリング。
    + また、claim='false'を含む送信エレメント列の送信後にClaimの終了が成功した場合(*5)ポーリングは終了します。なお、StarClaimManager.jsのsendMessageによりポーリングの開始から終了までの処理が自動的に行われます

    +

    (*4) Claim開始成功時に受け取る受信エレメント列に含まれる文字列
    + "<ld><claim>true</claim></ld>"

    +

    (*5) Claim終了成功時に受け取る受信エレメント列に含まれる文字列
    + "<ld><claim>false</claim></ld>"

    +

    (*6) 同タグにて他の設定項目と同時に指定した場合、初期値を設定します。
    + ただし、claim / claimpollingtimeout / data は影響を受けません。

    +

    (*7) AsuraCPRNT OS 1.7以降に含まれる"Line Display"アプリケーションの画面上部に表示されている四角で囲まれたエリア

    +

    (*8) "Line Display"アプリケーションの初期設定は'cp1252'

    +

    戻り値

    @@ -1616,7 +1621,7 @@

    戻り値

    生成したエレメント文字列String
    - +
     <script type='text/javascript' src='js/StarWebPrintBuilder.js'></script>
    @@ -1650,5 +1655,7 @@ 
    +
    + diff --git a/UsersManual/ja/_StarWebPrintExtManager-js.htm b/UsersManual/ja/_StarWebPrintExtManager-js.htm index c225478..1cb3c8b 100755 --- a/UsersManual/ja/_StarWebPrintExtManager-js.htm +++ b/UsersManual/ja/_StarWebPrintExtManager-js.htm @@ -2,35 +2,39 @@ + Star WebPRNT ユーザーズマニュアル - - - + + + + + - + - - + +
    +

    Star WebPRNT User's Manual

    @@ -44,7 +48,7 @@

    Star WebPRNT User's Manual

    - + @@ -228,6 +232,9 @@

    Star WebPRNT User's Manual

  • <number>
  • + @@ -239,13 +246,16 @@

    Star WebPRNT User's Manual

    StarWebPrintExtManager.js

    - +

    バーコードリーダやプリンタステータスの監視を、StarWebPRNTExtManager送信エレメント列やStarWebPRNTExtManager受信エレメント列を通して行います。

    +

    + この機能は、現在WebPRNT Browserのみ対応しています。 +

    - +

    コンストラクタ

    @@ -255,7 +265,7 @@

    コンストラクタ

    StarWebPrintExtManagerStarWebPrintExtManagerオブジェクトを生成します。
    - +

    メソッド

    @@ -267,7 +277,7 @@

    メソッド

    disconnectマネージメントを停止します。
    - +

    プロパティ

    @@ -318,7 +328,7 @@
    POSプリンター・AsuraCPRNT
    - + @@ -335,7 +345,7 @@
    POSプリンター・AsuraCPRNT


    - +
    モバイルプリンター (ESC/POS)
    onPrinterPaperNearEmpty--
    onPrinterPaperEmpty-
    onPrinterCoverOpen-
    onPrinterCoverClose-
    onPrinterCoverClose-
    onCashDrawerOpen-
    onCashDrawerClose-
    onBarcodeReaderImpossible-----
    @@ -354,7 +364,7 @@
    モバイルプリンター (ESC/POS)
    - + @@ -367,7 +377,7 @@
    モバイルプリンター (ESC/POS)
    onPrinterPaperNearEmpty-----
    onPrinterPaperEmpty
    onPrinterCoverOpen
    onPrinterCoverClose
    onPrinterCoverClose
    onCashDrawerOpen-----
    onCashDrawerClose○*1○*1○*1○*1○*1
    onBarcodeReaderImpossible-----
    onStatusUpdate
    -

    +

    *1 常にドロアークローズとして呼び出されます。


    @@ -376,62 +386,62 @@
    モバイルプリンター (ESC/POS)
    モバイルプリンター (StarPRNT)
    - + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
    名称SM-S210iSM-S220i
    (Jpモデル以外)
    SM-S230iSM-T300iSM-T400iSM-L200
    名称SM-S210iSM-S220i
    (Jpモデル以外)
    SM-S230iSM-T300iSM-T400iSM-L200SM-L300
    connect○*2
    disconnect○*2
    onReceive○*2
    onError○*2
    onPrinterImpossible○*2
    onPrinterOnline○*2
    onPrinterOffline○*2
    onPrinterPaperReady○*2
    onPrinterPaperNearEmpty------
    onPrinterPaperEmpty○*2
    onPrinterCoverOpen○*2
    onPrinterCoverClose○*2
    onCashDrawerOpen------
    onCashDrawerClose○*1○*1○*1○*1○*1○*1 *2
    onBarcodeReaderImpossible------
    onBarcodeReaderConnect------
    onBarcodeReaderDisconnect------
    onBarcodeDataReceive------
    onAccessoryConnectSuccess○*2
    onAccessoryConnectFailure○*2
    onAccessoryDisconnect○*2
    onStatusUpdate○*2
    connect○*2○*2
    disconnect○*2○*2
    onReceive○*2○*2
    onError○*2○*2
    onPrinterImpossible○*2○*2
    onPrinterOnline○*2○*2
    onPrinterOffline○*2○*2
    onPrinterPaperReady○*2○*2
    onPrinterPaperNearEmpty-------
    onPrinterPaperEmpty○*2○*2
    onPrinterCoverOpen○*2○*2
    onPrinterCoverClose○*2○*2
    onCashDrawerOpen-------
    onCashDrawerClose○*1○*1○*1○*1○*1○*1 *2○*1 *2
    onBarcodeReaderImpossible-------
    onBarcodeReaderConnect-------
    onBarcodeReaderDisconnect-------
    onBarcodeDataReceive-------
    onAccessoryConnectSuccess○*2○*2
    onAccessoryConnectFailure○*2○*2
    onAccessoryDisconnect○*2○*2
    onStatusUpdate○*2○*2
    -

    - *1 常にドロアークローズとして呼び出されます。
    - *2 iOS版のWebPRNT Browserをご使用の場合、SM-L200には対応しておりません。 -

    +
    +

    *1 常にドロアークローズとして呼び出されます。

    +

    *2 iOS版のWebPRNT Browserは対応しておりません。

    +
    + -
    - +

    StarWebPrintExtManager

    - +

    StarWebPrintExtManagerオブジェクトを生成します。

    - +

    構文

    StarWebPrintExtManager(args);

    - +

    名前付き引数

    @@ -443,10 +453,6 @@

    名前付き引数

    pollingIntervalclaim管理用ポーリングの送信インターバル時間(ms単位)Number200
    -

    戻り値

    @@ -478,24 +484,24 @@
    - +
    - +

    connect

    - +

    マネージメントを開始します。

    - +

    構文

    connect(args);

    - +

    名前付き引数

    @@ -508,11 +514,6 @@

    名前付き引数

    pollingIntervalclaim管理用ポーリングの送信インターバル時間(ms単位)
    ※省略時は、StarWebPrintExtManagerコンストラクタで指定された値
    Number-
    -

    戻り値

    @@ -523,7 +524,7 @@

    戻り値

    true … 成功
    false … 失敗
    Boolean
    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -546,22 +547,22 @@ 
    - +

    disconnect

    - +

    マネージメントを停止します。

    - +

    構文

    disconnect();

    - +

    名前付き引数

    @@ -571,11 +572,6 @@

    名前付き引数

    ----
    -

    戻り値

    @@ -586,7 +582,7 @@

    戻り値

    true … 成功
    false … 失敗
    Boolean
    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -608,39 +604,39 @@ 
     トップへ戻る
    - +
    - +

    onReceive

    - +

    正常受信イベント

    - +

    構文

    function(response);

    - +

    名前付き引数

    - - + - +
    名称説明
    managerSuccess印刷結果
    • true … 印刷成功
    • false … 印刷失敗
    String
    managerCode終了コード
    • 0 … 正常終了
    • 1100 … プリンターオフライン状態(エラー発生中)
    • +
    managerSuccessプリンターとの通信結果
    • true … 通信成功
    • false … 通信失敗
    String
    managerCode通信結果コード
    • 0 … 正常終了
    • 1010 … プリンター未接続状態
    • 2001 … プリンタービジー状態(他の端末機器がプリンター使用中:要再送)
    • 3000 … Claim未取得状態
    Number
    managerClaimClaim状態結果
    • true … Claim開始
    • false … Claim終了
    Boolean
    managerClaimClaim状態結果
    • true … Claim取得状態
    • false … Claim未取得状態
    Boolean
    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -677,24 +673,24 @@ 
    - +
    - +

    onError

    - +

    異常受信イベント

    - +

    構文

    function(response);

    - +

    名前付き引数

    @@ -753,24 +749,24 @@
    - +
    - +

    onPrinterImpossible

    - +

    プリンター使用不能を通知します。

    - +

    構文

    function();

    - +

    名前付き引数

    @@ -781,7 +777,7 @@

    名前付き引数

    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -809,22 +805,22 @@ 
    - +

    onPrinterOnline

    - +

    プリンターオンラインを通知します。

    - +

    構文

    function();

    - +

    名前付き引数

    @@ -835,7 +831,7 @@

    名前付き引数

    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -861,22 +857,22 @@ 
     トップへ戻る
    - +

    onPrinterOffline

    - +

    プリンターオフラインを通知します。

    - +

    構文

    function();

    - +

    名前付き引数

    @@ -887,7 +883,7 @@

    名前付き引数

    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -916,22 +912,22 @@ 
    - +

    onPrinterPaperReady

    - +

    プリンター用紙レディを通知します。

    - +

    構文

    function();

    - +

    名前付き引数

    @@ -942,7 +938,7 @@

    名前付き引数

    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -971,22 +967,22 @@ 
    - +

    onPrinterPaperNearEmpty

    - +

    プリンター用紙ニアエンプティを通知します。

    - +

    構文

    function();

    - +

    名前付き引数

    @@ -997,7 +993,7 @@

    名前付き引数

    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1026,22 +1022,22 @@ 
    - +

    onPrinterPaperEmpty

    - +

    プリンター用紙エンプティを通知します。

    - +

    構文

    function();

    - +

    名前付き引数

    @@ -1052,7 +1048,7 @@

    名前付き引数

    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1081,22 +1077,22 @@ 
    - +

    onPrinterCoverOpen

    - +

    プリンターカバーオープンを通知します。

    - +

    構文

    function();

    - +

    名前付き引数

    @@ -1107,7 +1103,7 @@

    名前付き引数

    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1136,22 +1132,22 @@ 
    - +

    onPrinterCoverClose

    - +

    プリンターカバークローズを通知します。

    - +

    構文

    function();

    - +

    名前付き引数

    @@ -1162,7 +1158,7 @@

    名前付き引数

    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1191,22 +1187,22 @@ 
    - +

    onCashDrawerOpen

    - +

    キャッシュドロアーオープンを通知します。

    - +

    構文

    function();

    - +

    名前付き引数

    @@ -1217,7 +1213,7 @@

    名前付き引数

    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1246,22 +1242,22 @@ 
    - +

    onCashDrawerClose

    - +

    キャッシュドロアークローズを通知します。

    - +

    構文

    function();

    - +

    名前付き引数

    @@ -1272,7 +1268,7 @@

    名前付き引数

    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1301,22 +1297,22 @@ 
    - +

    onBarcodeReaderImpossible

    - +

    バーコードリーダー使用不能を通知します。

    - +

    構文

    function();

    - +

    名前付き引数

    @@ -1327,7 +1323,7 @@

    名前付き引数

    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1357,22 +1353,22 @@ 
    - +

    onBarcodeReaderConnect

    - +

    バーコードリーダー接続を通知します。

    - +

    構文

    function();

    - +

    名前付き引数

    @@ -1383,7 +1379,7 @@

    名前付き引数

    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1412,22 +1408,22 @@ 
    - +

    onBarcodeReaderDisconnect

    - +

    バーコードリーダー切断を通知します。

    - +

    構文

    function();

    - +

    名前付き引数

    @@ -1438,7 +1434,7 @@

    名前付き引数

    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1467,22 +1463,22 @@ 
    - +

    onBarcodeDataReceive

    - +

    バーコードデータ受信を通知します。

    - +

    構文

    function(response);

    - +

    名前付き引数

    @@ -1493,7 +1489,7 @@

    名前付き引数

    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1522,22 +1518,22 @@ 
    - +

    onAccessoryConnectSuccess

    - +

    アクセサリー(Bluetooth)接続成功を通知します。

    - +

    構文

    function();

    - +

    名前付き引数

    @@ -1548,7 +1544,7 @@

    名前付き引数

    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1577,22 +1573,22 @@ 
    - +

    onAccessoryConnectFailure

    - +

    アクセサリー(Bluetooth)接続失敗を通知します。

    - +

    構文

    function();

    - +

    名前付き引数

    @@ -1603,7 +1599,7 @@

    名前付き引数

    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1632,22 +1628,22 @@ 
    - +

    onAccessoryDisconnect

    - +

    アクセサリー(Bluetooth)切断を通知します。

    - +

    構文

    function();

    - +

    名前付き引数

    @@ -1658,7 +1654,7 @@

    名前付き引数

    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1687,22 +1683,22 @@ 
    - +

    onStatusUpdate

    - +

    ステータスアップデートを通知します。

    - +

    構文

    function(response);

    - +

    名前付き引数

    @@ -1716,7 +1712,7 @@

    名前付き引数

    - +
     <script type='text/javascript' src='js/StarWebPrintTrader.js'></script>
    @@ -1751,5 +1747,7 @@ 
    +
    + diff --git a/UsersManual/ja/_StarWebPrintRequestElement.htm b/UsersManual/ja/_StarWebPrintRequestElement.htm index 0380ade..4c3a7c3 100755 --- a/UsersManual/ja/_StarWebPrintRequestElement.htm +++ b/UsersManual/ja/_StarWebPrintRequestElement.htm @@ -2,35 +2,39 @@ + Star WebPRNT ユーザーズマニュアル - - - - + + + + + + - + - - + +
    +

    Star WebPRNT User's Manual

    @@ -44,7 +48,7 @@

    Star WebPRNT User's Manual

    - + @@ -228,6 +232,9 @@

    Star WebPRNT User's Manual

  • <number>
  • + @@ -244,68 +251,70 @@

    StarWebPRNT送信エレメント


    - - + +
    - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
    名称説明WebPRNT対応
    Starプリンター
    AsuraCPRNT
    名称説明WebPRNT
    Browser
    WebPRNT
    対応
    Star
    プリンター
    AsuraCPRNT
    <root>ルートエレメント
    <alignment>位置揃えエレメント
    <barcode>バーコードエレメント
    <bitImage>ビットイメージエレメント
    <cutpaper>用紙カットエレメント
    <feed>用紙送りエレメント
    <initialization>初期化エレメント*1
    <logo>ロゴエレメント*2
    <pdf417>PDF417エレメント
    <peripheral>外部機器エレメント
    <qrcode>QRコードエレメント
    <rawdata>生データエレメント○ *3○ *3
    <ruledline>横罫線エレメント
    <sound>ブザーエレメント-
    <text>テキストエレメント○ *4○ *4
    <barcodereader>バーコードリーダーエレメント-○ *5
    <magstripereader>磁気リーダーエレメント-○ *5
    <linedisplay>ラインディスプレイエレメント-○ *5 *6
    <root>ルートエレメント○*1
    <alignment>位置揃えエレメント
    <barcode>バーコードエレメント
    <bitImage>ビットイメージエレメント
    <cutpaper>用紙カットエレメント
    <feed>用紙送りエレメント
    <initialization>初期化エレメント*2
    <logo>ロゴエレメント*3
    <pdf417>PDF417エレメント
    <peripheral>外部機器エレメント
    <qrcode>QRコードエレメント
    <rawdata>生データエレメント○ *4○ *4○ *4
    <ruledline>横罫線エレメント
    <sound>ブザーエレメント-
    <text>テキストエレメント○ *5○ *5○ *5
    <barcodereader>バーコードリーダーエレメント--○ *6
    <magstripereader>磁気リーダーエレメント--○ *6
    <linedisplay>ラインディスプレイエレメント--○ *6 *7
    -
    -

    - *1 属性 reset / print にてfalse指定時のみ対応となります。

    -

    - *2 ロゴ登録手段が用意されていないため対応していません。

    -

    - *3 初期化コマンド(ESC @)は送信しないでください。その場合<initialization>(初期化エレメント)を利用してください。

    -

    - *4 各機種のUTF-8対応状況は付録 UTF-8対応を参照してください。
    +

    +

    + *1 checkedblock属性は常にtrueになります。

    +

    + *2 属性 reset / print にてfalse指定時のみ対応となります。

    +

    + *3 ロゴ登録手段が用意されていないため対応していません。

    +

    + *4 初期化コマンド(ESC @)は送信しないでください。その場合<initialization>(初期化エレメント)を利用してください。

    +

    + *5 各機種のUTF-8対応状況は付録 UTF-8対応を参照してください。
      AsuraCPRNTをご利用の場合、コンフィグレーションの”StarWebPRNT”の項目にて言語設定を行ってください。
      CodePage属性の値のうち、shift_jis,gb18030,gb2312,big5,koreaはStar WebPRNT Browserのみ対応しています。
      WebPRNT Browserをご利用の場合、UTF8に対応していないプリンターではcodepage属性をutf8に指定しないでください。

    -

    - *5 AsuraCPRNT Linux OS Ver 1.7以降のみ対応
    +

    + *6 AsuraCPRNT Linux OS Ver 1.7以降のみ対応
      また各デバイスの対応状況はAsuraCPRNTデベロッパーサイトの仕様書をご確認ください

    -

    - *6 AsuraCPRNT Linux OS 1.7以降に標準搭載されている"Line Display"アプリケーションを起動してご利用ください。

    - +

    + *7 AsuraCPRNT Linux OS 1.7以降に標準搭載されている"Line Display"アプリケーションを起動してご利用ください。

    +
    - +

    <root>

    - +

    ルートエレメント

    - +

    属性

    @@ -315,12 +324,8 @@

    属性

    -
    checkedblock印刷完了待ち
    • true … 印刷完了待ち有効
    • false … 印刷完了待ち無効
    'true'
    papertype用紙の種類
    • normal … 普通紙
    • black_mark … ブラックマーク紙
    • black_mark_and_detect_at_power_on … ブラックマーク紙 (電源投入時の位置検出有効)
    未設定
    blackmark_sensor *1ブラックマークセンサ種類
    • front_side … 表面マーク検出センサ
    • back_side … 裏面マーク検出センサ
    • hole_or_gap … ホール・ギャップ検出センサ
    'front_side'
    -

    - *1 blackmark_sensor属性は、papertype属性に”black_mark”または”black_mark_and_detect_at_power_on”を指定した場合に有効になります。
    -

    @@ -350,13 +355,13 @@

    <alignment>

    - +

    位置揃えエレメント

    - +

    属性

    @@ -394,13 +399,13 @@

    <barcode>

    - +

    バーコードエレメント

    - +

    属性

    @@ -446,13 +451,13 @@

    <bitImage>

    - +

    ビットイメージエレメント

    - +

    属性

    @@ -491,13 +496,13 @@

    <cutpaper>

    - +

    用紙カットエレメント

    - +

    属性

    @@ -535,13 +540,13 @@

    <feed>

    - +

    用紙送りエレメント

    - +

    属性

    @@ -579,13 +584,13 @@

    <initialization>

    - +

    初期化エレメント

    - +

    属性

    @@ -625,13 +630,13 @@
    @@ -672,13 +677,13 @@

    <pdf417>

    - +

    PDF417エレメント

    - +

    属性

    @@ -724,13 +729,13 @@

    <peripheral>

    - +

    外部機器エレメント

    - +

    属性

    @@ -770,13 +775,13 @@

    <qrcode>

    - +

    QRコードエレメント

    - +

    属性

    @@ -818,13 +823,13 @@

    <rawdata>

    - +

    生データエレメント

    - +

    属性

    @@ -861,13 +866,13 @@

    <ruledline>

    - +

    横罫線エレメント

    - +

    属性

    @@ -909,13 +914,13 @@

    <sound>

    - +

    ブザーエレメント

    - +

    属性

    @@ -955,13 +960,13 @@

    <text>

    - +

    テキストエレメント

    - +

    属性

    @@ -1037,13 +1042,13 @@

    <barcodereader>

    - +

    バーコードリーダーエレメント

    - +

    属性

    @@ -1060,19 +1065,18 @@

    属性

    claimpollingtimeout
    (*1)(*2)
    Claim管理用ポーリング(*3)タイムアウト (ミリ秒)
      範囲:1000 ~ 2147483647
    ※推奨値:10000以上
    ※alertダイアログを表示させたまま設定した秒数を経過した場合
      内部的に"claim=false"を実行した時と同様の動作を行うため
      alertダイアログを利用の際はご注意ください
    未設定
    - (*1) type='setting'設定時有効
    - (*2) claim='true'設定時有効
    -        "<bcr><claim>true:2078356309</claim></bcr>"
    - (*3) 初回のclaim='true'を含む送信エレメント列送信後に、Claimの開始が成功した場合(*4)に
    -        開始される現在使用しているブラウザがデバイスのClaim状態を保持するためのポーリング。
    -        また、claim='false'を含む送信エレメント列の送信後に、Claimの終了が成功した場合(*5)
    -        ポーリングは終了する。尚、StarClaimManager.jsのsendMessageにより自動的に
    -        ポーリングの開始から終了までの処理が行われます
    - (*4) Claim開始成功時に受け取る受信エレメント列に含まれる文字列
    -        "<bcr><claim>true</claim></bcr>"
    - (*5) Claim終了成功時に受け取る受信エレメント列に含まれる文字列
    -        "<bcr><claim>false</claim></bcr>"
    - +
    +

    (*1) type='setting'設定時有効です。

    +

    (*2) claim='true'設定時有効です。
    + "<bcr><claim>true:2078356309</claim></bcr>"

    +

    (*3) 初回のclaim='true'を含む送信エレメント列送信後に、Claimの開始が成功した場合(*4)に開始される現在使用しているブラウザがデバイスのClaim状態を保持するためのポーリングです。
    + また、claim='false'を含む送信エレメント列の送信後に、Claimの終了が成功した場合(*5)ポーリングは終了します。なお、StarClaimManager.jsのsendMessageにより、ポーリングの開始から終了までの処理が自動的に行われます。

    +

    (*4) Claim開始成功時に受け取る受信エレメント列に含まれる文字列
    + "<bcr><claim>true</claim></bcr>"

    +

    (*5) Claim終了成功時に受け取る受信エレメント列に含まれる文字列
    + "<bcr><claim>false</claim></bcr>"

    +
    +

    @@ -1105,13 +1109,13 @@
    例:バーコードリーダーの読取データ取得

    <magstripereader>

    - +

    磁気リーダーエレメント

    - +

    属性

    @@ -1123,17 +1127,16 @@

    属性

    claimpollingtimeout
    (*1)(*2)
    Claim管理用ポーリング(*3)タイムアウト (ミリ秒)
      範囲:1000 ~ 2147483647
    ※推奨値:10000以上
    ※alertダイアログを表示させたまま設定した秒数を経過した場合
      内部的に"claim=false"を実行した時と同様の動作を行うため
      alertダイアログを利用の際はご注意ください
    未設定
    - (*1) type='setting'設定時有効
    - (*2) claim='true'設定時有効
    - (*3) 初回のclaim='true'を含む送信エレメント列送信後に、Claimの開始が成功した場合(*4)に
    -        開始される現在使用しているブラウザがデバイスのClaim状態を保持するためのポーリング。
    -        また、claim='false'を含む送信エレメント列の送信後に、Claimの終了が成功した場合(*5)
    -        ポーリングは終了する。尚、StarClaimManager.jsのsendMessageにより自動的に
    -        ポーリングの開始から終了までの処理が行われます
    - (*4) Claim開始成功時に受け取る受信エレメント列に含まれる文字列
    -        "<msr><claim>true</claim></msr>"
    - (*5) Claim終了成功時に受け取る受信エレメント列に含まれる文字列
    -        "<msr><claim>false</claim></msr>"
    +
    +

    (*1) type='setting'設定時有効です。

    +

    (*2) claim='true'設定時有効です。

    +

    (*3) 初回のclaim='true'を含む送信エレメント列送信後に、Claimの開始が成功した場合(*4)に開始される現在使用しているブラウザがデバイスのClaim状態を保持するためのポーリングです。
    + また、claim='false'を含む送信エレメント列の送信後に、Claimの終了が成功した場合(*5)ポーリングは終了します。なお、StarClaimManager.jsのsendMessageによりポーリングの開始から終了までの処理が自動的に行われます。

    +

    (*4) Claim開始成功時に受け取る受信エレメント列に含まれる文字列
    + "<msr><claim>true</claim></msr>"

    +

    (*5) Claim終了成功時に受け取る受信エレメント列に含まれる文字列
    + "<msr><claim>false</claim></msr>"

    +

    @@ -1168,13 +1171,13 @@
    例:磁気リーダーの読取データ取得

    <linedisplay>

    - +

    ラインディスプレイエレメント

    - +

    属性

    @@ -1205,22 +1208,19 @@

    属性

    touchareaタッチエリア
    ※'id:NAME,x:***,y:***,width:***,height:***'形式にて下記の条件で指定
    • id … 0x20 ~ 0x7eまでのASCIIキャラクタ
      ※ただし以下の並びを文字列に含めることは出来ない
        ',x:' ',y:' ',height:' ',width:'
      ※文字数は1024byteまで
      ※idのみ設定した場合
        指定したidで登録済みのタッチエリアを消去する
    • x … タッチエリアの開始x位置
        範囲:0 ~ 800
    • y … タッチエリアの開始y位置
        範囲:0 ~ 480
    • width … タッチエリアの幅指定
        範囲:1 ~ 800 (※)
    • height … タッチエリアの高さ指定
        範囲:1 ~ 480 (※)
      ※(x + width) <= 800 及び (y + height) <= 480の条件を
        満たす時のみ設定可能
    未設定
    - (*1) AsuraCPRNTに標準搭載されている"Line Display"アプリケーション
    - (*2) claim='true'設定時有効
    - (*3) 初回のclaim='true'を含む送信エレメント列送信後に、Claimの開始が成功した場合(*4)に
    -        開始される現在使用しているブラウザがデバイスのClaim状態を保持するためのポーリング。
    -        また、claim='false'を含む送信エレメント列の送信後に、Claimの終了が成功した場合(*5)
    -        ポーリングは終了する。尚、StarClaimManager.jsのsendMessageにより自動的に
    -        ポーリングの開始から終了までの処理が行われます
    - (*4) Claim開始成功時に受け取る受信エレメント列に含まれる文字列
    -        "<ld><claim>true</claim></ld>"
    - (*5) Claim終了成功時に受け取る受信エレメント列に含まれる文字列
    -        "<ld><claim>false</claim></ld>"
    - (*6) 同タグにて他の設定項目と同時に指定した場合、初期値を設定
    -        ただし、claim / claimpollingtimeout / data は影響を受けない
    - (*7) AsuraCPRNT OS 1.7以降に含まれる"Line Display"アプリケーションの画面上部に表示されてい
    -        る四角で囲まれたエリア
    - (*8) "Line Display"アプリケーションの初期設定は'cp1252' +
    +

    (*1) AsuraCPRNTに標準搭載されている"Line Display"アプリケーション

    +

    (*2) claim='true'設定時有効

    +

    (*3) 初回のclaim='true'を含む送信エレメント列送信後に、Claimの開始が成功した場合(*4)に開始される現在使用しているブラウザがデバイスのClaim状態を保持するためのポーリングです。
    + また、claim='false'を含む送信エレメント列の送信後に、Claimの終了が成功した場合(*5)ポーリングは終了します。なお、StarClaimManager.jsのsendMessageにより自動的にポーリングの開始から終了までの処理が行われます。

    +

    (*4) Claim開始成功時に受け取る受信エレメント列に含まれる文字列
    + "<ld><claim>true</claim></ld>"

    +

    (*5) Claim終了成功時に受け取る受信エレメント列に含まれる文字列
    + "<ld><claim>false</claim></ld>"

    +

    (*6) 同タグにて他の設定項目と同時に指定した場合、初期値を設定します。ただし、claim / claimpollingtimeout / data は影響を受けません。

    +

    (*7) AsuraCPRNT OS 1.7以降に含まれる"Line Display"アプリケーションの画面上部に表示されている四角で囲まれたエリア

    +

    (*8) "Line Display"アプリケーションの初期設定は'cp1252'

    +

    @@ -1256,5 +1256,7 @@
    + + diff --git a/UsersManual/ja/_StarWebPrintRequestElement_scs.htm b/UsersManual/ja/_StarWebPrintRequestElement_scs.htm new file mode 100755 index 0000000..6b29607 --- /dev/null +++ b/UsersManual/ja/_StarWebPrintRequestElement_scs.htm @@ -0,0 +1,313 @@ + + + + + + Star WebPRNT ユーザーズマニュアル + + + + + + + + + + + + + + + + + +
    + +
    + +

    Star WebPRNT User's Manual

    + +
    +
    + + + + +
    + + + + + + + +
    + +
    +
    +

    StarWebPRNT送信エレメント
    - スター精密クラウドサービス レシートアップロード機能サポートエレメントリスト-

    + +
    +

    + ○のついたStarWebPRNT送信エレメントにより印刷されるデータは、スター精密クラウド上にアップロードすることで電子レシートとして参照することができます。

    +

    + スター精密クラウドサービスのレシートアップロード機能の設定方法については、以下をご参照ください。 +

    +

    Star WebPRNTブラウザー スター精密クラウドサービス使用方法 (iOS)

    +

    Star WebPRNTブラウザー スター精密クラウドサービス使用方法 (Android)

    +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + +
    名称説明WebPRNT
    Browser *1
    WebPRNT
    対応
    Star
    プリンター
    AsuraCPRNT
    <root>ルートエレメント---
    <alignment>位置揃えエレメント--
    <barcode>バーコードエレメント--
    <bitImage>ビットイメージエレメント--
    <cutpaper>用紙カットエレメント---
    <feed>用紙送りエレメント--
    <initialization>初期化エレメント---
    <logo>ロゴエレメント---
    <pdf417>PDF417エレメント--
    <peripheral>外部機器エレメント---
    <qrcode>QRコードエレメント--
    <rawdata>生データエレメント--
    <ruledline>横罫線エレメント--
    <sound>ブザーエレメント---
    <text>テキストエレメント--
    <barcodereader>バーコードリーダーエレメント---
    <magstripereader>磁気リーダーエレメント---
    <linedisplay>ラインディスプレイエレメント---
    +
    +

    + *1 Mobile ESC/POSエミュレーションは、スター精密クラウドサービス レシートアップロード機能に対応していません。

    +
    +
    + + + + + + +
    + +
    + + + +
    + + + diff --git a/UsersManual/ja/_StarWebPrintResponseElement.htm b/UsersManual/ja/_StarWebPrintResponseElement.htm index af1855a..59c9a2e 100755 --- a/UsersManual/ja/_StarWebPrintResponseElement.htm +++ b/UsersManual/ja/_StarWebPrintResponseElement.htm @@ -2,35 +2,39 @@ + Star WebPRNT ユーザーズマニュアル - - - - + + + + + + - + - - + +
    +

    Star WebPRNT User's Manual

    @@ -44,7 +48,7 @@

    Star WebPRNT User's Manual

    - + @@ -228,6 +232,9 @@

    Star WebPRNT User's Manual

  • <number>
  • + @@ -239,11 +246,11 @@

    Star WebPRNT User's Manual

    StarWebPRNT受信エレメント

    - +

    - + @@ -326,13 +333,13 @@
    POSプリンター・AsuraCPRNT
    名称説明
    -

    - *1 AsuraCPRNT Linux OS Ver 1.7以降のみ対応
    -      また、各デバイスの対応状況はAsuraCPRNTデベロッパーサイトの仕様書をご確認ください
    - *2 AsuraCPRNT Linux OS Ver 1.7以降に搭載の"Line Display"アプリケーション起動時利用可 -

    +
    +

    *1 AsuraCPRNT Linux OS Ver 1.7以降のみ対応。
    + 各デバイスの対応状況はAsuraCPRNTデベロッパーサイトの仕様書をご確認ください。

    +

    *2 AsuraCPRNT Linux OS Ver 1.7以降に搭載の"Line Display"アプリケーション起動時利用可

    +
    -
    モバイルプリンター
    +
    モバイルプリンター(ESC/POS)
    @@ -370,6 +377,48 @@
    モバイルプリンター
    + +
    名称SM-S210iSM-S220i
    (Jpモデル以外)
    SM-T300iSM-T400i
    <code>----
    <claim>----
    <claimpollingtimeout>----
    + + +
    モバイルプリンター(StarPRNT)
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    名称SM-S210iSM-S220i
    (Jpモデル以外)
    SM-T300iSM-T400iSM-L200SM-L300
    <root>
    <success>
    <code>
    <status>
    <bcr>------
    <success>------
    <code>------
    <claim>------
    <mode>------
    <duplicatescandelay>------
    <scanoncetimeout>------
    <claimpollingtimeout>------
    <symbol>------
    <symbolenable>------
    <data>------
    <datasymbol>------
    <datacount>------
    <bcrdevicename>------
    <modecapability>------
    <symbolcapability>------
    <msr>------
    <success>------
    <code>------
    <claim>------
    <claimpollingtimeout>------
    <data>------
    <datacount>------
    <ld>------
    <success>------
    <code>------
    <claim>------
    <claimpollingtimeout>------
    @@ -379,7 +428,7 @@
    モバイルプリンター
    - +
    @@ -422,11 +471,11 @@
    - + - +

    <success>

    @@ -468,11 +517,11 @@
    - + - +

    <code>

    @@ -516,11 +565,11 @@
    - + - +

    <status>

    @@ -618,7 +667,7 @@
    - + @@ -675,7 +724,7 @@
    - + @@ -738,7 +787,7 @@
    - + @@ -795,7 +844,7 @@
    - + @@ -857,7 +906,7 @@
    - + @@ -914,7 +963,7 @@
    - + @@ -971,7 +1020,7 @@
    - + @@ -1028,7 +1077,7 @@
    - + @@ -1085,7 +1134,7 @@
    - + @@ -1142,7 +1191,7 @@
    - + @@ -1193,7 +1242,7 @@
    - + @@ -1244,7 +1293,7 @@
    - + @@ -1295,7 +1344,7 @@
    - + @@ -1609,7 +1658,7 @@
    - + @@ -1658,7 +1707,7 @@
    - + @@ -1713,7 +1762,7 @@
    - + @@ -1762,7 +1811,7 @@
    - + @@ -1811,7 +1860,7 @@
    - + @@ -1862,7 +1911,7 @@
    - + @@ -1913,7 +1962,7 @@
    - + @@ -1962,7 +2011,7 @@
    - + @@ -2011,7 +2060,7 @@
    - + @@ -2046,7 +2095,7 @@

  • 1001 … ラインディスプレイデバイスのClaimが行われていない
  • 1002 … ラインディスプレイデバイスビジー状態
        (他の端末機器がClaim開始状態にありデバイス使用中:要再送)
  • 1003 … ラインディスプレイデバイスがAsuraCPRNTに接続されていないか
        電源が入っていない
  • -
  • 1004 … ラインディスプレイデバイスがオンライン状態でエラー発生
  • +
  • 1004 … ラインディスプレイデバイスがオンライン状態でエラー発生
  • @@ -2065,7 +2114,7 @@
    - + @@ -2114,7 +2163,7 @@
    - + @@ -2163,7 +2212,7 @@
    - + @@ -2178,5 +2227,7 @@
    + + diff --git a/UsersManual/ja/_StarWebPrintTrader-js.htm b/UsersManual/ja/_StarWebPrintTrader-js.htm index fa1c2eb..8c77884 100755 --- a/UsersManual/ja/_StarWebPrintTrader-js.htm +++ b/UsersManual/ja/_StarWebPrintTrader-js.htm @@ -2,16 +2,19 @@ + Star WebPRNT ユーザーズマニュアル - - - + + + + + @@ -28,9 +31,10 @@ - +
    +

    Star WebPRNT User's Manual

    @@ -228,6 +232,9 @@

    Star WebPRNT User's Manual

  • <number>
  • + @@ -297,7 +304,7 @@
    POSプリンター・AsuraCPRNT
    名称FVP10TSP650IITSP700IITSP800IImPOPAsuraCPRNT - sendMessage*1 *2○○○○○○ + sendMessage*1○○○○○○ isCoverOpen○○○○○○ isOffLine○○○○○○ isCompulsionSwitchClose○○○○○○ @@ -311,10 +318,9 @@
    POSプリンター・AsuraCPRNT
    extractionEtbCounter○○○○○○ -

    - *1 Bluetoothプリンターは印刷完了待ち有効固定、名前付き引数’checkedblock'は作用しない
    - *2 名前付き引数’blackmark_sensor'は作用しない -

    +
    +

    *1 Bluetoothプリンターは印刷完了待ち有効固定、名前付き引数’checkedblock'は作用しない

    +
    モバイルプリンター (ESC/POS)
    @@ -337,34 +343,35 @@
    モバイルプリンター (ESC/POS)
    extractionEtbCounter----- -

    - *1 印刷完了待ち有効固定、名前付き引数’checkedblock'は作用しない
    - *2 名前付き引数’papertype',blackmark_sensor'は作用しない
    -

    +
    +

    *1 印刷完了待ち有効固定、名前付き引数’checkedblock'は作用しない

    +

    *2 名前付き引数’papertype'は作用しない

    +
    モバイルプリンター (StarPRNT)
    - + - - - - - - - - - - - - + + + + + + + + + + + +
    名称SM-S210iSM-S220i
    (Jpモデル
    以外)
    SM-S230iSM-T300iSM-T400iSM-L200
    名称SM-S210iSM-S220i
    (Jpモデル
    以外)
    SM-S230iSM-T300iSM-T400iSM-L200SM-L300
    sendMessage*1
    isCoverOpen
    isOffLine
    isCompulsionSwitchClose------
    isEtbCommandExecute
    isHighTemperatureStop
    isNonRecoverableError------
    isAutoCutterError------
    isBlackMarkError
    isPaperEnd
    isPaperNearEnd------
    extractionEtbCounter
    sendMessage*1 *2
    isCoverOpen
    isOffLine
    isCompulsionSwitchClose-------
    isEtbCommandExecute
    isHighTemperatureStop
    isNonRecoverableError-------
    isAutoCutterError-------
    isBlackMarkError
    isPaperEnd
    isPaperNearEnd-------
    extractionEtbCounter
    -

    - *1 印刷完了待ち有効固定、名前付き引数’checkedblock'は作用しない
    -

    +
    +

    *1 印刷完了待ち有効固定、名前付き引数’checkedblock'は作用しない

    +

    *2 名前付き引数’papertype'は作用しない

    +
    @@ -402,12 +409,8 @@

    名前付き引数

    Booleantrue papertype用紙の種類
    • normal … 普通紙
    • black_mark … ブラックマーク紙
    • black_mark_and_detect_at_power_on … ブラックマーク紙 (電源投入時の位置検出有効)
    String- - blackmark_sensor *1ブラックマークセンサ種類
    • front_side … 表面マーク検出センサ
    • back_side … 裏面マーク検出センサ
    • hole_or_gap … ホール・ギャップ検出センサ
    Stringfront_side -

    - *1 blackmark_sensor属性は、papertype属性に”black_mark”または”black_mark_and_detect_at_power_on”を指定した場合に有効になります。
    -

    戻り値

    @@ -470,13 +473,8 @@

    名前付き引数

  • black_mark_and_detect_at_power_on … ブラックマーク紙 (電源投入時の位置検出有効)

  • ※省略時はStarWebPrintTraderコンストラクタで指定された値
    StarWebPrintTraderコンストラクタでも指定されていない場合は未設定 -
    String-
    blackmark_sensor *1ブラックマークセンサ種類
    • front_side … 表面マーク検出センサ
    • back_side … 裏面マーク検出センサ
    • hole_or_gap … ホール・ギャップ検出センサ

    - ※省略時はStarWebPrintTraderコンストラクタで指定された値
    String-
    -

    - *1 blackmark_sensor属性は、papertype属性に”black_mark”または”black_mark_and_detect_at_power_on”を指定した場合に有効になります。
    -

    戻り値

    @@ -1269,10 +1267,10 @@

    名前付き引数

    responseTextXMLHttpRequestオブジェクトのresponseTextプロパティ
    ※XMLHttpRequest仕様参照
    String
    -

    - *1 AsuraCPRNT Linux OS Ver 1.7以降のみ対応
    - *2 AsuraCPRNT Linux OS Ver 1.7以降に搭載の"Line Display"アプリケーション起動時利用可 -

    +
    +

    *1 AsuraCPRNT Linux OS Ver 1.7以降のみ対応

    +

    *2 AsuraCPRNT Linux OS Ver 1.7以降に搭載の"Line Display"アプリケーション起動時利用可

    +
     // -->
    @@ -1546,6 +1544,7 @@ 
    +
    diff --git a/UsersManual/ja/_appendixUTF8.htm b/UsersManual/ja/_appendixUTF8.htm index 6439617..dcc923e 100755 --- a/UsersManual/ja/_appendixUTF8.htm +++ b/UsersManual/ja/_appendixUTF8.htm @@ -2,35 +2,40 @@ + Star WebPRNT ユーザーズマニュアル - - - - + + + + + + - + - + +
    +

    Star WebPRNT User's Manual

    @@ -44,7 +49,7 @@

    Star WebPRNT User's Manual

    - + @@ -228,6 +233,9 @@

    Star WebPRNT User's Manual

  • <number>
  • + @@ -240,7 +248,7 @@

    Star WebPRNT User's Manual

    付録 UTF-8対応

    - +

    StarWebPRNTにて各機種におけるUTF-8対応状況は以下の表になります。
    @@ -249,15 +257,15 @@

    付録 UTF-8対応

    IFBD-HE07x / IFBD-BE07x(FVP10)

    - +
    - + - + @@ -267,7 +275,7 @@

    IFBD-HE07x / IFBD-BE07x(FVP10)

    AsuraCPRNT

    -
    機種名ファームウェアバージョンインターフェイスバージョン
    UTF-8
    機種名ファームウェア バージョンインターフェイス バージョン
    UTF-8
    日本語
    Shift-JIS
    中国語
    簡体字
    GB2312
    中国語
    簡体字
    GB18030
    中国語
    繁体字
    Big5
    韓国語
    Korean
    欧米文字*1
    FVP10Ver1.5以降Ver3.2.0以降---
    TSP650IIVer1.2以降Ver3.2.0以降--
    Ver3.0以降Ver3.2.0以降-
    Ver3.0以降Ver3.2.0以降-
    TSP700IIVer4.1以降Ver3.2.0以降--
    TSP800IIVer1.6以降Ver3.2.0以降----
    +
    @@ -280,7 +288,7 @@

    AsuraCPRNT

    *1 使用可能な文字は、プリンターが内蔵しているコードページ範囲のみです。

    Star WebPRNT Browser

    -
    機種名Linux OS バージョンファームウェアバージョン
    UTF-8
    日本語
    Shift-JIS
    中国語
    簡体字
    GB2312
    中国語
    簡体字
    GB18030
    中国語
    繁体字
    Big5
    韓国語
    Korean
    欧米文字*1
    +
    @@ -288,7 +296,7 @@

    Star WebPRNT Browser

    - + @@ -299,7 +307,7 @@

    Star WebPRNT Browser

    *1 使用可能な文字は、プリンターが内蔵しているコードページ範囲のみです。

    - + @@ -316,5 +324,7 @@

    Star WebPRNT Browser

    + + diff --git a/UsersManual/ja/_infoToUse.htm b/UsersManual/ja/_infoToUse.htm index b10881d..da8482f 100755 --- a/UsersManual/ja/_infoToUse.htm +++ b/UsersManual/ja/_infoToUse.htm @@ -2,35 +2,38 @@ + Star WebPRNT ユーザーズマニュアル - - - - - - + + + + + + - + + +
    +

    Star WebPRNT User's Manual

    @@ -47,7 +50,7 @@

    Star WebPRNT User's Manual

    - + @@ -231,6 +234,9 @@

    Star WebPRNT User's Manual

  • <number>
  • + @@ -244,18 +250,19 @@

    Star WebPRNT User's Manual

    - +

    Star WebPRNT ブラウザー ご利用に関するご案内

    -

    - StarWebPRNTブラウザーを使用してStarプリンターの印刷を制御するWebプログラミングをされるにあたり、Webコンテンツ側で以下の事案への対応を行っていただくようお願いいたします。
    - また、StarWebPRNTブラウザーの使用に関してご注意いただきたい点がございます。 -

    +
    +

    StarWebPRNTブラウザーを使用してStarプリンターの印刷を制御するWebプログラミングをされるにあたり、Webコンテンツ側で以下の事案への対応を行っていただくようお願いいたします。

    +

    また、StarWebPRNTブラウザーの使用に関してご注意いただきたい点がございます。

    +
    -

    事案1)
    印刷内容がすべて表示される前に印刷ボタンを押してしまうと、その時点で表示されている内容のみが印刷される。

    +

    事案1)

    +

    印刷内容がすべて表示される前に印刷ボタンを押してしまうと、その時点で表示されている内容のみが印刷される。

    - +
    対策例

    コンテンツ部分の初期状態を非表示に設定し、すべての表示が完了してからwindows.onLoad関数によって表示させる。

    @@ -269,42 +276,86 @@

    Star WebPRNT ブラウザー ご利用に関するご案内

    SDKに関しましては、小型プリンターお問い合わせフォームよりお問い合わせください。
    - +
    - - + + - +
    -

    事案2)
    印刷ボタンを連続して押した場合に、Star WebPRNTブラウザーが強制終了することがある。

    +

    事案2)

    +

    印刷ボタンを連続して押した場合に、Star WebPRNTブラウザーが強制終了することがある。

    - +
    対策例
    -

    SendMessage()関数がコールされたのと同時に最上段に「Now Printing...」等表示したHTMLレイヤーを重ね、ページ全体をクリック不可として印刷ボタンの2度押しを防ぐ。

    +

    SendMessage()関数がコールされたのと同時に最上段に「Now Printing...」等を表示したHTMLレイヤーを重ね、ページ全体をクリック不可として印刷ボタンの2度押しを防ぐ。

      -
    1. 印刷ボタンを配置するコンテンツの最上段にHTMLレイヤーを表示して3秒後*に非表示になる関数を追加する
    2. -
    3. SendMessage()関数の冒頭に①の関数コールを追加する
    4. -
    5. window.onLoadで(2.)を非表示、(1.)を表示にする関数を追加する
    6. +
    7. 印刷ボタンを配置するコンテンツの最上段にHTMLレイヤーを表示する関数を追加する
    8. +
    9. SendMessage()関数の冒頭に(1.)の関数コールを追加する
    10. +
    11. onReceive()関数とonError()関数の冒頭に(1.)を非表示にする関数コールを追加する
    -
    - *お使いの環境によって、HTMLレイヤーを表示する時間は調整を行ってください。 -
    SDKに関しましては、小型プリンターお問い合わせフォームよりお問い合わせください。
    - - - + + +
    +

    事案3)

    +

    iOS 10において、まれに印字中にエラーが発生し、その後印字できなくなることがある。

    +

    iOS設定画面を見ると「接続済み」と表示されるが、[ 一般 ]-[ 情報 ]に当該デバイス情報が表示されなくなる。

    +
    + +
    +
    復帰方法
    +

    iOS設定画面よりBluetoothコネクションを一旦切断し、再接続する。

    +

    または、プリンターの電源オフ、電源再投入を行う。

    +
    + + + + +
    +

    事案4)

    +

    iOS版 Star WebPRNTブラウザーで、SM-S/SM-Tシリーズのモバイルプリンターを + StarPRNTエミュレーションで使用時、大量のデータ送信時のタイムアウトや電波状況等によりプリンターへのデータ送信が中断されると、 + その後印字できなくなる。

    +

    + iOS設定画面を見ると「接続済み」と表示されるが、[ 一般 ]-[ 情報 ]に当該デバイス情報が表示されなくなる。

    +
    + +
    +
    復帰方法
    +

    iOS設定画面よりBluetoothコネクションを一旦切断し、再接続する。

    +

    または、プリンターの電源オフ、電源再投入を行う。

    +
    + + + +
    +

    注意1)

    +

    印刷中に Star WebPRNTブラウザーをバックグラウンドに移動(ホームボタンを押す)させないでください。 + 印刷がとまったり、印刷結果のレスポンスを受け取れなくなることがあります。

    +
    + + + +
    @@ -317,6 +368,8 @@

    Star WebPRNT ブラウザー ご利用に関するご案内

    +
    + diff --git a/UsersManual/ja/_number_logo_table.htm b/UsersManual/ja/_number_logo_table.htm index ca476ea..b107df4 100755 --- a/UsersManual/ja/_number_logo_table.htm +++ b/UsersManual/ja/_number_logo_table.htm @@ -2,40 +2,45 @@ + Star WebPRNT ユーザーズマニュアル - - - - + + + + + + - - + + +
    +
    +
    +
    -
    +

    StarPRNT使用時の、'number'属性と登録されているロゴの対応表

    -

    StarPRNT使用時の、'number'属性と登録されているロゴの対応表

    -

    表中のkc1、kc2は登録されているロゴ(NVグラフィックデータ)のキーコードを表します。
    また、表中の<SP>はスペース(16進数20H)を表します。

    - +
    機種名ファームウェア
    バージョン
    UTF-8
    日本語
    Shift-JIS
    中国語
    簡体字
    GB2312
    中国語
    簡体字
    GB18030
    中国語
    繁体字
    Big5
    韓国語
    Korean
    欧米文字*1
    FVP10Ver1.5以降---
    TSP650IIVer1.2以降--
    Ver3.0以降-
    Ver3.0以降-
    TSP700IIVer4.1以降--
    TSP800IIVer1.6以降----
    mPOPVer1.0以降---
    @@ -1442,12 +1447,12 @@

    StarPRNT使用時の、'number'属性と登録されているロゴの対応

    - - + +
          - + @@ -2876,7 +2881,7 @@

    StarPRNT使用時の、'number'属性と登録されているロゴの対応 - + + - - +
    @@ -660,6 +665,8 @@

    Star WebPRNT Browser + Star Bluetoothプリン

    + + diff --git a/UsersManual/ja/index.htm b/UsersManual/ja/index.htm index 3be6681..9a67dec 100755 --- a/UsersManual/ja/index.htm +++ b/UsersManual/ja/index.htm @@ -2,34 +2,36 @@ + Star WebPRNT ユーザーズマニュアル - - - - - - + + + + + + - + - - + + +
    +

    Star WebPRNT User's Manual

    @@ -43,7 +45,7 @@
    Contents
    - + @@ -227,6 +229,9 @@
    Contents
  • <number>
  • + @@ -239,7 +244,7 @@
    Contents
    - +

    Star WebPRNTを利用することで、PC、タブレット等多様なデバイスからWebブラウザを通して印刷を行う、マルチプラットフォームを実現します。
    プリンターの制御は、このSDKにパッケージされているJavaScriptをHTMLファイルに埋め込むだけで行え、 @@ -250,7 +255,7 @@

    Contents
    このマニュアルはStarWebPRNTに関する情報を提供します。
    ユーザー向けに印刷アプリケーションの構築に関するガイドラインを示します。

    -
    +
    ご使用に関する情報
    @@ -258,22 +263,23 @@
    Contents
    また、StarWebPRNTブラウザーの使用に関してご注意いただきたい点がございます。
    以下のリンク先をご一読ください。

    - +
    - - -
    -
    - + + + + + + diff --git a/readme_en.txt b/readme_en.txt index c4b36a7..5b04370 100755 --- a/readme_en.txt +++ b/readme_en.txt @@ -1,10 +1,10 @@ ************************************************************ - Star WebPRNT SDK - Ver 1.3.1 - readme_en.txt Star Micronics Co., Ltd. + Star WebPRNT SDK - Ver 1.4.0 + Readme_En.txt Star Micronics Co., Ltd. ************************************************************ 1. Overview - 2. Ver 1.3.1 Changes + 2. Ver 1.4.0 Changes 3. Contents 4. Scope 5. Remarks @@ -25,20 +25,21 @@ ======================= - 2. Ver 1.3.1 Changes + 2. Ver 1.4.0 Changes ======================= [SDK] - - Added annotation when selecting codepage attribute in text elements. + - Change Black Mark function. [User's Manual] - - Added annotation when selecting codepage attribute in text elements. + - Change API reference for black mark function. + - Added SM-L300. ============= 3. Contents ============= - StarWebPRNT_WebContents_V1.3.1 + StarWebPRNT_WebContents_V1.4.0 | | Readme_En.txt // Release Note(English) | Readme_Jp.txt // Release Note(Japanese) @@ -57,49 +58,85 @@ ================= [Printer Model] - SM-S210I (Ver1.0 or later) (*1) + SM-S210I (Ver2.4 or later) (*1) SM-S220I (Ver2.0 or later) (*1) SM-S230I (Ver1.0 or later) (*1) SM-T300I (Ver2.4 or later) (*1) SM-T400I (Ver2.4 or later) (*1) SM-L200 (Ver1.0 or later) (*1) + SM-L300 (Ver1.0 or later) (*1) FVP10 (Ethernet: Ver1.5 or later, Bluetooth: Ver2.0 or later) (*1) TSP650II (Ethernet: Ver1.2 or later, Bluetooth: Ver1.0 or later) (*1) - TSP700II (Ethernet: Ver4.1 or later, Bluetooth: Ver4.0 or later) (*1) + TSP700II (Ethernet: Ver4.1 or later, Bluetooth: Ver5.0 or later) (*1) TSP800II (Ethernet: Ver1.6 or later, Bluetooth: Ver2.0 or later) (*1) mPOP (Ver1.0 or later) (*1) - SP700 (Ethernet: Ver3.0 or later, Bluetooth: Ver4.0 or later) (*2) + SP700 (Ethernet: Ver3.0 or later) ASR10 (Linux OS Ver1.6 or later) To print data, "Star WebPRNT Browser" is required. *1: Support both iOS and Android devices. - *2: Support iOS devices only. [Interface Card] - LAN: IFBD-HE07X/HE08X/BE07X (Ver3.1.0 or later) - Bluetooth: IFBD-HB03/HB04 (Ver1.0.0 or later) - IFBD-HB05/HB06/BB05 (Ver1.0.0 or later) + Ethernet: IFBD-HE07X/HE08X/BE07X (Ver3.1.0 or later) + IFBD-HI01X (Ver1.1.0 or later) + IFBD-HI02X (Ver1.2.0 or later) + Bluetooth: IFBD-HB03/HB04 (Ver1.0 or later) + IFBD-HB05/HB06/BB05 (Ver4.1 or later) ============= 5. Remarks ============= - --- + 1. Limitations when Star Cloud services receipt uploading function is enabled on the Star WebPRNT Browser + The receipt content until each element will be uploaded as + one receipt. + If you include more than one element in one StarWebPRNT + request element, on and from the second element, + the previously set attributes for element will be reset + and left-aligned in the printing and the previously set attributes for + and elements will be reset to default values in the + uploaded receipts. + If you need to continually reflect the attributes set prior to the + element, please send again and elements + which have your desired attributes, in addition to the element. + ============== 6. Copyright ============== - Copyright 2014-2016 Star Micronics Co., Ltd. All rights reserved. + Copyright 2014-2017 Star Micronics Co., Ltd. All rights reserved. ==================== 7. Release History ==================== + Ver 1.4.0 + 06/05/2017 : [SDK] + - Change Black Mark function. + + [User's Manual] + - Change API reference for black mark function. + - Added SM-L300. + + Ver 1.3.3 + 03/14/2017 : [SDK] + - Added setup manual for Star Cloud Services. + + [User's Manual] + - Added a list of Star WebPRNT request elements supporting receipt upload function. + + [Readme] + - Added IFBD-HI01X/HI02X to the supported interface card. + - Corrected misprints of the supported F/W version. + + Ver 1.3.2 + 12/26/2016 : [SDK] + - "WebPRNTTrader.js" have been updated to accommodate changing security requirements. Ver 1.3.1 09/30/2016 : [SDK] diff --git a/readme_jp.txt b/readme_jp.txt index 18d6c20..fdfc77a 100755 --- a/readme_jp.txt +++ b/readme_jp.txt @@ -1,10 +1,10 @@ ************************************************************ - Star WebPRNT SDK - Ver 1.3.1 - readme_jp.txt X^[ij + Star WebPRNT SDK - Ver 1.4.0 + Readme_Jp.txt X^[ij ************************************************************ 1. Tv - 2. Ver 1.3.1 ɂ‚Ă̕ύX_ + 2. Ver 1.4.0 ɂ‚Ă̕ύX_ 3. e 4. Kp 5. 񎖍 @@ -27,20 +27,21 @@ ================================ - 2. Ver 1.3.1 ɂ‚Ă̕ύX_ + 2. Ver 1.4.0 ɂ‚Ă̕ύX_ ================================ [SDK] - - eLXgGg̕R[hI̒߂lj + - ubN}[Np̐ݒύX [User's Manual] - - eLXgGg̕R[hI̒߂lj + - ubN}[Np̐ݒɊւLڂύX + - SM-L300lj ========== 3. e ========== - StarWebPRNT_WebContents_V1.3.1 + StarWebPRNT_WebContents_V1.4.0 | | Readme_En.txt // [Xm[g(p) | Readme_Jp.txt // [Xm[g({) @@ -59,20 +60,21 @@ ============= Ώۃv^f v^f - SM-S210I (F/W Ver1.0ȏ) (*1) + SM-S210I (F/W Ver2.4ȏ) (*1) SM-S220I (F/W Ver2.0ȏ) (*1) SM-S230I (F/W Ver1.0ȏ) (*1) SM-T300I (F/W Ver2.4ȏ) (*1) SM-T400I (F/W Ver2.4ȏ) (*1) SM-L200 (F/W Ver1.0ȏ) (*1) + SM-L300 (F/W Ver1.0ȏ) (*1) FVP10 (Ethernetp: F/W Ver1.5ȏ, Bluetoothp: F/W Ver2.0ȏ) (*1) TSP650II (Ethernetp: F/W Ver1.2ȏ, Bluetoothp: F/W Ver1.0ȏ) (*1) - TSP700II (Ethernetp: F/W Ver4.1ȏ, Bluetoothp: F/W Ver4.0ȏ) (*1) + TSP700II (Ethernetp: F/W Ver4.1ȏ, Bluetoothp: F/W Ver5.0ȏ) (*1) TSP800II (Ethernetp: F/W Ver1.6ȏ, Bluetoothp: F/W Ver2.0ȏ) (*1) mPOP (F/W Ver1.0ȏ) (*1) - SP700 (Ethernetp: F/W Ver3.0ȏ, Bluetoothp: F/W Ver4.0ȏ) (*2) + SP700 (Ethernetp: F/W Ver3.0ȏ) ASR10 (Linux OS Ver1.6ȍ~) @@ -81,36 +83,70 @@ ΉĂfoCX͒L̒ʂłB *1 iOSAndroidfoCXɂăT|[gĂ܂B - *2 iOSfoCXɂăT|[gĂ܂B ΉC^[tF[XJ[h Ethernet: IFBD-HE07X/HE08X/BE07X (Ver3.1.0ȏ) - Bluetooth: IFBD-HB03/HB04 (Ver1.0.0ȏ) - IFBD-HB05/HB06/BB05 (Ver1.0.0ȏ) + IFBD-HI01X (Ver1.1.0ȏ) + IFBD-HI02X (Ver1.2.0ȏ) + Bluetooth: IFBD-HB03/HB04 (Ver1.0ȏ) + IFBD-HB05/HB06/BB05 (Ver4.1ȏ) ============= 5. 񎖍 ============= - ɂ܂B + 1. Star WebPRNT BrowserłStar Cloud ServicesV[gAbv[h@\L̐ + V[gAbv[h@\LAeGg܂łЂƂ‚̃V[g + ƂăAbv[hs܂B + P‚StarWebPRNTMGgɂQˆȏGg܂߂ꍇA + Q–ڈȍ~̊eGǧ́A󎚂łGgňȑO + ݒ肵񂹂ɃZbgAAbv[h郌V[gł + GgGgňȑOɐݒ肵ftHglɃZbg܂B + GgȑOɐݒ肵ĂfꍇA + GgɑāA]̑܂GgGg + ēxMB + =========== 6. 쌠 =========== - X^[ijCopyright 2014-2016 + X^[ijCopyright 2014-2017 ============= 7. XV ============= + Ver 1.4.0 + 2017/06/05 : [SDK] + - ubN}[Np̐ݒύX + + [User's Manual] + - ubN}[Np̐ݒɊւLڂύX + - SM-L300lj + + Ver 1.3.3 + 2017/03/14 : [SDK] + - Star Cloud Services̃ZbgAbv}jAlj + + [User's Manual] + - V[gAbv[h@\T|[gStarWebPRNTMGg̃Xglj + + [Readme] + - T|[gC^[tF[XJ[hIFBD-HI01X/HI02Xlj + - T|[gF/Wo[W̌L + + Ver 1.3.2 + 2016/12/26 : [SDK] + - uWebPRNTTrader.jsvAVZLeBv֑ΉB + Ver 1.3.1 2016/09/26 : [SDK] - eLXgGg̕R[hI̒߂lj [User's Manual] - - eLXgGg̕R[hI̒߂lj + - eLXgGg̕R[hI̒߂lj Ver 1.3.0 2016/09/01 : [SDK]

    numberkc1kc2