Article: 10943 of comp.protocols.kermit.misc
From: email@example.com (Frank da Cruz)
Subject: Case Study #9: Printing
Date: 16 Jan 2000 23:40:08 GMT
Organization: Columbia University
C-Kermit 7.0 offers many ways to print, some of which are new. This discussion focuses on the Unix version of C-Kermit but to some extent also applies to Kermit 95 and MS-DOS Kermit.
Each kind of printing uses the SET PRINTER value as the destination for material to be printed. You can see the current SET PRINTER value with SHOW PRINTER. The default PRINTER value is "(default)", which means to use the default system printer. The Unix version of C-Kermit lets you select different SET PRINTER values, which can be:
Printing methods include:
Transparent printing is initiated by the host when it sends the escape sequence <ESC>[5i to the terminal (when C-Kermit is in CONNECT mode, C-Kermit is the "terminal"). All subsequent material goes to the printer (rather than the screen) until the escape sequence <ESC>[4i arrives, which means to stop printing.
C-Kermit 7.0 does transparent printing only if you tell it to SET TERMINAL PRINT ON. By default, TERMINAL PRINT is OFF for compatibility with previous releases and also because you might be accessing Unix from a real terminal or a terminal emulator that you want to handle the transparent printing. The SHOW TERMINAL command tells you whether PRINT is ON or OFF.
Unlike the Kermit-protocol based methods, transparent printing is NOT error-checked; this can