Commit 02c0bce6 authored by Tandri Gauksson's avatar Tandri Gauksson

Refer tonew print.py instead of print.sh, and deleted old print.sh

parent a65a86fa
......@@ -88,19 +88,27 @@ The default printing settings (duplex printing, long side) already make sure tha
::
./print.sh [--printer name] /path/to/results
The argument ``--printer`` is optional. By default the printer in front of HG
J42 will be used. It will print two-pages up with long edge bindings, but no
stapling. You may define your own printer options in the environment variable
``EXAM_PRINT_OPTIONS``.
./print.py /path/to/results
This will print the pdfs in alphabetical order by last name.
Exceptions of the ordering are students that write their first
name where they should have given their last name,
and last names containing non-ascii characters.
By default the printer in front of HG J54 will be used.
It will print two-pages up with long edge bindings,
and each document stapled (if the selected printer has a stapling feature!).
Please configure print.py according to your needs through the variables
``LPR_OPTIONS`` and ``PRINTER``.
See the documentation of ``print.py`` for more information.
It is wise to first use the script on a small test batch,
i.e. by passing a ``/path/to/results`` that contains only a few pdfs.
- Hint: Use ``lpstat -p`` to get a list of available printers.
..
Manual procedure: workaround if wrapper scripts ``run.sh`` / ``print.sh`` don't work
Manual procedure: workaround if wrapper scripts ``run.sh`` / ``print.py`` don't work
------------------------------------------------------------------------------------
In case the wrapper scripts don't work, you can fallback to the manual procedure described here.
......@@ -189,4 +197,5 @@ Raoul Bourquin,
Filippo Leonardi,
Luc Grosheintz,
Simon Pintarelli,
Daniele Casati.
Daniele Casati,
Tandri Gauksson.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment