From 2055bafda7828723dea75e82a4ec82f6645da307 Mon Sep 17 00:00:00 2001 From: Richard Quadling Date: Fri, 24 Apr 2020 11:42:06 +0100 Subject: [PATCH] Prepare v1.6.0.1 Reinstate Star's English readme. Updated bower.json to reflect main.js availability Update main README.md to detail the exact changes that have been made to this library. --- README.md | 13 ++- bower.json | 10 +-- package.json | 2 +- readme_en.txt | 229 +++++++++++++++++++++++++++++++++++++++++++++++++- 4 files changed, 243 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 78efe88..e99059c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,13 @@ # star-web-print -A GitHub copy of the Star Micronics Web Print code found at http://www.starmicronics.com/support/sdkdocumentation.aspx +A GitHub copy of the Star Micronics Web Print code found at http://www.starmicronics.com/support/sdkdocumentation.aspx. + +# Changes made by DigiTickets + +1. We have added support for the CommonJS module format. +2. We have added a `main.json` file to act as a package entry point. +3. We have created `bower.json` and `package.json` files to help manage dependencies and deployment. + +# Versioning + +As of writing this README, the version of the package from Star Micronics is `1.6.0`. To indicate that the version we +are releasing has been amended (see above), we are releasing this as `1.6.0.1`. diff --git a/bower.json b/bower.json index 7adb9cd..690186a 100644 --- a/bower.json +++ b/bower.json @@ -1,18 +1,12 @@ { "name": "digitickets.star-web-print", - "version": "1.5.0", + "version": "1.6.0.1", "homepage": "http://www.starmicronics.com/support/sdkdocumentation.aspx", "authors": [ "Star Micronics" ], "description": "Javascript library for printing to Star Micronics printers supporting the WebPRNT interface.", - "main": [ - "Sample/js/StarBarcodeEncoder.js", - "Sample/js/StarWebPrintBuilder.js", - "Sample/js/StarWebPrintDisplayBuilder.js", - "Sample/js/StarWebPrintExtManager.js", - "Sample/js/StarWebPrintTrader.js" - ], + "main": "main.js", "keywords": [ "javascript", "Star", diff --git a/package.json b/package.json index 714a0af..690186a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "digitickets.star-web-print", - "version": "1.6.0", + "version": "1.6.0.1", "homepage": "http://www.starmicronics.com/support/sdkdocumentation.aspx", "authors": [ "Star Micronics" diff --git a/readme_en.txt b/readme_en.txt index 5f28270..3c66191 100755 --- a/readme_en.txt +++ b/readme_en.txt @@ -1 +1,228 @@ - \ No newline at end of file +************************************************************ + Star webPRNT SDK - Ver 1.6.0 + Readme_En.txt Star Micronics Co., Ltd. +************************************************************ + + 1. Overview + 2. Ver 1.6.0 Changes + 3. Contents + 4. Scope + 5. Remarks + 6. Copyright + 7. Release History + + +============= + 1. Overview +============= + + Using this software, provide you a multi platform solution to print directly + from various devices such as PCs and tablets via a web browser. + You can print receipts by embedding JavaScript in this SDK package into your + HTML file. And you can control your printer. It allows you to print receipts + Using your web programming knowledge, you can control printer. + No printer drivers or plug-ins are required. + + See the Users Manual for detailed information. + Users Manual: https://www.star-m.jp/starwebprnt-oml.html + +======================= + 2. Ver 1.6.0 Changes +======================= + + [SDK] +   - "StarWebPRNTTrader.js" and "StarWebPRNTExtManager.js" have been updated to accommodate iOS WKWebview. + +============= + 3. Contents +============= + + StarWebPRNT_WebContents_V1.6.0 + | + |- Readme_En.txt // Release Note(English) + |- Readme_Jp.txt // Release Note(Japanese) + |- SoftwareLicenseAgreement.pdf // Software License Agreement(English) + |- SoftwareLicenseAgreement_Jp.pdf // Software License Agreement(Japanese) + |- Sample // Star webPRNT sample program + |- UsersManual // Shortcut to User Manual + +================= + 4. Scope +================= + + [Printer Model] + 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: Ver5.0 or later) (*1) + TSP800II (Ethernet: Ver1.6 or later, Bluetooth: Ver2.0 or later) (*1) + mPOP (Ver1.0 or later) (*1) + mC-Print2 (Ver1.0 or later) (*1) + mC-Print3 (Ver1.0 or later) (*1) + + SP700 (Ethernet: Ver3.0 or later) + + + To print data, "Star webPRNT Browser" is required. + *1: Support both iOS and Android devices. + + [Interface Card] + 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 Micronics Cloud 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 Star webPRNT + 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-2019 Star Micronics Co., Ltd. All rights reserved. + + +==================== + 7. Release History +==================== + + Ver 1.6.0 + 10/18/2019 : [SDK] +   - "StarWebPRNTTrader.js" and "StarWebPRNTExtManager.js" have been updated to accommodate iOS WKWebview. + + Ver 1.5.1 + 04/10/2019 : [SDK] +   - Added display control function in Star webPRNT browser. + + Ver 1.5.0 + 11/09/2018 : [SDK] + - Added display control function. + + [User's Manual] + - Added reference related with display control function. + + Ver 1.4.1 + 07/04/2018 : [User's Manual] + - Added support + * mC-Print2 + * mC-Print3 + + - End of support + * ASR10 + + 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 Micronics Cloud. + + [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] + - Added annotation when selecting codepage attribute in text elements. + + [User's Manual] + - Added annotation when selecting codepage attribute in text elements. + + Ver 1.3.0 + 09/01/2016 : [SDK] + - Added status monitoring function. + - Added character code support in text element. + + [User's Manual] + - Added reference related with BCR status monitoring. + - Added reference related with character code. + + Ver 1.2.1 + 02/08/2016 : [SDK] + - Modified default setting of BM. + With WebPRNT Browser, enabled to use BM, setting by MSW. + + [User's Manual] + - Revise reference of API related with BM. + - Added reference related with StarPRNT mode. + + Ver 1.2.0 + 11/06/2015 : [SDK] + - Support black mark function. + + [User's Manual] + - Added API reference for black mark function. + + Ver 1.1.0 + 02/20/2015 : [SDK] + - Add the function that the display optimization of the web contents. + - Fix some issues when it shows on Android WebPRNT Browser. + + Ver 1.0.0 + 12/12/2014 : [SDK] + - Added top-page + - Added how to use "Star webPRNT Browser for iOS" + - Support 2inch receipt printing + - Added the function that contents should be hidden by default + and be displayed by window.onLoad function after all contents + finish loading + - 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. + + [User's Manual] + - Added how to use "Star webPRNT Browser for iOS" + + Ver 0.3.0 + 01/15/2014 : [SDK] + - Supported to UTF-8. + + [User's Manual] + - Added the Dot Printer discription. + - Added the UTF-8 discription + - Added the ASR10 in the "Star POS Printer" of the "Example of system configuration". + + Ver 0.2.0 + 11/07/2013 : [SDK] + - Modified the default discription of the StarWebPRNT endpoint URL in HTML files. + + [User's Manual] + - Added the ASR10 discription in user's manual. + Ver 0.1.0 + 08/26/2013 : Ver. 0.1.0 First Release