PSNUP(1) User Commands PSNUP(1) NAME psnup - multiple pages per sheet SYNOPSIS psnup [ -w_w_i_d_t_h ] [ -h_h_e_i_g_h_t ] [ -p_p_a_p_e_r ] [ -W_w_i_d_t_h ] [ - H_h_e_i_g_h_t ] [ -P_p_a_p_e_r ] [ -l ] [ -r ] [ -f ] [ -c ] [ -m_m_a_r_g_i_n ] [ -b_b_o_r_d_e_r ] [ -d_l_w_i_d_t_h ] [ -s_s_c_a_l_e ] [ -_n_u_p ] [ - q ] [ _i_n_f_i_l_e [ _o_u_t_f_i_l_e ] ] DESCRIPTION _P_s_n_u_p puts multiple logical pages onto each physical sheet of paper. The input PostScript file should follow the Adobe Document Structuring Conventions. The -_w option gives the paper width, and the -_h option gives the paper height, normally specified in cm or in to convert PostScript's points (1/72 of an inch) to centimeters or inches. The -_p option can be used as an alternative, to set the paper size to a3, a4, a5, b5, letter, legal, or 10x14. The default paper size is a4. The -_W, -_H, and -_P options set the input paper size, if it is different from the output size. This makes it easy to impose pages of one size on a different size of paper. The -_l option should be used for pages which are in landscape orientation (rotated 90 degrees anticlockwise). The -_r option should be used for pages which are in seascape orientation (rotated 90 degrees clockwise), and the -_f option should be used for pages which have the width and height interchanged, but are not rotated. _P_s_n_u_p normally uses `row-major' layout, where adjacent pages are placed in rows across the paper. The -_c option changes the order to `column-major', where successive pages are placed in columns down the paper. A margin to leave around the whole page can be specified with the -_m option. This is useful for sheets of `thumbnail' pages, because the normal page margins are reduced by put- ting multiple pages on a single sheet. The -_b option is used to specify an additional margin around each page on a sheet. The -_d option draws a line around the border of each page, of the specified width. If the _l_w_i_d_t_h parameter is omitted, a default linewidth of 1 point is assumed. The linewidth is relative to the original page dimensions, _i._e. it is scaled down with the rest of the page. The scale chosen by _p_s_n_u_p can be overridden with the - _s option. This is useful to merge pages which are already SunOS 5.5 Last change: PSUtils Release 1 Patchlevel 16 1 PSNUP(1) User Commands PSNUP(1) reduced. The -_n_u_p option selects the number of logical pages to put on each sheet of paper. This can be any whole number; _p_s_n_u_p tries to optimise the layout so that the minimum amount of space is wasted. If _p_s_n_u_p cannot find a layout within its tolerance limit, it will abort with an error message. The alternative form _i _n_u_p can also be used, for compatibility with other n-up programs. _P_s_n_u_p normally prints the page numbers of the pages re- arranged; the -_q option suppresses this. EXAMPLES The potential use of this utility is varied but one particu- lar use is in conjunction with _p_s_b_o_o_k(_1). For example, using groff to create a PostScript document and lpr as the UNIX print spooler a typical command line might look like this: groff -Tps -ms _f_i_l_e | psbook | psnup -2 | lpr Where file is a 4 page document this command will result in a two page document printing two pages of _f_i_l_e per page and rearranges the page order to match the input pages 4 and 1 on the first output page and pages 2 then 3 of the input document on the second output page. AUTHOR Copyright (C) Angus J. C. Duggan 1991-1995 SEE ALSO psbook(1), psselect(1), pstops(1), epsffit(1), psnup(1), psresize(1), psmerge(1), fixscribeps(1), getafm(1), fixdlsrps(1), fixfmps(1), fixmacps(1), fixpsditps(1), fixpspps(1), fixtpps(1), fixwfwps(1), fixwpps(1), fixwwps(1), extractres(1), includeres(1) TRADEMARKS PostScript is a trademark of Adobe Systems Incorporated. BUGS _P_s_n_u_p does not accept all DSC comments. SunOS 5.5 Last change: PSUtils Release 1 Patchlevel 16 2