4 Replies Latest reply on Jan 25, 2018 11:13 AM by srishtib8795206

    Crash while printing


      I have an illustration created originally in Illustrator CS5. The illustration is fairly simple: some coloured bars, some patterned, and some text. Here's a png version



      I import this into a LaTeX document using pdflatex. When I try to print the document, it crashes. I believe it also does on Windows machines. In fact, this is common for many files created in Illustrator and imported by pdflatex. In the past, I have been able to resolve this with a workaround: open the pdf produced by pdflatex with Acrobat and save it as a reduced size pdf. Then print the reduced pdf. Today, that doesn't work. Curiously the printer manages to print most of the image, though in the wrong position on the page, and with one label in yellow rather than black. The postscript error is:


      Error name:        /invalidrestore

      Offending Command: --restore--

      Operand Stack:





      Any suggestions how to resolve this (other than to save the illustration as a png) gratefully received.


      Here are a few more details:

      MacOS 12.12.6

      pdflatex --version

      pdfTeX 3.14159265-2.6-1.40.18 (TeX Live 2017)

      kpathsea version 6.2.3

      Copyright 2017 Han The Thanh (pdfTeX) et al.

      There is NO warranty.  Redistribution of this software is

      covered by the terms of both the pdfTeX copyright and

      the Lesser GNU General Public License.

      For more information about these matters, see the file

      named COPYING and the pdfTeX source.

      Primary author of pdfTeX: Han The Thanh (pdfTeX) et al.

      Compiled with libpng 1.6.29; using libpng 1.6.29

      Compiled with zlib 1.2.11; using zlib 1.2.11

      Compiled with xpdf version 3.04

        • 1. Re: Crash while printing
          Monika Gause Adobe Community Professional & MVP

          "In the past" means: with a different system? or with a different version of PDFlatex?


          It can't be a different version of Illustrator, because obviously you haven't changed your version for years.


          BTW: Illustrator CS5 is not fully compatible with Sierra. Apple software can't handle all PDF content. And we don't know what's inside the PDF there seems to be transparency?


          Would need to know a lot more detail, but I doubt that this can be solved in this forum.

          1 person found this helpful
          • 2. Re: Crash while printing
            richardj35000612 Level 1

            Thanks for your reply. As with all systems, they are continually upgraded.


            1. pdflatex is upgraded with every version of TexLive. So yes, I am using a newer version of pdflatex.

            2. And a newer version of MacOS.

            3. The illustration was created more than a year ago, originally I think with CS5. But opening it, tweaking and saving again with CC 2018 leads to the same problem.

            4. Yes, there is some transparency in the bars.


            Happy to provide as much detail as you want, in or outside this forum.

            • 3. Re: Crash while printing
              Monika Gause Adobe Community Professional & MVP

              So basically you have the same file as in 2015.

              It worked then.


              But now you have a different version of pdflatex and it doesn't work?

              To me this looks like there's something broken in pdflatex.

              1 person found this helpful
              • 4. Re: Crash while printing
                srishtib8795206 Adobe Employee

                Hi richardj,


                I would like to know if the steps suggested above worked for you, or the issue still persists.

                Kindly update the discussion if you need further assistance with it.