vote up 0 vote down star

How can you call lpr in Python?

It is not in the sys -module which is surprising.

I aim to use the lpr as follows shown by pseudo-code

10*i for i in range(77):              
      lpr --pages(i,i+1) file.pdf
flag

migrated to stackoverflow.com by Diago Nov 26 at 15:35

This question is software development or programming related, and is a better fit for Stack Overflow.

Browse other questions tagged or ask your own question.