termprinter(1) DG/UX 5.4.2 termprinter(1)
NAME
termprinter - print a file using the 40014A Terminal Server
SYNOPSIS
/var/spool/lp/model/termprinter
DESCRIPTION
This script takes the file to be printed from standard input. This
script combines print header information with the file to be printed
and then sends the file to a printer connected to a DG model 40014A
Terminal Server through the use of the /usr/lib/lp/bin/lp.termprinter
utility. This routine does not perform any conversion except for tab
expansion before sending it to the print routine.
This routine will store any output from the
/usr/lib/lp/bin/lp.termprinter utility in a file called:
/tmp/lp.termprinter-printer-name-job-number
where printer-name and job-number are the same as those returned by
the lp program when the print job is queued. This file is not
deleted when lp.termprinter returns with a status value greater than
0.
This routine takes the name of the printer, which will be the name of
the script after it has been copied by the sysadm utility, and uses
this as the host name for the lp.termprinter utility. For this
reason, the printer should have been set up as a host using the
sysadm utility under the same name assigned to the printer.
Refer to the "40014A Terminal Server / AViiON Release Notice" for
further information.
FILES
/var/spool/lp/model/termprinter
/usr/lib/lp/bin/lp.termprinter
SEE ALSO
lp.termprinter(1), sysadm(1M).
Licensed material--property of copyright holder(s) 1