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.

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.

  1. Set the default to hide contents with a print button.
  2. Add 「Now Loading」 tag which is set to be opposite to the display state setting of (1).
  3. Add a function to set (2) to be hidden and (1) to be displayed by window.onLoad.

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.

  1. Add a function to display the HTML layer on the top layer of contents which have a print button.
  2. Add the function call of (1.) at the beginning of SendMessage() function.
  3. Add the function call to set (1.) to be hidden at the beginning of onReceive() function and onError() function.

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.

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.