public static function printer_list()
{
$result = Process::run('lpstat -e');
$printer_queues = $result->output();
return explode(PHP_EOL,$printer_queues);
}
public static function job_queue($printer_queue)
{
$result = Process::run('lpstat '.$printer_queue . ' -W not-completed');
$printer_queues = $result->output();
return explode(PHP_EOL,$printer_queues);
}
public static function printer_list()
{
$result = Process::run('lpstat -e');
$printer_queues = $result->output();
return explode(PHP_EOL,$printer_queues);
}
public static function job_queue($printer_queue)
{
$result = Process::run('lpstat '.$printer_queue . ' -W not-completed');
$printer_queues = $result->output();
return explode(PHP_EOL,$printer_queues);
}