Comment 13 for bug 513690

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

First, your printer is not only a PostScript printer but also a PDF printer, therefore it prints foo-in.ps unfiltered, which is a PDF file.

Second, if you print unfiltered with "lp -o raw ..." answers of the printer get somewhere buried in the error_log, if you send files to the printer with "nc", you see the answers of the printer in your terminal window.

According to the printer's answer it seems that the Xerox printer does not like the "flushfile" command (in the PostScript code inserted by foomatic-rip for page logging), whereas my HP printer and also gv or evince (both backed by Ghostscript) have no problems with this command. This makes the Xerox printer abort the job on the first "flushfile" command which is exactly when the first page is completed.

Please do the following:

Edit foo-out.ps, preceedinmg the line which contains "flushfile" with a "%" character. This deactivates this line. Send the resulting file to printer unfiltered. Does the file print completely now?