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 Star webPRNT Request Element
StarWebPrintTrader.jsSends Star webPRNT Request Element and checks status from received Star webPRNT 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.

Launching the Star webPRNT Browser by URL scheme (iOS/Android)

You can launch the Star webPRNT Browser by URL scheme. Also, by specifying the URL you want to open, the launched the Star webPRNT Browser will open the specified page.

If you just want to launch the the Star webPRNT Browser, please specify (A) for iOS and (A)-(B) for Android.

If you want to launch the Star webPRNT Browser then open the specified URL, please specify (A)-(E) entirely.

The URL of (E) should be percent encoded. For example, if you want to open https://starmicronics.com/, the URL you need would be webprnt://starmicronics.com/open?url=https%3A%2F%2Fstarmicronics.com%2F.

URL Scheme
  • webprnt://
  • starmicronics.com
  • /open
  • ?url=
  • [URL] - The URL you want to open via the Star webPRNT Browser