PCPRINT
Section: User Commands (1C)
Updated: LOCAL
Index
Return to Main Contents
NAME
pcprint - print on local PC printer
SYNOPSIS
pcprint file [file ...]
DESCRIPTION
pcprint
allows you to print data from the UNIX system on a printer which is
connected to your terminal or PC. The terminal must be a DEC VT102,
VT200 series, or VT300 series, or compatible, or your PC must be running
software that emulates one of these terminals, and the emulation must
include the "transparent print" feature. For example, MS-Kermit 2.31 or
later may be used on the IBM PC or PS/2 with pcprint.
The pcprint command may be used to print either text or binary files on
your printer. To do this, pcprint overrides the normal even parity issued by
the UNIX terminal driver.
While pcprint is active, text sent to your screen is redirected to the local
printer by the terminal or PC's internal mechanisms. These are triggered
when the special escape sequence "ESC [ 5 i" is received, and are deactivated
when when "ESC [ 4 i" is received. These sequences are sent by pcprint.
INVOCATION OPTIONS
- pcprint
-
lets you type from the keyboard directly to your printer. End with Ctrl-D.
- pcprint file
-
prints the UNIX file on your printer. "file" may be a single file,
a list of files, or a wildcard file specification. If more than one file
is specified, they are not separated on the printout (but see below).
- pcprint < file
-
prints the UNIX file on your printer. If more than one file is specified,
only the first one is printed.
- command | pcprint
-
The standard output of any UNIX command may be piped to pcprint.
The pcprint command may be used with the MM mail program to print mail
messages on your local printer from within MM. To do this, issue the
MM command "set print-filter pcprint". Subsequent MM "print" commands
will go to your local printer.
The pcprint program may also be used with the UNIX "pr" command to produce
paginated listings. For example:
pr -f *.c | pcprint
will print all your C programs with page headings containing the date and
time, filename, and page number, with formfeeds inserted between each page.
You can include "pr" in your MM print-filter too:
set print-filter pr -f -h "E-Mail Message" | pcprint
The pcprint program can be safely interrupted by typing Control-C. If you
interrupt it this way, it will restore your terminal to normal (non-printing).
SEE ALSO
mm(l), pr(1)
Christine Gianone et al, "MS-DOS Kermit User's Guide", Columbia
University, December 1988.
AUTHORS
Christine Gianone and Frank da Cruz, Columbia University, March 1989.
BUGS
No known problems on the SUN computers. VAX computers running Ultrix may
not be able to respond to flow control commands from the terminal or PC,
and therefore data may be lost during printing.
If you run pcprint from a terminal or PC that does not have a printer
attached, or with a printer that is not turned on, the terminal or PC may
become stuck waiting for the printer to become ready.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- INVOCATION OPTIONS
-
- SEE ALSO
-
- AUTHORS
-
- BUGS
-
This document was created by
man2html,
using the manual pages.
Time: 18:08:29 GMT, February 10, 2023