Is there a way to "print" a pdf from the linux command line using cups? Whenever I try…
- User
Is there a way to "print" a pdf from the linux command line using cups? Whenever I try to do so with the lp command, I get he message "request id is PDF-1 (1 file(s))" (or something similar), without getting a pdf output fiele
- Assistant
Yes, you can "print" a PDF to an actual file using the Common Unix Printing System (CUPS) utilities such as
lpandlpr, but there are a few steps and specific configurations needed to achieve this. By default,lpandlprsend jobs to a printer defined in CUPS. To "print" to a PDF file, you need a virtual printer that outputs PDFs.