Star WebPRNT User's Manual

StarWebPRNT Response Element


NameDescription
<root>Root Element
<success>Success code Element
<code>Result code Element
<status>Star Automatic Status Element

Star Printer Compatibility Chart

POS Printer
NameFVP10TSP650IITSP700IITSP800IImPOPmC-Print2mC-Print3
<root>
<success>
<code>
<status>
Mobile Printer (ESC/POS)
NameSM-S220i
(Excluding Jp model)
SM-S230iSM-T300iSM-T400i
<root>
<success>
<code>
<status>

Mobile Printer (StarPRNT)
NameSM-S220i
(Excluding Jp model)
SM-S230iSM-T300iSM-T400iSM-L200SM-L300
<root>
<success>
<code>
<status>

<root>

Root Element

Attribute

NameDescriptionOmission
---

Value

Description
List of StarWebPRNT Response Element
Example
<root>
  <success>true</success>
  <code>0</code>
  <status>2386000000000000000000</status>
</root>

<success>

Success code Element

Attribute

NameDescriptionOmission
---

Value

Description
Success code
  • true … Printing succeeded
  • false … Printing failed
Example
<root>
  <success>true</success>
  <code>0</code>
  <status>2386000000000000000000</status>
</root>

<code>

Result code Element

Attribute

NameDescriptionOmission
---

Value

Description
Result code
  • 0 … Success
  • 1100 … Printer off line(On error)
  • 2001 … Printer busy(In use with another device: Need to resend data)
Example
<root>
  <success>true</success>
  <code>0</code>
  <status>2386000000000000000000</status>
</root>

<status>

Star Automatic Status Element

Attribute

NameDescriptionOmission
---

Value

Description
Star Automatic Status
Note. Refer to the command specifications.
Example
<root>
  <success>true</success>
  <code>0</code>
  <status>2386000000000000000000</status>
</root>