TRANSCRIPT(8) UNIX Programmer's Manual TRANSCRIPT(8) NAME pscomm, ps?f, psbad, psrv, pstext, psbanner, psint - TRAN- SCRIPT spooler filters for POSTSCRIPT printers SYNOPSIS /usr/misc/lib/ps/ps* DESCRIPTION These are the low-level TRANSCRIPT interface filters for use by the 4.2BSD line printer spooling system through the printer description file /_e_t_c/_p_r_i_n_t_c_a_p. The _p_s?_f entries are all links to the _p_s_i_n_t._s_h shell script. This script uses argv[0] (the name it was invoked under) to determine which action to take. The options are as specified in the _4._2_B_S_D _L_i_n_e _P_r_i_n_t_e_r _S_p_o_o_l_e_r _M_a_n_u_a_l. This shell script sources a printer-specific shell script named ._o_p_t_i_o_n_s in the current working directory (the spooling directory) which may do additional printer-specific processing (e.g., specify no page reversal). The _p_s_o_f entry is responsible for for- matting a banner break page. It exec's the _p_s_b_a_n_n_e_r filter which leaves the banner page in a file named ``.banner'' for _p_s_c_o_m_m to print. The program _p_s_c_o_m_m is the lowest level filter. It manages communication with the printer, error handling, status reporting, etc. It distinguishes between text files (which get formatted) and POSTSCRIPT print files. If the input to _p_s_c_o_m_m does not begin with the POSTSCRIPT magic number - the first two characters being ``%!'' - _p_s_c_o_m_m will invoke _p_s_t_e_x_t to list the file on the printer. If the first bytes of the input file are ``%!PS-Adobe-'', and if the printer options so specify, _p_s_c_o_m_m will also page-reverse the file (with the _p_s_r_v filter) before print- ing. All other ``formatting'' filters run _p_s_c_o_m_m at the far end of a pipeline, the nearer end doing translation to POSTSCRIPT only. _p_s_g_f, _p_s_n_f, _a_n_d _p_s_t_f, are the filters for _p_l_o_t(5), _d_i_t_r_o_f_f(1), and _t_r_o_f_f(1) respectively. The _p_s_i_f filter will also accept any POSTSCRIPT print file, such as those generated by Scribe. Other filter entries, such as those for _T_e_X _D_V_I files, _c_i_f_p_l_o_t, and raw raster data are not yet in place, and may be available from other sources. The current action for these filter types is to execute _p_s_b_a_d, a script which prints and logs an error message that the translation filter is not available. The translation filters are usually invoked by giving an option to _l_p_r(1). It is not correct to invoke the interface filters directly. More flexibility in format conversion may be achieved by avoiding the filter/translation step via an _l_p_r option, and invoking a translator directly. FILES /usr/misc/lib/ps/ Printed 1/10/87 12 Nov 1985 1 TRANSCRIPT(8) UNIX Programmer's Manual TRANSCRIPT(8) POSTSCRIPT library, prologues, filters, etc. /usr/tmpX/RV* Temporary files for _p_s_r_v. .options Printer-specific options script (in the printer spool directory). _p_r_i_n_t_e_r.acct Printer accounting file. _p_r_i_n_t_e_r-log Printer log file. .banner Break page temporary (in the spool directory) , gen- erated by _p_s_o_f/_p_s_b_a_n_n_e_r. status Printer status file (in the spool directory), shared by _l_p_d(8), and _p_s_c_o_m_m. SEE ALSO lpr(1), lpc(8), lpd(8), printcap(5). enscript(1), ps4014(1), ps630(1), pscat(1), psdit(1), psrev(1), psroff(1), ptroff(1). _4._2_B_S_D _L_i_n_e _P_r_i_n_t_e_r _S_p_o_o_l_e_r _M_a_n_u_a_l AUTHOR Adobe Systems Incorporated NOTES POSTSCRIPT and TRANSCRIPT are trademarks of Adobe Systems Incorporated. Scribe and Unilogic are registered trademarks of Unilogic, Ltd. TeX is a trademark of the American Mathematical Society. Printed 1/10/87 12 Nov 1985 2