Star WebPRNT User's Manual

Star WebPRNT SDK

This SDK contains HTML files and JavaScript files.

The HTML files are the sample program to introduce the total procedures to print via a web browser by using the WebPRNT functions.
Learn how to control your printer by actually running it.

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

Sample Program List

HTML File

NameDescription
ComparisonReceiptDesign.htmlConfirms if it is possible to print with device fonts and Canvas drawing

JavaScript File

NameDescription
StarWebPrintBuilder.jsCreates StarWebPRNT request element
StarWebPrintTrader.jsSends StarWebPRNT request element and checks status from received StarWebPRNT request element
StarBarcodeEncoder.jsCreates barcode module for drawing to a HTML5 Canvas 2D context

* 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

Star HE07x/08x Interface Printer

  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 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.
    To establish an encrypted communication using SSL/TLS, change http to https.
    Example) https://192.168.1.100/StarWebPRNT/SendMessage

    If the interface has the “S” shape on its chassis, it supports SSL/TLS communication.
    The certificate setting is required for your printer. For the setting method, refer to the IFBD-HE07/08-BE07 Users Manual.
    ComparisonReceiptSesign setting screen
  3. Press the “Send (API)” button to check if it is possible to print with device fonts
  4. Press the “Send (Canvas)” button to check if it is possible to print with Canvas drawing.