Methode which obtains the host to which the printer is connected.
1 system.printer.getHost
<system.printer.getHost
grpcode='grpcode'
prtcode='prtcode'
/>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Agrpcode | string | Group code. | |||
Aprtcode | string | Printer code. |
Returns | |
---|---|
Type | Description |
string | Printer host. |
Example
Obtains the printer host.
Copy
<xsql-script name='system_printer_getHost'> <body> <println> <system.printer.getHost grpcode='deister' prtcode="epson-82-color" /> </println> </body> </xsql-script>