Basic printing can be accomplished by using the /c switch.
telnetc /c PRINTER
In order to print to multiple printers at the client, or to set up a default printer without the /c switch, you must modify the telnetc.ini file, located in the Companion installation directory. Using the telnetc.ini file, a user can have up to 20 client-side printers available during a telnet session.
A server side port can be assigned to a specific client side printer, removing the need to toggle between printers. For example, to have any job printed to port LPT1: on the server print to the printer ClientPrinter on the client side, add the line:
ClientPrinter=LPT1
And any job printed to LPT2: on the server print to DifferentClientPrinter on the client side place the line:
DifferentClientPrinter=LPT2
under the [Printers] heading.
The syntax is the client side printer name=the server side port being monitored.
Modifying the telnetc.ini file:
List the name of desired printers under the [Printers] heading.
List the default printer under the [DefaultPrinter]
heading. The default printer will be used if no /c option is given.
Add the server side port to the printer as a value using =ServerPort. This is only necessary if the user wants to print to multiple printers without toggling during the session.
To change printers during a telnet session:
Type the key combination, CTRL - ]
Select menu option: Choose printer.
Select number of desired printer.
Printer Naming Conventions
The specified printer name must not
contain spaces.
If printing to a network printer, use the full
share name for the printer. For example, \\SERVERNAME\PRINTER.
If printing to a network printer connected to the
client machine, so that it is also a local printer, use the local
printer name not the share name.
Do not use the Windows shortcut icon name, but the actual printer name.