SROFF(1) UNIX Programmer's Manual SROFF(1) NAME sroff - text formatting for Sanders printer SYNTAX sroff [ option ] ... [ file ] ... DESCRIPTION _S_r_o_f_f formats text in the named _f_i_l_e_s for printing on a Sanders Media 12/7 printer and is similar to _n_r_o_f_f and _t_r_o_f_f, from which it is derived. The _N_r_o_f_f/_T_r_o_f_f _u_s_e_r'_s _m_a_n_u_a_l applies to _s_r_o_f_f as well, with exceptions listed in the _S_r_o_f_f _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l. In general, _s_r_o_f_f works simi- larly to _t_r_o_f_f, although it has some of the limitations of _n_r_o_f_f. If no _f_i_l_e argument is present, the standard input is read. An argument consisting of a single minus (-) is taken to be a file name corresponding to the standard input. The options, which may appear in any order so long as they appear before the files, are: -o_l_i_s_t Print only pages whose page numbers appear in the comma-separated _l_i_s_t of numbers and ranges. A range _N-_M means pages _N through _M; an initial -_N means from the beginning to page _N; and a final _N- means from _N to the end. -n_N Number first generated page _N. -m_n_a_m_e Use the macro package _n_a_m_e by prepending the macro file /usr/lib/tmac/tmac._n_a_m_e to the input _f_i_l_e_s. -r_a_N Set register _a (one-character) to _N. -i Read standard input after the input files are exhausted. -q Invoke the simultaneous input-output mode of the rd request. -F_n_a_m_e Mount set of fonts _n_a_m_e. This option is dependent on the fonts mounted in the printer. Examples are H10 for Helvesan 10 point Regular and Italic and M12 for Messenger 12 (underlining when in font 2). -d Use draft mode, substituting fast-printing draft fonts whenever available. -c Set up for continuous (roll or fanfold) paper. In particular, no top margin is generated by the printer. Printed 7/25/83 1 SROFF(1) UNIX Programmer's Manual SROFF(1) -nroff Define n rather than t to emulate _n_r_o_f_f. This can be useful for making macro packages work as with _n_r_o_f_f, _e_s_p_e_c_i_a_l_l_y _w_h_e_n _u_s_i_n_g _a _t_y_p_e_w_r_i_t_e_r or a set of fonts with no italics. -t Direct output to the standard output instead of the sanders printer. -w Wait until printer is available, if currently busy. -b Report whether the printer is busy or available. No text processing is done. -z Suppress output, just produce any diagnostic mes- sages. -S Notify the user when printing finishes. Used when _s_r_o_f_f is run in background. FILES /tmp/ta* temporary file /usr/lib/tmac/tmac.* standard macro files /usr/lib/sfont/* font width tables for _s_r_o_f_f /dev/sanders printer SEE ALSO Michael Karels, _S_r_o_f_f _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l J. F. Ossanna, _N_r_o_f_f/_T_r_o_f_f _u_s_e_r'_s _m_a_n_u_a_l B. W. Kernighan, _A _T_R_O_F_F _T_u_t_o_r_i_a_l seqn(1), tbl(1) BUGS Large backward vertical motions may not work with the paper feeder. Vertical lines frequently fail, especially on the right-hand side of the page; this usually prevents boxed tables from printing correctly. Printed 7/25/83 2