Printer error "Can't write page 1 image"

Asked by ragarth

Hello,

I have a lexmark x2600 installed using the lexmark-inkjet-08 drivers. The open printing project rates these drivers as perfect, and in some applications it is. From the lexmark utility I can print a test page just fine, from openoffice I can print just fine, and from lpr I can print just fine. All other applications fail, including the test page from cups. If I try to print a document that failed to print in gwenview or kate using lpr, it prints just fine, however. The error message I get when a document fails is "Can't write page 1 image" in cups and the job stops.

Applications that fail: Gwenview, Kate, okular, gimp, cups test page
Applications that work: lpr, openoffice, lexmark utilities

This printer does not support JPL, I don't know if that can cause this issue. I also don't know where to pull the proper logs for troubleshooting this issue.

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
ragarth (ragarth) said :
#1

Found /var/logs/cups/error_logs

In it I find this error message for failed jobs:

E [20/Jun/2009:14:16:11 -0400] [Job 62] Can't write page 1 image
E [20/Jun/2009:14:16:11 -0400] PID 8468 (/usr/local/lexmark/lxk08/bin/printdriver) stopped with status 1!
E [20/Jun/2009:14:16:11 -0400] PID 8467 (/usr/lib/cups/filter/pdftoraster) stopped with status 1!
E [20/Jun/2009:14:16:11 -0400] [Job 62] Job stopped due to filter errors.

The ones that succeed, obviously they're not in this log. :-)

Revision history for this message
ragarth (ragarth) said :
#2

More error log fun from dmesg:

[ 3892.154029] type=1502 audit(1245521765.306:1522): operation="inode_permission" requested_mask="::x" denied_mask="::x" fsuid=7 name="/usr/local/lexmark/lxk08/bin/printdriver" pid=8468 profile="/usr/sbin/cupsd"
[ 3892.156159] type=1504 audit(1245521765.310:1523): operation="exec" info="set profile" pid=8468 profile="null-complain-profile"
[ 3892.156185] type=1502 audit(1245521765.310:1524): operation="file_permission" requested_mask="::r" denied_mask="::r" fsuid=7 name="/usr/local/lexmark/lxk08/bin/printdriver" pid=8468 profile="null-complain-profile"
[ 3892.157754] type=1502 audit(1245521765.310:1525): operation="file_permission" requested_mask="::r" denied_mask="::r" fsuid=7 name="/usr/local/lexmark/lxk08/bin/printdriver" pid=8468 profile="null-complain-profile"
[ 3892.158415] type=1502 audit(1245521765.310:1526): operation="file_permission" requested_mask="::r" denied_mask="::r" fsuid=7 name="/usr/local/lexmark/lxk08/bin/printdriver" pid=8468 profile="null-complain-profile"
[ 3892.158934] type=1502 audit(1245521765.310:1527): operation="inode_permission" requested_mask="::x" denied_mask="::x" fsuid=7 name="/lib/ld-2.8.90.so" pid=8468 profile="null-complain-profile"
[ 3892.158952] type=1502 audit(1245521765.310:1528): operation="inode_permission" requested_mask="::r" denied_mask="::r" fsuid=7 name="/lib/ld-2.8.90.so" pid=8468 profile="null-complain-profile"
[ 3892.164143] type=1502 audit(1245521765.318:1529): operation="inode_permission" requested_mask="::r" denied_mask="::r" fsuid=7 name="/usr/local/lexmark/lxk08/bin/printdriver" pid=8468 profile="null-complain-profile"
[ 3892.168237] type=1502 audit(1245521765.322:1530): operation="file_mmap" requested_mask="::mr" denied_mask="::mr" fsuid=7 name="/usr/local/lexmark/lxk08/bin/printdriver" pid=8468 profile="null-complain-profile"
[11674.259614] __ratelimit: 786 callbacks suppressed

My linux fu is not that strong. the cups/error_logs makes me wonder if all files (or all files not from openoffice, lexmark utilities, and lpr) are being treated as pdf's. dmesg makes me wonder if the lexmark driver is missing permissions it needs.

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.