The auto-multiple-choiceimprime command prints selected copies from a AMC multiple choice answer sheet.
Whattoprint
The following arguments describe what to print:
--sujetsubject.pdf
sets the subject file (prepared by auto-multiple-choice-prepare(1)).
--fich-numsnumbers-file.txt
gives a file where the numbers of the copies to be printed are written (one number per line). If this
argument is not given, all the copies will be printed.
--datadata-dir
gives the directory where data files are (see for example auto-multiple-choice-meptex(1)). The layout
database in the data directory is used to know at which page of the subject file each copy begins and
ends.
--split
asks to print separate answer sheets separately.
--answer-first
asks to reorder the pages of each copy to get the separate answer sheet first.
Wheretoprint
Several printing methods are currently defined:
• with "--methodeCUPS", auto-multiple-choiceimprime prints to a CUPS printer. One print job is sent
for each copy, allowing for example to use stapling. Use the following options with this method:
--imprimanteprinter
sets the CUPS printer name to print to.
--optionscups-options
gives CUPS options, in the opt1=value1,opt2=value2,... format.
• with "--methodefile", auto-multiple-choiceimprime outputs the answer sheets to files (one for each
copy).
--outputfilename
sets the filename for outputs. The '%e' sequence will be replaced by a 4-digits copy number. If
filename does not contain '%e', the string '-%e.pdf' will be added at its end.
• with "--methodecommand", auto-multiple-choiceimprime will use a provided command for each copy.
--print-commandcommand
gives the command to be used for printing. The command string will be split at each space
character (even when using quotes...). The sequence '%f' will be replaced by a PDF filename
(containing the copy to print), and '%e' will be replaced by the copy number.
Otheroptions
Other available options:
--extract-with command
gives the command to use to extract pages from the PDF subject. Currently, pdftk, gs and qpdf are
available. The default value is pdftk, but qpdf and then gs will be used if the pdftk command is not
installed.