[9089] | 1 | .TH PSINTERFACE 8 "19 August 1992" "Adobe Systems" |
---|
| 2 | \" Copyright (c) 1992 Adobe Systems Incorporated. All Rights Reserved. |
---|
| 3 | \" ATTN GOVERNMENT END USERS: See notice of rights in file XPSLIBDIRX/Notice |
---|
[9217] | 4 | \" RCSID: $Header: /afs/dev.mit.edu/source/repository/third/transcript/man/psinterface.8p,v 1.2 1996-10-14 05:09:48 ghudson Exp $ |
---|
[9089] | 5 | .ds PS P\s-2OST\s+2S\s-2CRIPT\s+2 |
---|
| 6 | .ds TS T\s-2RAN\s+2S\s-2CRIPT\s+2 |
---|
| 7 | .SH NAME |
---|
[9217] | 8 | psinterface \- TranScript spooler filters for PostScript printers |
---|
[9089] | 9 | .SH "SYNOPSIS" |
---|
| 10 | .B psinterface |
---|
| 11 | .SH "DESCRIPTION" |
---|
| 12 | The |
---|
| 13 | .I psinterface |
---|
| 14 | shell script is the printer interface program as supplied to |
---|
| 15 | lpadmin. |
---|
| 16 | The options are as specified in the |
---|
| 17 | .I Line Printer Spooling Utilities Guide. |
---|
| 18 | This shell script reads a printer-specific shell script named |
---|
| 19 | transcript/\fIprinter\fP.opt |
---|
| 20 | below the current working directory (the lp spooling directory) which |
---|
| 21 | may do additional printer-specific processing. |
---|
| 22 | The \fIprinter\fP.opt script is often used to redefine the values of |
---|
| 23 | some environment variables that regulate page-reversal, |
---|
| 24 | how to print banner pages, etc. for specific printers. See below. |
---|
| 25 | .PP |
---|
| 26 | .I Psinterface |
---|
| 27 | is responsible for the complete processing of the print job, invoking |
---|
| 28 | programs to accomplish banner pages, document management, and |
---|
| 29 | communications. |
---|
| 30 | If job banner break pages are enabled for this printer (and requested |
---|
| 31 | for this job), |
---|
| 32 | .I psinterface |
---|
| 33 | will invoke |
---|
| 34 | psbanner |
---|
| 35 | to format a banner break page. |
---|
| 36 | .I Psinterface |
---|
| 37 | currently recognizes three \*(TS-specific spooling options (presented to |
---|
| 38 | lp |
---|
| 39 | with the |
---|
| 40 | .B \-o |
---|
| 41 | flag). The |
---|
| 42 | .B h |
---|
| 43 | option suppresses the printing of a banner break page, the |
---|
| 44 | .B r |
---|
| 45 | option suppresses page reversal, and the |
---|
| 46 | .B m |
---|
| 47 | option causes |
---|
| 48 | .I psinterface |
---|
| 49 | to send any stream output from the execution of the user's \*(PS |
---|
| 50 | print file back to the user as mail. |
---|
| 51 | .PP |
---|
| 52 | The |
---|
| 53 | .I psinterface |
---|
| 54 | script also invokes a communications program for communicating with the |
---|
| 55 | printer. Communications programs are provided for serial |
---|
| 56 | communications, Centronix parallel communications, Appletalk |
---|
| 57 | communications, and Ethernet |
---|
| 58 | communications with either a QMS printer or a MiLAN FastPort printer |
---|
| 59 | server. |
---|
| 60 | .I Psinterface |
---|
| 61 | and the communications program |
---|
| 62 | manage a printer log file named |
---|
| 63 | transcript/\fIprinter\fP-log (under the lp spooling directory). |
---|
| 64 | This file contains a log of each job processed, as well as any |
---|
| 65 | error output from the printer. In particular, it contains messages |
---|
| 66 | regarding the printer being out of paper, jammed, etc. Doing a |
---|
| 67 | tail |
---|
| 68 | on this file will help determine the printer's status. |
---|
| 69 | .PP |
---|
| 70 | .B "psinterface Environment Variables." |
---|
| 71 | .br |
---|
| 72 | A number of environment variables are used by the spooler filters. |
---|
| 73 | These are listed below. |
---|
| 74 | The |
---|
| 75 | .I psinterface |
---|
| 76 | script sets the initial value for each, |
---|
| 77 | and the \fIprinter\fP.opt file can be used to change the value for a |
---|
| 78 | particular printer. |
---|
| 79 | Note that Bourne shell syntax must be used in both |
---|
| 80 | .I psinterface, |
---|
| 81 | and the \fIprinter\fP.opt file. |
---|
| 82 | Many of the variables take a number value and specify whether or not |
---|
| 83 | an action should take place; 1 means do the action and |
---|
| 84 | 0 means don't do it. |
---|
| 85 | .PP |
---|
| 86 | .ta 2.25i |
---|
| 87 | .tc |
---|
| 88 | BANNERFIRST=\fInumber\fP print a banner at start of the job |
---|
| 89 | .br |
---|
| 90 | BANNERLAST=\fInumber\fP print a banner at end of the job |
---|
| 91 | .br |
---|
| 92 | BANNERPRO=\fIfile name\fP banner prologue file |
---|
| 93 | .br |
---|
| 94 | VERBOSELOG=\fInumber\fP print verbose log messages |
---|
| 95 | .br |
---|
| 96 | PSTEMPDIR=\fIdirectory name\fP directory for temporary files |
---|
| 97 | .PP |
---|
| 98 | You can change the banner page for a particular printer by redefining |
---|
| 99 | the BANNERPRO value. |
---|
| 100 | .SH FILES |
---|
| 101 | .TP 2.2i |
---|
| 102 | XPSLIBDIRX/ |
---|
| 103 | \*(TS library, prologues, filters, etc |
---|
| 104 | .TP 2.2i |
---|
| 105 | \fIspooldir\fP/transcript/\fIprinter\fP-log |
---|
| 106 | printer log file |
---|
| 107 | .TP 2.2i |
---|
| 108 | \fIspooldir\fP/transcript/\fIprinter\fP.opt |
---|
| 109 | printer-specific options script |
---|
| 110 | .TP 2.2i |
---|
| 111 | XPSTEMPDIRX/b* |
---|
| 112 | banner break page temporary file generated by |
---|
| 113 | .IR psinterface/psbanner |
---|
| 114 | .TP 2.2i |
---|
| 115 | XPSTEMPDIRX/o* |
---|
| 116 | job output temporary file for mail |
---|
| 117 | .TP 2.2i |
---|
| 118 | XPSTEMPDIRX/t* |
---|
| 119 | temporary file to format text files |
---|
| 120 | .SH "SEE ALSO" |
---|
| 121 | transcript(1), lp(1), lpstat(1), lpsched(1M), lpadmin(1M), psdman(8), |
---|
| 122 | pscomm(8), qmscomm(8), lpcomm(8), fpcomm(8), capcomm(8) |
---|
| 123 | .SH AUTHOR |
---|
| 124 | Adobe Systems Incorporated |
---|
| 125 | .SH NOTES |
---|
| 126 | \*(PS is a registered trademark of Adobe Systems Incorporated. |
---|
| 127 | .br |
---|
| 128 | \*(TS is a trademark of Adobe Systems Incorporated. |
---|