Fix bug
This commit is contained in:
parent
b14cb7a97f
commit
f8d6897888
@ -318,7 +318,7 @@ class printing_printgcp extends PrintingDriver
|
||||
else dol_print_error($this->db);
|
||||
|
||||
$ret = $this->sendPrintToPrinter($printer_id, $file, $fileprint, $mimetype);
|
||||
$this->errors = 'PRINTGCP: '.$ret['errormessage'];
|
||||
$this->error = 'PRINTGCP: '.$ret['errormessage'];
|
||||
if ($ret['status']!=1) $error++;
|
||||
return $error;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user