1.3.6 hangs in lpd backend

Rene Hogendoorn rene.hogendoorn at rmer.nl
Wed Apr 9 14:50:45 PDT 2008


The printer (Canon PIXMA IP4000) is connected via a small sweex printserver through lpd://ippserver/lpt1
Until 1.3.6 this worked, although more slowly than when the printer is connected via USB. This is probably due to the limited available memory in the server (< 2M).
The printer does feed the paper, but does not print anything. The status light indicates that it is receiving/waiting for data.
If the printer is connected via USB, it prints correctly (I used the testpage).

strace -p attached to the lpd process gives

write(2, "DEBUG: Control file is:\nHmordor."..., 112) = 112
write(2, "DEBUG: lpd_command 02 88 cfA812m"..., 46) = 46
write(2, "DEBUG: Sending command string (2"..., 44) = 44
sendto(7, "\00288 cfA812mordor.rmer.nl\n", 25, 0, NULL, 0) = 25
write(2, "DEBUG: Reading command status..."..., 33) = 33
alarm(1)                                = 0
recvfrom(7, "\0", 1, 0, NULL, NULL)     = 1
alarm(0)                                = 1
write(2, "DEBUG: lpd_command returning 0\n", 31) = 31
write(2, "INFO: Sending control file (88 b"..., 38) = 38
sendto(7, "Hmordor.rmer.nl\nProot\nJTest Page"..., 89, 0, NULL, 0) = 89
alarm(1)                                = 0
read(7, "\0", 1)                        = 1
alarm(0)                                = 1
write(2, "INFO: Control file sent successf"..., 37) = 37
write(2, "DEBUG: lpd_command 03 1497741 df"..., 51) = 51
write(2, "DEBUG: Sending command string (3"..., 44) = 44
sendto(7, "\0031497741 dfA812mordor.rmer.nl\n", 30, 0, NULL, 0) = 30
write(2, "DEBUG: Reading command status..."..., 33) = 33
alarm(1)                                = 0
recvfrom(7, "\0", 1, 0, NULL, NULL)     = 1
alarm(0)                                = 1
write(2, "DEBUG: lpd_command returning 0\n", 31) = 31
write(2, "INFO: Sending data file (1497741"..., 40) = 40
lseek(6, 0, SEEK_SET)                   = 0
read(6, "\33[K\2\0\0\37BJLSTART\nControlMode=Comm"..., 32768) = 32768
write(2, "INFO: Spooling LPR job, 0% compl"..., 39) = 39
sendto(7, "\33[K\2\0\0\37BJLSTART\nControlMode=Comm"..., 32768, 0, NULL, 0) = 32768
read(6, "\377\0\376\r\33(e\2\0\0\1\33(A\313\0K\4\377\377\200\0x"..., 32768) = 32768
write(2, "INFO: Spooling LPR job, 2% compl"..., 39) = 39
sendto(7, "\377\0\376\r\33(e\2\0\0\1\33(A\313\0K\4\377\377\200\0x"..., 32768, 0, NULL, 0


and stays like that.




More information about the cups-devel mailing list