new install

Questions on Installation
Post Reply
Fonkie
Posts: 2
Joined: Sun Aug 17, 2008 12:53 am

new install

Post 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?
zedonet
Site Admin
Posts: 2156
Joined: Fri Oct 06, 2006 8:02 am

Post 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.
Fonkie
Posts: 2
Joined: Sun Aug 17, 2008 12:53 am

Post 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.
zedonet
Site Admin
Posts: 2156
Joined: Fri Oct 06, 2006 8:02 am

Post 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?
Post Reply