NUP(1)
β¨ NUP(1) β¨
okay bestie, welcome to the General Commands Manual entry for nup β it's giving "print multiple pages per sheet" and honestly? obsessed π
πΈ NAME πΈ
nup β multiple pages per sheet with dvi2ps π¦
π SYNOPSIS π
nup [ [ -p paper ] [ -2 ] [ -4 ] [ -8 ] [ -l ] [ -n ] ]
π DESCRIPTION π
okay so, real talk: this manual page is just a lil baby overview of the nup command, ngl. It was written for the Debian GNU/Linux distribution specifically because the original command straight up didn't have a manual page π β so we made one, you're welcome.
nup puts multiple logical pages onto each physical sheet of paper using dvi2ps. And heads up bestie, the input PostScript file should be of dvi2ps β that's the vibe, that's the whole thing β¨
-ppaper β sets the paper size, and the sizes you can use are the onesdvi2pshas available π-2β puts 2 logical pages on each sheet of paper π―-4β puts 4 logical pages on each sheet of paper π-8β puts 8 logical pages on each sheet of paper π±-lβ surrounds a page with a frame πΌοΈ-nβ does not shrink each logical page (no zoomies, no squishing) π ββοΈ
π EXAMPLES π
to print 2 pages in a sheet:
dvi2ps foo.dvi | nup -2 | lpr
to print 8 pages in a B4 paper:
dvi2ps foo.dvi | nup -8 -p b4 | lpr
to print 4 pages in a letter size paper with frame:
dvi2ps foo.dvi | nup -4 -p letter -l | lpr
to print 2 B5 size pages in a B4 paper:
dvi2ps -o b5 foo.dvi | nup -2 -n -p b4 | lpr
π SEE ALSO π
dvi2ps(1) β go read that one too, iykyk π«Ά
π AUTHOR π
This manual page was written by Atsuhito Kohda <kohda@debian.org>, for the Debian GNU/Linux system (but may be used by others) π
and that's the whole page bestie, no cap π«Ά β this was NUP(1) from the General Commands Manual, and yeah, the footer just says NUP(1) again, iconic of it honestly ππ
π¦ where this page comes from
- debian bookworm: dvi2ps 5.1j-1.5
- debian trixie: dvi2ps 5.1j-2 Β· BSD-3-Clause
- ubuntu jammy: dvi2ps 5.1j-1.4
- ubuntu noble: dvi2ps 5.1j-1.5
- ubuntu questing: dvi2ps 5.1j-2
- ubuntu resolute: dvi2ps 5.1j-3 Β· BSD-3-Clause
- ubuntu stonking: dvi2ps 5.1j-3 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms