PrintConnector for directly opening a network socket to a printer to send it commands.
| Mike42\Escpos\PrintConnectors\NetworkPrintConnector::__construct |
( |
|
$ip, |
|
|
|
$port = "9100", |
|
|
|
$timeout = false |
|
) |
| |
Construct a new NetworkPrintConnector
- Parameters
-
| string | $ip | IP address or hostname to use. |
| string | $port | The port number to connect on. |
| string | $timeout | The connection timeout, in seconds. |
- Exceptions
-
| Exception | Where the socket cannot be opened. |
The documentation for this class was generated from the following file:
- C:/www/aplusnet/incahellas.com/public_html/lib/escpos-php-development/src/Mike42/Escpos/PrintConnectors/NetworkPrintConnector.php