Offending command: gsave

A PostScript error ‘limitcheck’, offending command ‘gsave’ is typically caused by nested objects.

  • This can happen with nested EPS-files. When you embed an EPS file in an EPS-file (in an EPS-file in an EPS-file etc…) that is not a very good idea from an output point of view. It is much safer to use COPY and PASTE to move the content of one drawing to another.
  • In general nested xobject levels can also cause this problem, e.g. with PDF files generated by iText 2.0.2. The problem does not seem to occur with all versions of  iText so changing to a different version may be a solution.

Leave a Reply

Your email address will not be published. Required fields are marked *