Page 1 of 1

new install

Posted: Sun Aug 17, 2008 12:59 am
by Fonkie
i have 2 network printers. one laserjet 2200 and one photosmart pro B9180.

Cups 1.3.8 is installed on an uptodate gentoo distribution.
TP-Daemon Version 2.02-1

The laserjet is installed in cups. the photosmart not.

when i start turboprint and click on ADD the program hangs. when i STOP cups. i can add the printer, but it's just in turboprint and i can't use it.

the last lines of the strace are:

send(4, "POST / HTTP/1.1\r\nContent-Length:"..., 134, 0) = 134
time(NULL) = 1218934667
time(NULL) = 1218934667
time(NULL) = 1218934667
time(NULL) = 1218934667
time(NULL) = 1218934667
send(4, "\1\1@\v\0\0\0\1\1G\0\22attributes-charset\0\5"..., 116, 0) = 116
poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, 1000) = 1
recv(4, "HTTP/1.1 100 Continue\r\n\r\n", 2048, 0) = 25
time(NULL) = 1218934667
time(NULL) = 1218934667

is there a way NOT to probe the cups printers? which obviously leads to the hanging?

Posted: Mon Aug 18, 2008 9:10 am
by zedonet
Hi Fonkie,

how long did you wait after pressing "+" in the Control Center of TurboPrint? Maybe one of the CUPS backends needs some more time to complete the printer search.
To find out if endless printer probing is the reason for your problem, you could temporarily move some or all CUPS backends from the directory /usr/lib/cups/backend (or lib64) to a different directory. For printing via network you will probably need the "socket" backend, for USB printing, "usb" or "tpu" (the TurboPrint USB-backend) is needed.

Posted: Tue Aug 26, 2008 12:30 am
by Fonkie
i did wait for minutes before adding and many more after :(

it's some http request that hangs.

can i tell turboprint to no scan for any printer?

i have no USB nor parallel attached.

Posted: Tue Aug 26, 2008 8:43 am
by zedonet
Printers are probed by Cups when TurboPrint opens a Cups connection. So the only way to stop printer probing is to remove the interface drivers for all interfaces that are not used. If you are connecting your printers via the "socket" protocol, you could move all other backends from the "/usr/lib/cups/backend" directory to a backup directory somewhere else.
The socket backend does not search for printers.
If your system still hangs then, there must be a different reason. What makes you think it´s some http request that hangs?