#732802 evince: print pdf "unexpected brace token" error

Package:
evince
Source:
evince
Description:
Document (PostScript, PDF) viewer
Submitter:
"Jeremiah Mahler"
Date:
2013-12-21 21:27:06 UTC
Severity:
normal
#732802#5
Date:
2013-12-21 21:16:19 UTC
From:
To:
Dear Maintainer,

When printing some PDF's using Evince CUPS fails with
an "unexpected brace token" error.

  /var/log/cups/error_log
  ...
  E [21/Dec/2013:12:20:06 -0800] [Job 423] Exception: /var/spool/cups/d00423-001 (file position 2592): unexpected brace token
  ...

Printing from other programs produce no such error.
Both 'lpr' and the PDF viewer inside Google Chrome work.

  $ lpr plot1.pdf

To generate a PDF that will produce an error in Evince the
following steps were performed.  Octave is first to generate
a plot file.

  $ cat plot1.m
  x = [1 2 3 4];
  y = x;
  stairs(x, y);
  print('plot1.eps', '-deps');
  $ octave plot1.m
  (generates plot1.eps)

Then it is converted from .eps to .pdf

  $ epspdf plot1.eps
  (generates plot1.pdf)

Then if it is opened and printed the
"unexpected brace token" error will result.