Bugzilla – Bug 116324
Evince does not print
Last modified: 2005-10-11 12:15:39 UTC
After giving the command to print, nothing happens. There is nothing sent to the printer queue. strace gives the following information open("/tmp/evince_print.ps.nScJgB", O_RDONLY) = 19 send(16, "POST /printers/printer HTTP/1.1\r"..., 33, 0) = 33 send(16, "Content-Length: 60927\r\n", 23, 0) = 23 send(16, "Content-Type: application/ipp\r\n", 31, 0) = 31 send(16, "Host: localhost\r\n", 17, 0) = 17 send(16, "\r\n", 2, 0) = 2 time(NULL) = 1126355056 send(16, "\1\1\0\2\0\0\0\1", 8, 0) = 8 time(NULL) = 1126355056 send(16, "\1G\0\22attributes-charset\0\5utf-8", 29, 0) = 29 time(NULL) = 1126355056 send(16, "H\0\33attributes-natural-language\0\2"..., 34, 0) = 34 time(NULL) = 1126355056 send(16, "E\0\vprinter-uri\0$ipp://localhost:"..., 52, 0) = 52 time(NULL) = 1126355056 send(16, "B\0\24requesting-user-name\0\6pierre", 31, 0) = 31 time(NULL) = 1126355056 send(16, "B\0\10job-name\0\0", 13, 0) = 13 time(NULL) = 1126355056 send(16, "I\0\17document-format\0\30application/"..., 44, 0) = 44 time(NULL) = 1126355056 send(16, "\2B\0\tInputSlot\0\10Standard", 23, 0) = 23 time(NULL) = 1126355056 send(16, "B\0\16job-hold-until\0\7no-hold", 26, 0) = 26 time(NULL) = 1126355056 send(16, "\3", 1, 0) = 1 fstat64(19, {st_mode=S_IFREG|0600, st_size=60666, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x42 917000 _llseek(19, 0, [0], SEEK_SET) = 0 read(19, "%!PS-Adobe-3.0\n%%Creator: xpdf/p"..., 32768) = 32768 getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0 select(17, [16], NULL, NULL, {0, 0}) = 0 (Timeout) time(NULL) = 1126355056 send(16, "%!PS-Adobe-3.0\n%%Creator: xpdf/p"..., 32768, 0) = 32768 read(19, "\n(\\026) 5,316 Tj\n149,8 424,5 Td\n"..., 32768) = 27898 read(19, "", 4096) = 0 select(17, [16], NULL, NULL, {0, 0}) = 0 (Timeout) time(NULL) = 1126355056 send(16, "\n(\\026) 5,316 Tj\n149,8 424,5 Td\n"..., 27898, 0) = 27898 read(19, "", 32768) = 0 recv(16, "HTTP/1.1 200 OK\r\nDate: Sat, 10 S"..., 2048, 0) = 396 time(NULL) = 1126355056 time(NULL) = 1126355056 time(NULL) = 1126355056 time(NULL) = 1126355056 time(NULL) = 1126355056 time(NULL) = 1126355056 time(NULL) = 1126355056 time(NULL) = 1126355056 time(NULL) = 1126355056 close(19) = 0 munmap(0x42917000, 4096) = 0 time(NULL) = 1126355056 unlink("/tmp/evince_print.ps.nScJgB") = 0 ioctl(3, FIONREAD, [128]) = 0 read(3, "\n\2\372\'\3\0\300\2\0\336\302\10x\271\255\277/c\r\10\0"..., 32) = 32 gettimeofday({1126355056, 276421}, NULL) = 0 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN, revents=POLLIN}, {fd=8, event s=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI }, {fd=13, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}], 7, 0) = 1 ioctl(3, FIONREAD, [96]) = 0 read(3, "\t\0\372\'\4\0\300\2\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\320"..., 32) = 32 gettimeofday({1126355056, 276653}, NULL) = 0 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN, revents=POLLIN}, {fd=8, event s=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI }, {fd=13, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}], 7, 0) = 1 ioctl(3, FIONREAD, [64]) = 0 read(3, "\1\2\373\'\0\0\0\0\4\0\300\2\4\0\0\0\0\0\0\0\234t\200\0"..., 32) = 32 ioctl(3, FIONREAD, [32]) = 0 read(3, "\1\2\375\'\0\0\0\0\4\0\300\2\4\0\0\0\0\0\0\0\234t\200\0"..., 32) = 32 gettimeofday({1126355056, 276905}, NULL) = 0 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI }, {fd=11, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=13, event s=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}], 7, 2480) = 0 gettimeofday({1126355058, 760733}, NULL) = 0 open("/etc/cups/lpoptions", O_RDONLY) = 19 fstat64(19, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x42 917000 read(19, "", 4096) = 0 close(19) = 0 munmap(0x42917000, 4096) = 0 open("/home/pierre/.lpoptions", O_RDONLY) = 19 fstat64(19, {st_mode=S_IFREG|0644, st_size=47, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x42 917000 read(19, "Default Stylus-C64 PageSize=A4 M"..., 4096) = 47 read(19, "", 4096) = 0 close(19) = 0 munmap(0x42917000, 4096) = 0 access("/usr/share/locale/nl_NL/cups_nl_NL", F_OK) = -1 ENOENT (No such file or directory) access("/usr/share/locale/nl/cups_nl", F_OK) = -1 ENOENT (No such file or direct ory) clone(child_stack=0x432af4c4, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND| CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID , parent_tidptr=0x432afbf8, {entry_number:6, base_addr:0x432afbb0, limit:1048575 , seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0 , useable:1}, child_tidptr=0x432afbf8) = 22191 futex(0x831ad3c, FUTEX_WAIT, 1, NULL) = 0 futex(0x831ad38, FUTEX_WAIT, 2, NULL) = 0 futex(0x831ad38, FUTEX_WAKE, 1) = 0 futex(0x8348370, FUTEX_WAIT, 2, NULL) = 0 futex(0x8348370, FUTEX_WAKE, 1) = 0 ioctl(3, FIONREAD, [64]) = 0 read(3, "n\2@(u\1\333\0\1\24\4\0\20\0\0\0\0\0\0\24\24\24\24\24\0"..., 64) = 64 gettimeofday({1126355063, 898106}, NULL) = 0 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI }, {fd=11, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=13, event s=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}], 7, 0) = 0 write(3, "\223\4\2\0\0\1\300\2", 8) = 8 read(3, 0xbf9acdcc, 32) = -1 EAGAIN (Resource temporarily unavai lable) select(4, [3], NULL, NULL, NULL) = 1 (in [3]) read(3, "n\2@(\316\1\333\0\1\24\4\0\20\0\0\0\0\0\0\24\24\24\24\24"..., 32) = 32 read(3, 0xbf9acdcc, 32) = -1 EAGAIN (Resource temporarily unavai lable) i hope this strace information helps, otherwise just give me another way to debug.
after searching further: It seems to be related to pdf and postscript files, neither the epson c64 or oce6161 (pcl5 mode) is printing this files.. If i print to file from evince, i am also not able to print this file from the commandline. If i do the same from another application e.g. mozilla, i can print the file from commandline.
the problem doesn't exist any longer in 10 final