--- /tmp/dsg/dolibarr/htdocs/includes/mike42/escpos-php/src/Mike42/Escpos/PrintConnectors/github_19.0.3_CupsPrintConnector.php +++ /tmp/dsg/dolibarr/htdocs/includes/mike42/escpos-php/src/Mike42/Escpos/PrintConnectors/client_CupsPrintConnector.php @@ -81,3 +81 @@ - if ($tmpfname === false) { - throw new Exception("Failed to create temp file for printing."); - } + if ($tmpfname==false) dol_syslog("CupsPrintConnector.php::Permission denied to write into target directory ".sys_get_temp_dir(), LOG_WARNING); @@ -140 +138 @@ - * @return string Data read from the printer, or false where reading is not possible. + * @return Data read from the printer, or false where reading is not possible.