//
// Setting connection parameters
//
- function remote_printer($queue, $host='', $port=515, $timeout=20){
+ function __construct($queue, $host='', $port=515, $timeout=20){
if ($host == '')
$host = $_SERVER['REMOTE_ADDR']; // default is user's host
$this->host = $host;