-
Notifications
You must be signed in to change notification settings - Fork 850
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
permission denied #1319
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
==============================================================
// error message
#message: "copy(\KENDEE\Canon G4010 series): Failed to open stream: Permission denied"
#code: 0
#file: "C:\Users\JohnDoe\htdocs\pos\vendor\mike42\escpos-php\src\Mike42\Escpos\PrintConnectors\WindowsPrintConnector.php"
#line: 375
#severity: E_WARNING
=============================================================
// code
public function printReceipt(Request $request){
try {
$connector = new WindowsPrintConnector("smb://KENDEE/Canon G4010 series");
$printer = new Printer($connector);
$printer -> text("Hello World!\n");
$printer -> cut();
=============================================================
The text was updated successfully, but these errors were encountered: