Skip to content

Ensure the SDK is initialised before we call getPrinterList()#39

Open
Novex wants to merge 1 commit into
yeasir01:mainfrom
Novex:fix-printer-listing
Open

Ensure the SDK is initialised before we call getPrinterList()#39
Novex wants to merge 1 commit into
yeasir01:mainfrom
Novex:fix-printer-listing

Conversation

@Novex
Copy link
Copy Markdown

@Novex Novex commented Mar 25, 2026

Because getPrinterList() is static the SDK doesn't get initialised which means the call to printerIsReady() always fails with a "Cannot establish printer communication" error

This fix just ensures the SDK is initialised

- Because getPrinterList() is static the SDK doesn't get initialised which means the call to printerIsReady() always fails with a "Cannot establish printer communication" error
- This fix just ensures the SDK is initialised
@yeasir01
Copy link
Copy Markdown
Owner

Great catch—thanks for pointing that out. I’ll look into it over the next couple of days.

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

Successfully merging this pull request may close these issues.

2 participants