I am currently using Arch linux. I am trying to print a pdf file for the command line, it is easier that way as I need to print several range of pages.
Just for testing I issue a command to print a text file:
And it prints ok. Now I want to print the pdf file:
lpr -P HP_LaserJet_2300_series -o page-ranges=80-81 -o media=a4 -o sides=two-sided-long-edge -o scaling=110 "Introductory and Intermediate Algebra - Aufmann 4th.pdf"
When I issue
lpq this is the result:
HP_LaserJet_2300_series is ready Rank Owner Job File(s) Total Size 1st alber 321 Introductory and Intermediate A 32868352 bytes
So the file is in the queue but is not printing and there are no processing jobs on the printer either.
I then access CUPS web interface. I look at state of the pending jobs and the following message appears:
stopped "Exception: /var/spool/cups/d00321-001 (file position 32580806): unknown token while reading object (PDF)"