How can I tell the lpr command (CUPS) that my file is actually a PDF?
lpr file.pdf
won’t print anything.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Is this really the CUPS-based
lpr, or is it a remnant of another spooling system which was not removed before installing CUPS?Check it by running
ldd $(which lpr)and see if there is any reference to libcups.Also, the complete command should be:
For a correctly and completely installed CUPS you’d not need to tell it the file type you send to print. It will “auto-type” the input, and apply the right conversion filters to make it digestable by the target printer.