Re: printing with putty

From: Jacob Nevins (jacobn@chiark.greenend.org.uk)
Date: 06/28/02


From: Jacob Nevins <jacobn@chiark.greenend.org.uk>
Date: 28 Jun 2002 13:03:37 +0100 (BST)

This is nothing to do with SSH, but never mind:

vervoom <vervoom@hotmail.com> writes:
>Should I be issuing a command like 'lp file' ?

What you should do depends on your software. The way it works is that
when PuTTY sees a particular escape sequence, it starts directing all
received data to a printer instead of the screen (another sequence
turns this off).

There is a C program called 'lpansi' floating around which will do
this -- Google for it.

>And then do I need to configure mthe server to print to the printer
>that I've set up in Putty? In which case I'm not quite sure why I
>would need to tell Putty which printer to send the data to?

You need to arrange that the server sends printer data in the
appropriate format (PostScript, PCL, etc). The configuration in PuTTY
is simply to route the raw data to the right place.



Relevant Pages

  • Re: PuTTy escape sequence
    ... some people use the phrase `escape sequence' to mean ... PuTTY able to modify its port forwarding setup in response to output ... if the original poster merely wants a way to reconfigure ...
    (comp.security.ssh)
  • Re: putty local execution
    ... > I'd like to know if is possible to send an escape sequence to putty to have ... This would be hideously insecure and open up all sorts of ... You might like to investigate DoIt ...
    (comp.security.ssh)
  • Re: printing with putty
    ... >Should I be issuing a command like 'lp file'? ... when PuTTY sees a particular escape sequence, ... >And then do I need to configure mthe server to print to the printer ... >that I've set up in Putty? ...
    (comp.security.ssh)
  • Re: printing with putty
    ... Sorry that it wasn't relevant to SSH. ... you can get help with Putty though. ... > when PuTTY sees a particular escape sequence, ... >>And then do I need to configure mthe server to print to the printer ...
    (comp.security.ssh)
  • terminal usability -- using keyboard to select text instead of mouse
    ... Putty has a great facility that lets you double click on part of a the ... I'd then want paste that path onto the command line so I could pass it ... move the cursor above the 'command line' 3 lines. ... with CTRL+ an arrow key, the terminal would reposition the gray box, ...
    (comp.terminals)

Quantcast