The Kniffel Table Printouts

The challenge was to have a single-page PDF with a Kniffel table and print it four times on one sheet. Although the print driver allows printing multiple pages per sheet and making copies, it can’t combine both functions to print the same page multiple times on one sheet.

To solve this, I used Imagemagick with the following command:

convert input.pdf[0] -duplicate 3 -adjoin output.pdf

This duplicates the first page of the input document three times, creating a new output PDF with four identical pages. Then, using the print driver’s “multiple pages per sheet” feature, I could print all four pages on a single sheet and make multiple copies if needed.

Installation of Imagemagick

To install ImageMagick on Ubuntu, follow these steps:

  1. Update your package list:
sudo apt update
  1. Install ImageMagick:
sudo apt install imagemagick
  1. Verify the installation:

Check the installed version to confirm it’s working:

convert --version

This command should display version information for ImageMagick if the installation was successful.

If you need additional functionality, like PDF support with ImageMagick, you might also need to install ghostscript:

sudo apt install ghostscript

This will ensure that ImageMagick can handle PDF files effectively.

♥♥♥

Monero