• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

pdfxup Command Examples in Linux

by admin

“pdfxup” is a command-line utility that allows you to combine multiple pages from a Portable Document Format (PDF) file into a single page. This process is referred to as “n-upping” and involves scaling and rotating the pages so that they fit into a grid on a single page.

The output of “pdfxup” is a new PDF file that contains the same content as the original, but with multiple pages combined into a smaller number of larger pages. This can be useful in a variety of situations, such as when you need to print a large document on a small number of pages to save paper, or when you want to create a compact version of a document for easier reading.

“pdfxup” provides a range of options for controlling the n-upping process, such as specifying the number of pages to be combined onto each output page, the size and orientation of the output pages, and the scaling and rotation of the individual pages. Additionally, “pdfxup” provides the ability to control the layout and placement of the pages on the output pages, allowing you to create custom layouts that meet your specific needs.

pdfxup Command Examples

1. Create a 2-up PDF:

# pdfxup -o path/to/output.pdf path/to/input.pdf

2. Create a PDF with 3 columns and 2 lines per page:

# pdfxup -x 3 -y 2 -o path/to/output.pdf path/to/input.pdf

3. Create a PDF in booklet mode (2-up, and pages are sorted to form a book when folded):

# pdfxup -b -o path/to/output.pdf path/to/input.pdf

Filed Under: Linux

Some more articles you might also be interested in …

  1. mandb: command not found
  2. iostat Command Examples in Linux
  3. userdel Command Examples in Linux
  4. sudoedit: command not found
  5. CentOS / RHEL : How to delete LUKS encrypted device
  6. “go test” Command Examples
  7. ldd: command not found
  8. doxygen: A documentation system for various programming languages
  9. CentOS / RHEL : How to configure iptable rules to allow FTP ports 20/21
  10. pacman –upgrade Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright