-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
No printer on localhost #13
Comments
I am also getting this error
please help us. @rawilk |
+1 here. This bit of code produces an empty list:
Result:
But I can print if I specifically select a printer, so I know the API requests are working. |
OK, worked it out. This package is requiring an out of date printnode package which relies on "offset" in the API which is breaking on new accounts. "offset" was replaced with "after" in subsequent updates of the printnode-php package, but the required version isn't being updated. In any case, in your composer.json replace: With: Obviously you might want to be a bit more strict on your version than just "master", but that's as far as my knowledge on the matter can help. |
@JonoHall I have tried that also, but still does not getting any printers. I am using php7.4 and 1.3 version of the package. |
I plan on making some updates to how the PrintNode driver works behind the scenes which will hopefully help resolve this for people that have this issue. |
In If there's any issues with how I handle the api requests/responses, feel free to either let me know or PR a fix for them. |
I am using php version 7.4 what can I do. I cannot update the package version to v3.0.0 |
I have the same problem but I'm using cups, not PrintNode. Any suggestions?. Thanks in advance |
I have installed the package and Printnode. Set the api but when i do
print_r(Printing::printers());
Array is empty
Any hint please? Thanks
The text was updated successfully, but these errors were encountered: