AUTO-MULTIPLE-CHOI(1)

๐Ÿ“ฆ version 1.7.0, in arch rolling, nixpkgs unstable

ๅๅ‰ (NAME) ๐Ÿ’–

auto-multiple-choice-imprime โ€” prints out AMC exam papers so you can literally hand them to the candidates, bestie. Slay.

ๆฆ‚่ฆ (SYNOPSIS) โœจ

auto-multiple-choice imprime --sujet subject.pdf
                     --fich-nums numbers-file.txt --data data-dir
                     --methode method [where-to-print-arguments...]

DESCRIPTION ๐ŸŒธ

Okay so the auto-multiple-choice imprime command prints the exam papers you picked. That's the whole vibe.

ๅฐๅˆทๅ†…ๅฎนใฎๆŒ‡ๅฎš โ€” picking WHAT to print ๐ŸŽ€

These args decide what actually comes out of the printer:

  • --sujet subject.pdf โ€” sets the exam paper file (the one made by auto-multiple-choice-prepare(1), iykyk).
  • --fich-nums numbers-file.txt โ€” points at a file listing the exam numbers you wanna print, one per line. No file? Then literally every exam paper gets printed. All of them. Periodt.
  • --data data-dir โ€” the directory holding the data files (go see auto-multiple-choice-meptex(1) and friends). The layout database in that data directory is how it knows which pages each exam paper spans โ€” like, page X through page Y. Iconic.
  • --split โ€” prints the separate answer sheets separately.
  • --answer-first โ€” sorts it so the separate answer sheets come first.

ๅฐๅˆทๆ–นๆณ•ใฎๆŒ‡ๅฎš โ€” picking HOW to print ๐Ÿฆ‹

A few print methods are defined:

  • With --methode CUPS, auto-multiple-choice imprime prints to a CUPS printer. It sends one print job per copy so stuff like automatic stapling can happen per exam paper. Use these options with it:
    • --imprimante printer โ€” sets the name of the CUPS printer to print on.
    • --options cups-options โ€” CUPS options, written as opt1=value1,opt2=value2,....
  • With --methode file, auto-multiple-choice imprime writes the exam papers to files โ€” one file per copy, no cap.
    • --output filename โ€” sets the output filename. If the sequence %e shows up, it gets swapped for the 4-digit exam number. And if filename does not contain %e, the string -%e.pdf gets tacked on the end. Surprise ending ๐Ÿ’….
  • With --methode command, auto-multiple-choice imprime runs the command you specify, once per copy of the exam paper.
    • --print-command command โ€” the command to use for printing. The command string gets split at whitespace characters (yes, even if you used quotes โ€” literally splitting on spaces regardless, so heads up ๐Ÿ™ˆ). The sequence %f is replaced with the PDF filename (the one containing the exam paper to print), and %e is replaced with the exam number.

ใใฎไป–ใฎใ‚ชใƒ—ใ‚ทใƒงใƒณ โ€” the other options โญ

These are available too:

  • --extract-with command โ€” the command used to extract pages from the exam PDF. Right now pdftk, gs or qpdf can be given. Default is pdftk, but if it's not installed then qpdf is used, and then gs in that order. It's giving fallback queen ๐Ÿ‘‘.

่‘—่€… (AUTHORS) ๐Ÿ’œ

  • Bienvenue Alexis[FAMILY Given] <paamc@passoire.fr> โ€” main author
  • Sarkar Anirvan[FAMILY Given] โ€” author and editor
  • Kagotani Hiroto[FAMILY Given] โ€” editor
  • Brรฉal Frรฉdรฉric[FAMILY Given] โ€” author and editor
  • Bรฉrard Jean[FAMILY Given] โ€” translation from the French version to the English version
  • Khaznadar Georges[FAMILY Given] โ€” translation from the French version to the English version
  • Kagotani Hiroto[FAMILY Given] โ€” translation from the English version to the Japanese version

Copyright ยฉ 2008-2018 Alexis Bienvenรผe

This document can be used under the GNU General Public License version 2 or later. ๐Ÿซถ


Bestie, this whole page is Auto Multiple Choice 1.7.0, dated 2025-04-17 โ€” go forth and print those exam papers, no cap ๐Ÿ’–โœจ
๐Ÿ“ฆ where this page comes from