Receipt printer issue

Hi,

I am getting the error below when trying to setup a receipt printer in TakePos. Can anyone help me with solving this?

Warning : copy(): open_basedir restriction in effect. File(\Device-D77CHi2R\EpsonBon) is not within the allowed path(s): (c:/dolibarr;C:\WINDOWS\TEMP) in C:\dolibarr\www\dolibarr\htdocs\includes\mike42\escpos-php\src\Mike42\Escpos\PrintConnectors\WindowsPrintConnector.php on line 376

Warning : copy(\Device-D77CHi2R\EpsonBon): failed to open stream: Operation not permitted in C:\dolibarr\www\dolibarr\htdocs\includes\mike42\escpos-php\src\Mike42\Escpos\PrintConnectors\WindowsPrintConnector.php on line 376

First try to disable the php option open_basedir and check if it works. If yes, the trouble is in the value that must be completed.

Hi Eldy,

Thanks for your reply. Just to make sure, you want me to comment out the basedir in the php.ini file?