Star webPRNT Request Element
Name | Description | Star webPRNT Browser | Star Thermal Printer with Star webPRNT | Star Dot Printer with Star webPRNT |
<root> | Root Element | ✓*1 | ✓ | ✓ |
<alignment> | Alignment Element | ✓ | ✓ | ✓ |
<barcode> | Barcode Element | ✓ | ✓ | - |
<bitImage> | Bitimage Element | ✓ | ✓ | ✓ |
<cutpaper> | Cut paper Element | ✓ | ✓ | ✓ |
<feed> | Feed Element | ✓ | ✓ | ✓ |
<holdprint> | Hold print Element | ✓ | ✓ | - |
<initialization> | Initialization Element | ✓ | ✓ | ✓ |
<logo> | Logo Element | ✓ | ✓ | ✓ |
<pdf417> | PDF417Element | ✓ | ✓ | - |
<peripheral> | Peripheral(Drawer) Element | ✓ | ✓ | ✓ |
<qrcode> | QR code Element | ✓ | ✓ | - |
<rawdata>*2 | Raw data Element | ✓ *3 | ✓ *3 | ✓ *3 |
<ruledline> | Horizontal ruled line Element | ✓ | ✓ | ✓ |
<sound> | Sound Element | ✓ | ✓ | ✓ |
<sound_with_setting> | Melody speaker Element | ✓ | - | - |
<text> | Text Element | ✓ *4 | ✓ *4 | ✓ *4 *5 |
*1 The checkedblock attribute is always true.
*2 Usage of this element, to send device specific commands, is discouraged in order to maintain compatibility across all supported printers.
Developers are encouraged to use the general Star API wherever possible in order to utilize printer functions.
In the case that the Star API does not offer a feature necessary for your software, please let us know so that we can consider inclusion in a future software update.
*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.
The codepage attributes “shift_jis”, “gb18030”, “gb2312”, “big5” and “korea” are supported only with Star webPRNT Browser.
In the case of using Star 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,
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).