help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Send command to printer


From: Alex fxmbsw7 Ratchev
Subject: Re: Send command to printer
Date: Sat, 21 Aug 2021 15:08:40 +0200

you could co pipe your shell terminal to a cmd i dont know that realtime
prints its stdin, .. but yea i dunno the cmds

On Sat, Aug 21, 2021, 15:07 Julius Hamilton <julkhami@gmail.com> wrote:

> Hey,
>
> I would like to type in a command into a terminal, and for the terminal to
> automatically send the command I typed in, and the output printed to
> stdout, to a physical paper printer.
>
> Is it possible for me to edit my bashrc file or configure bash in some way
> to always echo the command entered back to stdout? In the terminal you
> would see the command twice, but if everything in stdout were being sent to
> a printer, you would only see it once on the printer, I believe.
>
> Also, what is the simplest way to configure bash to send all stdout to a
> printer?
>
> Thanks very much,
> Julius
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]