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


Groups > linux.debian.user > #265836

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

From phoebus phoebus <frphoebus@yahoo.fr>
Newsgroups linux.debian.user
Subject Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing
Date 2024-01-12 17:10 +0100
Message-ID <HVsgy-2C46-7@gated-at.bofh.it> (permalink)
References <HVdKx-2sXl-9@gated-at.bofh.it> <HVdKx-2sXl-7@gated-at.bofh.it> <HVqeJ-2AEQ-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hello,

>> Is this also true of the Linux version of Putty? I've never used it but
>> it's packaged in Debian. Also I wonder what it is you mean with
>> "bidirectionally" here. Do you expect to read data from the printer and
>> send it back?

Yes, bidirectional communication is expected in both directions because behind this printer, several other devices are controlled through the printer, making the terminal a central point in the seamless interaction with the server for our users. What we aim to achieve is the ability to print directly to the COM port. While we are aware of commercial emulators that can accomplish this, we are exploring whether there are open-source alternatives that can provide the same functionality.
Currently, this functionality is handled by a commercial emulator.

>> Another thing I found with a quick search is screen. While screen is a
>> terminal multiplexer, it has a user controllable setting printcmd for
>> printing:
>>
>> "printcmd [cmd]
>>
>> If cmd is not an empty string, screen will not use the terminal
>> capabilities "po/pf" if it detects an ansi print sequence ESC [ 5 i, but
>> pipe the output into cmd.  This should normally be a command like "lpr"
>> or "'cat > /tmp/scrprint'".  printcmd without a command displays the
>> current setting.  The ansi sequence ESC \ ends printing and closes the
>> pipe.  Warning: Be careful with this command! If other user have write
>> access to your terminal, they will be able to fire off print commands."
>>
>> >From that description you should be able to set printcmd to for example
>> cat > /dev/ttyUSB_whatever and the remote printing will go there.

Screen does not have the capability to switch to transparent mode or specifically handle escape codes for printing natively, which it would receive from the application in order to pass to printcmd. Moreover, due to the continuous exchange based on the application's menus, managing this as an overlay to redirect the output to an external command could become quite complex.

The printcmd feature in screen is primarily designed to redirect the output of the application to an external printing command. However, it is not intended to effectively handle bidirectional flows involving other devices.

Thank you for the suggestion.

Best Regards,
Thierry

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