<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - pdftops (checked 0.43.0 / 0.51.0) leads to unprintable ps for Lexmark E360d ("OFFENDING COMMAND: StartData")"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99564">99564</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>pdftops (checked 0.43.0 / 0.51.0) leads to unprintable ps for Lexmark E360d ("OFFENDING COMMAND: StartData")
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>poppler
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>utils
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>poppler-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mail@paul-neuwirth.nl
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=129176" name="attach_129176" title="pdf file">attachment 129176</a> <a href="attachment.cgi?id=129176&action=edit" title="pdf file">[details]</a></span>
pdf file

opensuse Leap 42.2
printing of textfiles stopped working since upgrade from cups 1.5 to cups
1.7.5.
traced down, poppler's pdftops causes the problem (old way gs pdf2ps succeeds).

Printer is a Lexmark e360d (old firmware AL.LB.E302'0 and also recent
AL.LB.E302'0)

attached files:
pdf (created from /usr/lib/cups/filter/texttopdf) including embedded fonts 
ps output (created by pdftops -level3)
ps output (created by pdf2ps -dLanguageLevel3 (uses gv))
ps output (created by pdftops (without -level3))
the results of sending to printer:
# pdftops -level3 foomatic-LPuwPL 
# cat foomatic-LPuwPL.ps | nc printserver1.swabian.net 9902
@PJL USTATUS DEVICE
CODE=10023
DISPLAY="Belegt"
ONLINE=TRUE
%%[ Error: ioerror; Offending Command: StartData]%%
@PJL USTATUS DEVICE
CODE=10024
DISPLAY="Wartet"
ONLINE=TRUE
@PJL USTATUS DEVICE
CODE=10023
DISPLAY="Belegt"
ONLINE=TRUE
@PJL USTATUS DEVICE
CODE=10023
DISPLAY="Belegt"
ONLINE=TRUE
@PJL USTATUS DEVICE
CODE=10024
DISPLAY="Wartet"
ONLINE=TRUE()(0)alpha:/var/spool/cups/tmp 

Printer output:
"ERROR: ioerror
OFFENDING COMMAND: StartData

STACK

0
(
  8 ¢ Q < 6 n [ £ y l æ O , œ C v O " !5 ! !
)
arraytype"


# pdf2ps -dLanguageLevel=3 foomatic-LPuwPL
# cat foomatic-LPuwPL.ps | nc printserver1.swabian.net 9902
@PJL USTATUS DEVICE
CODE=10023
DISPLAY="Belegt"
ONLINE=TRUE
@PJL USTATUS DEVICE
CODE=10024
DISPLAY="Wartet"
ONLINE=TRUE
@PJL USTATUS DEVICE
CODE=10023
DISPLAY="Belegt"
ONLINE=TRUE

this one succeeds to print
pdftops (without -level3) also succeeds.

printing other pdfs and e.g. LibreOffice works.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>