You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
just as told in README.md, the send() uses PrintTask's $contentType attribute uninitialized. The method ensureValidJob() expects $contentType to be defined.
Reading the code, $contentType seems to be defined when the method content(...) is called. But I think it is not called anywhere (at least using the example). The method that fills $content seems to be the base PrintTask's file().
Steps to reproduce
Use Cups Driver to print anything.
Relevant log output
Typed property Rawilk\Printing\Drivers\Cups\PrintTask::$contentType must not be accessed before initialization
The text was updated successfully, but these errors were encountered:
Laravel Printing Version
Commit 76ef855
Laravel Version
v8.83.27
Print Driver
Cups
Bug description
Hello,
When using:
just as told in README.md, the
send()
uses PrintTask's$contentType
attribute uninitialized. The methodensureValidJob()
expects$contentType
to be defined.Reading the code,
$contentType
seems to be defined when the methodcontent(...)
is called. But I think it is not called anywhere (at least using the example). The method that fills$content
seems to be the base PrintTask'sfile()
.Steps to reproduce
Use Cups Driver to print anything.
Relevant log output
The text was updated successfully, but these errors were encountered: