Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #265906

Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing

From Charles Curley <charlescurley@charlescurley.com>
Newsgroups linux.debian.user
Subject Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing
Date 2024-01-13 23:50 +0100
Message-ID <HVUZb-2TGP-5@gated-at.bofh.it> (permalink)
References (3 earlier) <HVoFX-2zSK-3@gated-at.bofh.it> <HVB0t-2HeG-1@gated-at.bofh.it> <HVGMx-2KPp-1@gated-at.bofh.it> <HVNO1-2PwN-21@gated-at.bofh.it> <HVUZb-2TGP-7@gated-at.bofh.it>
Organization occasionally

Show all headers | View raw


On Sat, 13 Jan 2024 21:32:44 +0000 (UTC)
phoebus phoebus <frphoebus@yahoo.fr> wrote:

> I have a client workstation with a proprietary terminal emulator
> running on Windows. This PC is connected to a POS printer via a COM
> serial port. The client workstation along with the printer and other
> connected devices, forms the client-side of our Point of Sale (POS)
> system.

…

> The printer model is a Thermal Line Dot Printing type and it supports
> the ESC/POS command system, created by Epson, which provides
> efficient and functional commands for communication with the printer.
> For more information on ESC/POS, please refer to this site:
> https://download4.epson.biz/sec_pubs/pos/reference_en/escpos/index.html

This article was very helpful.

> Our objective is to explore open-source solutions for this
> configuration as we aim to replace the proprietary software.

I take it that by "the proprietary software" you mean the proprietary
terminal emulator running on the client PC.

One thing you might be able to do quickly is establish an SSH tunnel
between the PC and the server, then route the proprietary terminal
emulator telnet traffic through the tunnel. That, at least, will get
you a more secure connection between the PC and the server.

If I understand things correctly, the server sends all sorts of
information to the proprietary terminal emulator. Most of that gets
displayed on the emulator. But, given one VT escape code, the emulator
sends the subsequent data off to the printer, until it gets the other
VT escape code. The printer may then return a response.

If that understanding is correct, I suggest you grab an existing open
source terminal program that supports VT escape codes:

1) Modify how it handles those two escape codes.

2) Modify it to listen to the printer for responses, encode those
appropriately, and ship them to the server.

I haven't worked with VT escape sequences in decades. If I recall
correctly, some escape sequences cause the terminal to send information
back to the server. In that case, you may need to synchronize return
information from the printer with other return information.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Seeking a Terminal Emulator on Debian for "Passthrough" Printing phoebus phoebus <frphoebus@yahoo.fr> - 2024-01-12 01:40 +0100
  Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing Stefan Monnier <monnier@iro.umontreal.ca> - 2024-01-12 02:00 +0100
    Re: Seeking a Terminal Emulator on Debian for "Passthrough"  Printing phoebus phoebus <frphoebus@yahoo.fr> - 2024-01-12 14:30 +0100
  Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing Geert Stappers <stappers@stappers.nl> - 2024-01-12 07:30 +0100
    Re: Seeking a Terminal Emulator on Debian for "Passthrough"  Printing phoebus phoebus <frphoebus@yahoo.fr> - 2024-01-13 02:00 +0100
      Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing John Hasler <john@sugarbit.com> - 2024-01-13 03:50 +0100
        Re: Seeking a Terminal Emulator on Debian for "Passthrough"  Printing phoebus phoebus <frphoebus@yahoo.fr> - 2024-01-13 09:50 +0100
          Re: Seeking a Terminal Emulator on Debian for "Passthrough"  Printing Trish Fraser <trish@thefrasers.org> - 2024-01-13 10:40 +0100
            Re: Seeking a Terminal Emulator on Debian for "Passthrough"  Printing phoebus phoebus <frphoebus@yahoo.fr> - 2024-01-13 12:10 +0100
          Re: Seeking a Terminal Emulator on Debian for "Passthrough"  Printing debian-user@howorth.org.uk - 2024-01-13 14:00 +0100
            Re: Seeking a Terminal Emulator on Debian for "Passthrough"  Printing phoebus phoebus <frphoebus@yahoo.fr> - 2024-01-13 15:10 +0100
      Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing hw <hw@adminart.net> - 2024-01-15 20:10 +0100
        Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing Stefan Monnier <monnier@iro.umontreal.ca> - 2024-01-15 20:30 +0100
        Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing <tomas@tuxteam.de> - 2024-01-15 21:10 +0100
          Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing hw <hw@adminart.net> - 2024-01-16 11:50 +0100
            Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing David Wright <deblis@lionunicorn.co.uk> - 2024-01-18 06:10 +0100
              Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing hw <hw@adminart.net> - 2024-01-18 12:30 +0100
                Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing Greg Wooledge <greg@wooledge.org> - 2024-01-18 13:20 +0100
                Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing hw <hw@adminart.net> - 2024-01-18 15:30 +0100
                Re: Seeking a Terminal Emulator on Debian for "Passthrough"Printing gene heskett <gheskett@shentel.net> - 2024-01-21 02:00 +0100
                Re: Seeking a Terminal Emulator on Debian for "Passthrough"Printing <tomas@tuxteam.de> - 2024-01-21 07:50 +0100
                Re: Seeking a Terminal Emulator on Debian for "Passthrough"Printing gene heskett <gheskett@shentel.net> - 2024-01-21 13:50 +0100
                Re: Seeking a Terminal Emulator on Debian for "Passthrough"Printing "Roy J. Tellason, Sr." <roy@rtellason.com> - 2024-01-21 19:40 +0100
                Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing Max Nikulin <manikulin@gmail.com> - 2024-01-21 11:10 +0100
                Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing <tomas@tuxteam.de> - 2024-01-22 07:00 +0100
                Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing Max Nikulin <manikulin@gmail.com> - 2024-01-22 16:10 +0100
                Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing <tomas@tuxteam.de> - 2024-01-22 16:30 +0100
                Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing Stefan Monnier <monnier@iro.umontreal.ca> - 2024-01-22 16:40 +0100
                Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing <tomas@tuxteam.de> - 2024-01-22 18:50 +0100
                Re: Seeking a Terminal Emulator on Debian for "Passthrough"Printing gene heskett <gheskett@shentel.net> - 2024-01-23 04:00 +0100
                Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing Max Nikulin <manikulin@gmail.com> - 2024-01-24 18:10 +0100
                Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing Max Nikulin <manikulin@gmail.com> - 2024-01-23 18:10 +0100
                Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing David Wright <deblis@lionunicorn.co.uk> - 2024-01-23 18:20 +0100
                Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing Max Nikulin <manikulin@gmail.com> - 2024-01-24 17:50 +0100
                Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing David Wright <deblis@lionunicorn.co.uk> - 2024-01-24 20:50 +0100
                Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing Michael Stone <mstone@debian.org> - 2024-01-26 06:50 +0100
                Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing David Wright <deblis@lionunicorn.co.uk> - 2024-01-19 03:00 +0100
                Re: Seeking a Terminal Emulator on Debian for "Passthrough"  Printing phoebus phoebus <frphoebus@yahoo.fr> - 2024-01-21 02:40 +0100
                Re: Seeking a Terminal Emulator on Debian for "Passthrough"  Printing phoebus phoebus <frphoebus@yahoo.fr> - 2024-01-20 23:20 +0100
              Re: Seeking a Terminal Emulator on Debian for "Passthrough"  Printing phoebus phoebus <frphoebus@yahoo.fr> - 2024-01-20 23:00 +0100
            Re: Seeking a Terminal Emulator on Debian for "Passthrough"  Printing phoebus phoebus <frphoebus@yahoo.fr> - 2024-01-20 22:20 +0100
          Re: Seeking a Terminal Emulator on Debian for "Passthrough"  Printing phoebus phoebus <frphoebus@yahoo.fr> - 2024-01-20 21:20 +0100
            Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing "tomas@tuxteam.de" <tomas@tuxteam.de> - 2024-01-21 07:50 +0100
        Re: Seeking a Terminal Emulator on Debian for "Passthrough"  Printing phoebus phoebus <frphoebus@yahoo.fr> - 2024-01-20 20:00 +0100
  Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing Dan Ritter <dsr@randomstring.org> - 2024-01-12 12:30 +0100
    Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing Tixy <tixy@yxit.co.uk> - 2024-01-12 13:20 +0100
      Re: Seeking a Terminal Emulator on Debian for "Passthrough"  Printing phoebus phoebus <frphoebus@yahoo.fr> - 2024-01-13 02:30 +0100
        Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing <tomas@tuxteam.de> - 2024-01-13 08:40 +0100
          Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing Greg Wooledge <greg@wooledge.org> - 2024-01-13 16:10 +0100
            Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing Richard Hector <richard@walnut.gen.nz> - 2024-01-13 16:50 +0100
            Re: Seeking a Terminal Emulator on Debian for "Passthrough"  Printing Charles Curley <charlescurley@charlescurley.com> - 2024-01-13 17:00 +0100
              Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing <tomas@tuxteam.de> - 2024-01-13 17:10 +0100
                Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing gene heskett <gheskett@shentel.net> - 2024-01-13 19:20 +0100
                Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing Larry Martell <larry.martell@gmail.com> - 2024-01-14 20:00 +0100
              Re: Seeking a Terminal Emulator on Debian for "Passthrough"  Printing debian-user@howorth.org.uk - 2024-01-13 17:20 +0100
            Re: Seeking a Terminal Emulator on Debian for "Passthrough"  Printing Charles Curley <charlescurley@charlescurley.com> - 2024-01-13 23:50 +0100
              Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing Greg Wooledge <greg@wooledge.org> - 2024-01-14 01:50 +0100
                Re: Seeking a Terminal Emulator on Debian for "Passthrough"  Printing debian-user@howorth.org.uk - 2024-01-14 14:40 +0100
              Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing Stefan Monnier <monnier@iro.umontreal.ca> - 2024-01-14 06:30 +0100
            Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing <tomas@tuxteam.de> - 2024-01-14 08:20 +0100
              Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing "tomas@tuxteam.de" <tomas@tuxteam.de> - 2024-01-14 11:40 +0100
    Re: Seeking a Terminal Emulator on Debian for "Passthrough"  Printing phoebus phoebus <frphoebus@yahoo.fr> - 2024-01-12 14:50 +0100
  Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi> - 2024-01-12 15:00 +0100
    Re: Seeking a Terminal Emulator on Debian for "Passthrough"  Printing phoebus phoebus <frphoebus@yahoo.fr> - 2024-01-12 17:10 +0100
  Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing Loïc Grenié <loic.grenie@gmail.com> - 2024-01-15 11:20 +0100
    Re: Seeking a Terminal Emulator on Debian for "Passthrough"  Printing phoebus phoebus <frphoebus@yahoo.fr> - 2024-01-15 18:20 +0100
      Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing Loïc Grenié <loic.grenie@gmail.com> - 2024-01-15 23:20 +0100
  Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> - 2024-01-22 14:20 +0100
    Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing Stefan Monnier <monnier@iro.umontreal.ca> - 2024-01-22 15:00 +0100
      Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> - 2024-01-22 15:30 +0100

csiph-web