escpos-php icon indicating copy to clipboard operation
escpos-php copied to clipboard

FilePrintConnector not working in online server

Open Bharathraj-talthaje opened this issue 4 years ago • 2 comments
trafficstars

 $connector = new Escpos\PrintConnectors\FilePrintConnector("//localhost/POS58");
 $printer = new Escpos\Printer($connector);

This is my code, this is working in localhost but when upload my project to online host that shows this error

Severity: Warning

Message: fopen(//localhost/POS58): failed to open stream: No such file or directory

Filename: PrintConnectors/FilePrintConnector.php

Line Number: 35

please help me

Bharathraj-talthaje avatar May 07 '21 05:05 Bharathraj-talthaje

Encontraron la solución?, tengo el mismo problema

rochelo avatar Oct 31 '21 12:10 rochelo

Did you find the solution. I also have the same problem.

heinhtetzor avatar Feb 19 '22 09:02 heinhtetzor