termprinter(1) DG/UX 4.31 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/lptermprinter 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/lptermprinter utility in a file called:
/tmp/lptermprinter-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 lptermprinter 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
lptermprinter 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/lptermprinter
SEE ALSO
lptermprinter(1), sysadm(1M).
Licensed material--property of copyright holder(s) Page 1