Skip to content
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

empty print job #4

Open
syscoopco opened this issue Apr 28, 2023 · 0 comments
Open

empty print job #4

syscoopco opened this issue Apr 28, 2023 · 0 comments

Comments

@syscoopco
Copy link

Hi,

I'm trying to print from a Java application deployed in another device. The connection with RawBT WS is established and closed with no errors. When sending, RawBT notifies "Empty print job". This is the code fragment:

if (c.connectBlocking(1, TimeUnit.SECONDS)) { StringBuilder json = new StringBuilder(); json.append("{\"message\":\"").append("test").append("\"}"); c.send(json.toString()); }

I guess it has to do with the JSON arguments, or string format.

Any helps would be appreciated.

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

No branches or pull requests

1 participant