remote printing with ssh/telnet
wojtek at tensor.3miasto.net
Sat Feb 24 11:23:12 UTC 2007
citation from putty documentation:
4.3.9 Remote-controlled printing A lot of VT100-compatible terminals
support printing under control of the remote server. PuTTY supports this
feature as well, but it is turned off by default. To enable
remote-controlled printing, choose a printer from the "Printer to send
ANSI printer output to" drop-down list box. This should allow you to
select from all the printers you have installed drivers for on your
computer. Alternatively, you can type the network name of a networked
printer (for example, \\printserver\printer1) even if you haven't already
installed a driver for it on your own machine. When the remote server
attempts to print some data, PuTTY will send that data to the printer raw
- without translating it, attempting to format it, or doing anything else
to it. It is up to you to ensure your remote server knows what type of
printer it is talking to. Since PuTTY sends data to the printer raw, it
cannot offer options such as portrait versus landscape, print quality, or
paper tray selection. All these things would be done by your PC printer
driver (which PuTTY bypasses); if you need them done, you will have to
find a way to configure your remote server to do them. To disable remote
printing again, choose "None (printing disabled)" from the printer
selection list. This is the default state.
my question - how to use "remote printing" feature from my console based
program? is it documented somewhere?
does it work by writing to stdout something like
does it transmit printer data raw (so my program has to take care of
printer type) or in some predefined standard (like postscript)?
thank you very much?
More information about the freebsd-questions