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 ✨

  • -p paper β€” sets the paper size, and the sizes you can use are the ones dvi2ps has 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 πŸ‘‘πŸ’–