If I do
lp -o sides=two-sided-long-edge -n 3 -d printer8 test.pdf
then it prints test.pdf
3 times in duplex, but it first prints all the pages 1's (with page 2 on the back), then all the page 3's (with page 4 on the back) and so on.
This is annoying, as I then have to manually assemble the 3 documents afterwards.
I can solve it by
for f in $(seq 3); do
lp -o sides=two-sided-long-edge -d printer8 test.pdf
done
but that doesn't seam like a good solution.
Question
Is it possible to have lp
print one document to the end?