new Printer()
- Source:
Methods
(static) Printer#getId() → {String}
Get the field value
Unique identifier
- Source:
Returns:
- Type
- String
(static) Printer#getIpAddress() → {String}
Get the field value
IP address of a network printer
- Source:
Returns:
- Type
- String
(static) Printer#getMac() → {String}
Get the field value
MAC address of a network printer
- Source:
Returns:
- Type
- String
(static) Printer#getModel() → {String}
Get the field value
- Source:
Returns:
- Type
- String
(static) Printer#getName() → {String}
Get the field value
- Source:
Returns:
- Type
- String
(static) Printer#getType() → {printer.PrinterType}
Get the field value
NETWORK is a printer that's directly connected to the network. MY_LOCAL represents the printer that's connected to the device that's making the request.
- Source:
Returns:
- Type
- printer.PrinterType
(static) Printer#setId(id)
Set the field value
Unique identifier
Parameters:
Name | Type | Description |
---|---|---|
id |
String |
- Source:
(static) Printer#setIpAddress(ipAddress)
Set the field value
IP address of a network printer
Parameters:
Name | Type | Description |
---|---|---|
ipAddress |
String |
- Source:
(static) Printer#setMac(mac)
Set the field value
MAC address of a network printer
Parameters:
Name | Type | Description |
---|---|---|
mac |
String |
- Source:
(static) Printer#setModel(model)
Set the field value
Parameters:
Name | Type | Description |
---|---|---|
model |
String |
- Source:
(static) Printer#setName(name)
Set the field value
Parameters:
Name | Type | Description |
---|---|---|
name |
String |
- Source:
(static) Printer#setType(type)
Set the field value
NETWORK is a printer that's directly connected to the network. MY_LOCAL represents the printer that's connected to the device that's making the request.
Parameters:
Name | Type | Description |
---|---|---|
type |
printer.PrinterType |
- Source: