escpos-php
escpos-php copied to clipboard
Set hostname WindowsPrintConnector
/**
* set hostname for testing purposes and other cases where it is needed
* for example, to print to a network printer without a DNS entry
* @param string $hostname
*/
public function setHostname($hostname): void
{
$this -> hostname = $hostname;
}`