Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: copy(): The second argument to copy() function cannot be a directory #1

Open
hieuna opened this issue May 10, 2020 · 0 comments

Comments

@hieuna
Copy link

hieuna commented May 10, 2020

Hi Parzibyte,
I have a error when run code.
`Warning: copy(): The second argument to copy() function cannot be a directory in F:\xampp\htdocs\imprimir_ticket_php\src\Mike42\Escpos\PrintConnectors\WindowsPrintConnector.php on line 372

Fatal error: Uncaught Exception: Failed to copy file to printer in F:\xampp\htdocs\imprimir_ticket_php\src\Mike42\Escpos\PrintConnectors\WindowsPrintConnector.php:291 Stack trace: #0 F:\xampp\htdocs\imprimir_ticket_php\src\Mike42\Escpos\PrintConnectors\WindowsPrintConnector.php(173): Mike42\Escpos\PrintConnectors\WindowsPrintConnector->finalizeWin('\e@\ea\x01\x1Dv0\x00 \x00\xFA\x00\x00\x00...') #1 F:\xampp\htdocs\imprimir_ticket_php\src\Mike42\Escpos\Printer.php(503): Mike42\Escpos\PrintConnectors\WindowsPrintConnector->finalize() #2 F:\xampp\htdocs\imprimir_ticket_php\index.php(69): Mike42\Escpos\Printer->close() #3 {main} thrown in F:\xampp\htdocs\imprimir_ticket_php\src\Mike42\Escpos\PrintConnectors\WindowsPrintConnector.php on line 291`
How can fix it? THanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant