I have been trying to convert a color pdf to a grayscale pdf prior to printing to avoid the color printing costs. I am using Debian and ImageMagick commands:

convert -monochrome swp574.pdf output2.pdf

convert -colorspace GRAY swp574.pdf swp574GRAY.pdf

pdf2ps swp574.pdf output2.pdf

and I get this response on the terminal each time.

File has circular references in resource dictionaries.
**** File has circular references in resource dictionaries.

**** This file had errors that were repaired or ignored.
**** Please notify the author of the software that produced this
**** file that it does not conform to Adobe's published PDF
**** specification.

How can I get over this problem?

  • Please consult this - superuser.com/questions/104656/… – hkdtam May 13 '16 at 6:09
  • @hkdtam, i did and used those commands, but there is a problem with the pdf internals for the correctness of the Adobe pdf formatting – Vass May 13 '16 at 14:02
  • thanks for your feedback, did you mean the ghostscript solution in the link cause problems? – hkdtam May 13 '16 at 16:54
  • @hkdtam, those commands in the question did not work and neither did the gs commands work. Something in the pdf caused the problem. – Vass May 15 '16 at 8:08
  • 1
    It seems that you are dealing with some very special stuff here. If it is not a sensitive document you may try your luck at here – hkdtam May 15 '16 at 19:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.