On Wed 24 Jan 2024 at 23:46:31 (+0700), Max Nikulin wrote: > 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.
I guess I find this suggestion more vague than what the OP was describing, so you'd have to elaborate. But what I was commenting on (snipped from above) is having "independent connections on any network layer". There are LAN-connected printers around for sale, but there are security dangers with such connection methods, depending on the application. Cheers, David.