Print many pdf files quickly without opening them

Hi,
to print many pdf files without first opening them with the PDF wiewer, in a terminal type “lp” followed by a space, then select all the pdfs that you want to print and drag them to the terminal, enter.

Instead with
lpstat -p -d
You can see the printers installed, configured and available on the system, and also the default printer.

Lp is contained in the CUPS package

It also works with Jpeg.

2 Likes

To print all the pdfs in the current folder (open in the terminal)
lp *.pdf

I changed it in
lp * .pdf * .PDF
So it works whether the extension is uppercase or lowercase

On this site I found a script that allows you to print odd and even pages, I did not personally test it:
http://blog.marionline.it/linux/come-stampare-tanti-file-velocemente-bash/
(translate with https://translate.google.it/?hl=it)

1 Like