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

Can we use TLS for LPR print ? #3

Open
sim789 opened this issue Oct 5, 2020 · 3 comments
Open

Can we use TLS for LPR print ? #3

sim789 opened this issue Oct 5, 2020 · 3 comments

Comments

@sim789
Copy link

sim789 commented Oct 5, 2020

Is that any possible for LPR use TLS ?

@robsonke
Copy link
Member

robsonke commented Oct 5, 2020

It's not part of the library but shouldn't be too hard to add, you'll probably need an SSLSocket instead of a Socket.

@sim789
Copy link
Author

sim789 commented Oct 8, 2020

@robsonke
I used SSLSocket instead of a Socket and when i use SSLSocket exception throw with printer offline. when i use Socket its works.
any Example if you can provide.

@robsonke
Copy link
Member

robsonke commented Oct 8, 2020

No, to be honest it's a while ago we built this library and our communication with those printers is pretty simple. Sounds logical to me that an offline printer gives exceptions when you try to connect to it though.

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

2 participants