Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages


home | help
AMC-IMPRIME(1)		     Auto Multiple Choice		AMC-IMPRIME(1)

       AMC-imprime - prints AMC	multiple choice	answer sheets to be
       distributed to the students

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

       The command prints selected copies from a	AMC multiple
       choice answer sheet.

   What	to print
       The following arguments describe	what to	print:

       --sujet subject.pdf
	   sets	the subject file (prepared by AMC-prepare(1)).

       --fich-nums numbers-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.

       --data data-dir
	   gives the directory where data files	are (see for example AMC-
	   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.

	   asks	to print separate answer sheets	separately.

	   asks	to reorder the pages of	each copy to get the separate answer
	   sheet first.

   Where to print
       Several printing	methods	are currently defined:

       o   with	"--methode CUPS", 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:

	   --imprimante	printer
	       sets the	CUPS printer name to print to.

	   --options cups-options
	       gives CUPS options, in the opt1=value1,opt2=value2,...  format.

       o   with	"--methode file", outputs the answer sheets to
	   files (one for each copy).

	   --output filename
	       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.

       o   with	"--methode command", will use a provided
	   command for each copy.

	   --print-command command
	       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.

   Other options
       Other available options:

       --extract-with command
	   gives the command to	use to extract pages from the PDF subject.
	   Currently only pdftk	and gs are available. The default value	is
	   pdftk, but gs will be used if the pdftk command is not installed.

       Alexis Bienven"ue	<>
	   Main	author

       Anirvan Sarkar
	   Author and Editor

       Hiroto Kagotani

       Fr'ed'eric	Br'eal
	   Author and Editor

       Jean B'erard
	   Translation from French

       Georges Khaznadar
	   Translation from French

       Copyright (C) 2008-2016 Alexis Bienvenue

       This document can be used according to the terms	of the GNU General
       Public License, version 2 or later.

Auto Multiple Choice 1.3.0	  2016-03-16			AMC-IMPRIME(1)


Want to link to this manual page? Use this URL:

home | help