\input poligraf \hsize65mm \vsize100mm \TwoSide \LeftMargins 8mm \TopMargins 10mm \Comment{Test document} \Booklet{2}{2} \Language\English \ColorBar\ON \ColorSteps\ON \GraySteps\ON \psPoligraf{80mm}{120mm} \Mirror \pageno=1 % ----------------------------------------------------------- \tolerance1000 \righthyphenmin2 \font\I cminch \footline{\hfil\vbox to0pt{\vss\hbox{\I\the\pageno}\kern5cm}\hfil} % ----------------------------------------------------------- \def\Page{\parindent 0em This is example of test page. This is example of test page. This is example of test page. This is example of test page. This is example of test page. This is example of test page. \vskip0ptplus1filll The end of test page. The end of test page. The end of test page. The end of test page. The end of test page. The end of test page. The end of test page. The end of test page. \eject} % ----------------------------------------------------------- \newcount\PageNumber \PageNumber=1 \loop \Page \ifnum\PageNumber<50 \advance\PageNumber by 1 \repeat % \end