-
Notifications
You must be signed in to change notification settings - Fork 56
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
JobManager::send() must implement interface Smalot\Cups\Model\PrinterInterface #9
Comments
Well it seems like the parameter you assigned when calling |
the same error:
problem in printer name "...../HP-Photosmart-C4380-series" in sample code. My printer name is "...../ML-371x-Series" but now i have other error:
UPDATE: after call function |
the same for me Argument 1 passed to Smalot\Cups\Manager\JobManager::send() must implement interface Smalot\Cups\Model\PrinterInterface, boolean given, called in /var/www/html/ipp_test/test/app/Http/Controllers/testController.php on line 37 my code
|
You both are aware that the Client class method for authentication in CUPS is called |
:) yes, you right |
After installing and trying to use any of the example code, I'm getting the following error:
Fatal error: Uncaught TypeError: Argument 1 passed to Smalot\Cups\Manager\JobManager::send() must implement interface Smalot\Cups\Model\PrinterInterface, boolean given, called in /var/www/cups/index.php on line 29 and defined in /var/www/cups/vendor/smalot/cups-ipp/src/Manager/JobManager.php:87 Stack trace: #0 /var/www/cups/index.php(29): Smalot\Cups\Manager\JobManager->send(false, Object(Smalot\Cups\Model\Job)) #1 {main} thrown in /var/www/cups/vendor/smalot/cups-ipp/src/Manager/JobManager.php on line 87
The text was updated successfully, but these errors were encountered: