On 24/01/2024 00:16, David Wright wrote:
On Wed 24 Jan 2024 at 00:00:57 (+0700), Max Nikulin wrote:
Server-side code mixing 2 data streams into single channel may be a
bit more simple than association of 2 connections with the same
client, but the price is this long thread.

OTOH we've all experienced misconfigurations where printer jobs
go to the wrong printer. What's the cost of the wrong till-receipt
printer opening an unattended cash drawer? There are some benefits
that come with localising connections.

Just to be clear, I do not suggest to statically configure all POS printers on the server. SSH session may handle multiple data streams, so it should be possible to associate UI terminal stream and printer/scanner links when a client connects to the server.

Reply via email to