Hi! Okay, I think I know what you've got going on here.
Do you have your systems set to automagically share their printers over the network? If so, what is happening is that the linux boxes with no local printer are attempting to share the network printer back to the box hosting the printer. So essentially each computer is trying to share the network printer with all the other computers, which is why you have so many "ghost printers" showing up that still work to print to. Another way to look at it: Computer 1 is sharing its printer with computers 2 and 3. Computers 2 and 3 see the network printer. Computers 2 and 3 also try to share their printers, which just so happens to be the network printer, with the other computers. Since Computer 1 does not recognize either of these shared printers as actually being its own printer, it goes ahead and makes them available locally. Therefore, if you print to one of the "remote" printers from computer 1, the print job goes from computer 1 to computer 2 or 3, then back to computer 1 before it hits the printer. The only computer that should be running printer sharing is the one acting as the printer host, that is, the computer local to the printer. All the other computers *should not* have printer sharing turned on. I'm not quite sure where you change this setting at since I'm not using Mandrake 9, but it should clear up the problem of the local printer showing up as a remote printer repeatedly. Hope this helps! Jon 8^) ----- Where is the horse and the rider? Where is the horn that was blowing? They have passed like rain on the mountain, like wind in the meadow; The days have gone down in the West, behind the hills into shadow. How did it come to this? -- Theoden King, The Two Towers >>> [EMAIL PROTECTED] 01/10/03 01:51PM >>> Wondering one thing. If this is related to something I've noticed on my systems here. I've got a single printer and multiple linux boxes. So what happens is that box one a windows box has the printer local. Box 2 3 and 4 all do remote printing... So far so good.. Except each box has 3 printers 2 are the remote printers listed as remote cups printers, which are actually the other Linux boxes on the net and 1 is the real printer. No Matter what I do I cannot remove the remote cups printers (even though the one on the windows box is a remote samba print.) If I do somehow manage to remove them... it get "auto" restored later on. IF I don't specify the samba printer as the default all over the place I can have this same time problem. At the office it's all linux boxes and 1 has the printer 5 others do remote, and yes even the box that has the local printer refuses to release those remote printers from it's database. Again I have to make sure I connect a default all over the box. Funny part is ... I can print to any one of them...... just takes longer. James On Fri, 2003-01-10 at 06:48, et wrote: > hmmm, in hosts, is localhost defined? and in MCC > hardware, > printer,> cups > configuration, did you allow auto Cups Configuration? or does it have an IP > or name? maybe the easiest _answer_ would be to remove the current cups > printer and then "add new printer" but that sounds so mickysoft. > > > On Friday 10 January 2003 12:04 am, Pierre Fortin wrote: > > My local parallel attached printer takes over a minute to start printing > > jobs. Here's part of strace on xpp... my question is WHY should CUPS be > > trying to access my gateway to print locally. There is nothing in > > printerdrake that takes an IP address for a local printer. Even > > printerdrake takes a long time to get its info... what gives?? > > > > To get a more complete trace, I did: > > $ ps aux | grep xpp > > pfortin 29339 0.0 0.0 0 0 ? Z 23:27 0:00 [xpp > > <defunct>] > > pfortin 30031 2.5 0.5 5584 2788 ? S 23:50 0:00 xpp > > > > The defunct process was from the previous print job... > > send(5, "POST / HTTP/1.1\r\n", 17, 0) = 17 > > send(5, "Content-Length: 202\r\n", 21, 0) = 21 > > send(5, "Content-Type: application/ipp\r\n", 31, 0) = 31 > > send(5, "Host: localhost\r\n", 17, 0) = 17 > > send(5, "\r\n", 2, 0) = 2 > > time(NULL) = 1042174357 > > send(5, "\1\1\0\v\0\0\0\1", 8, 0) = 8 > > time(NULL) = 1042174357 > > send(5, "\1G\0\22attributes-charset\0\niso-8859"..., 34, 0) = 34 > > time(NULL) = 1042174357 > > send(5, "H\0\33attributes-natural-language\0\5"..., 37, 0) = 37 > > time(NULL) = 1042174357 > > send(5, "E\0\vprinter-uri\0\33ipp://localhost/"..., 43, 0) = 43 > > time(NULL) = 1042174357 > > send(5, "B\0\24requested-attributes\0\25printer"..., 79, 0) = 79 > > time(NULL) = 1042174357 > > send(5, "\3", 1, 0) = 1 > > recv(5, "HTTP/1.1 200 OK\r\nDate: Fri, 10 J"..., 2048, 0) = 2048 > > time(NULL) = 1042174357 > > [snip] > > time(NULL) = 1042174357 > > brk(0x80be000) = 0x80be000 > > time(NULL) = 1042174357 > > recv(5, "iptI\0\0\0\33application/vnd.cups-ras"..., 1714, 0) = 1714 > > brk(0x80bf000) = 0x80bf000 > > brk(0x80c0000) = 0x80c0000 > > time(NULL) = 1042174357 > > uname({sys="Linux", node="gypsy.pfortin.com", ...}) = 0 > > close(5) = 0 > > rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0 > > gettimeofday({1042174357, 791686}, NULL) = 0 > > time(NULL) = 1042174357 > > socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 5 > > fcntl64(5, F_SETFD, FD_CLOEXEC) = 0 > > setsockopt(5, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 > > setsockopt(5, SOL_TCP, TCP_NODELAY, [1], 4) = 0 > > connect(5, {sin_family=AF_INET, sin_port=htons(631), > > sin_addr=inet_addr("192.168.1.1")}}, 16 > > > > #####stalls here.... > > > > ) = -1 ETIMEDOUT (Connection timed out) > > > > #####well DUH!! The gateway is a LinkSys router -- no port 631 > > > > close(5) = 0 > > rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0 > > gettimeofday({1042174546, 789969}, NULL) = 0 > > socket(PF_UNIX, SOCK_STREAM, 0) = 5 > > connect(5, {sin_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = -1 > > ENOENT (No such file or directory) > > close(5) = 0 > > open("/etc/hosts", O_RDONLY) = 5 > > fcntl64(5, F_GETFD) = 0 > > fcntl64(5, F_SETFD, FD_CLOEXEC) = 0 > > fstat64(5, {st_mode=S_IFREG|0644, st_size=192, ...}) = 0 > > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) > > = 0x40014000 > > read(5, "192.168.1.1\t\tr41.pfortin.com r41"..., 4096) = 192 > > read(5, "", 4096) = 0 > > close(5) = 0 > > munmap(0x40014000, 4096) = 0 > > time(NULL) = 1042174546 > > socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 5 > > fcntl64(5, F_SETFD, FD_CLOEXEC) = 0 > > setsockopt(5, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 > > setsockopt(5, SOL_TCP, TCP_NODELAY, [1], 4) = 0 > > connect(5, {sin_family=AF_INET, sin_port=htons(631), > > sin_addr=inet_addr("127.0.0.1")}}, 16) = 0 > > send(5, "POST / HTTP/1.1\r\n", 17, 0) = 17 > > send(5, "Content-Length: 202\r\n", 21, 0) = 21 > > send(5, "Content-Type: application/ipp\r\n", 31, 0) = 31 > > send(5, "Host: localhost\r\n", 17, 0) = 17 > > send(5, "\r\n", 2, 0) = 2 > > time(NULL) = 1042174546 > > send(5, "\1\1\0\v\0\0\0\1", 8, 0) = 8 > > time(NULL) = 1042174546 > > send(5, "\1G\0\22attributes-charset\0\niso-8859"..., 34, 0) = 34 > > time(NULL) = 1042174546 > > send(5, "H\0\33attributes-natural-language\0\5"..., 37, 0) = 37 > > time(NULL) = 1042174546 > > send(5, "E\0\vprinter-uri\0\33ipp://localhost/"..., 43, 0) = 43 > > time(NULL) = 1042174546 > > send(5, "B\0\24requested-attributes\0\25printer"..., 79, 0) = 79 > > time(NULL) = 1042174546 > > send(5, "\3", 1, 0) = 1 > > recv(5, "HTTP/1.1 200 OK\r\nDate: Fri, 10 J"..., 2048, 0) = 2048 > > time(NULL) = 1042174546 > > [snip] > > time(NULL) = 1042174546 > > recv(5, "iptI\0\0\0\33application/vnd.cups-ras"..., 1714, 0) = 1714 > > time(NULL) = 1042174546 > > uname({sys="Linux", node="gypsy.pfortin.com", ...}) = 0 > > close(5) = 0 > > rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0 > > gettimeofday({1042174546, 797427}, NULL) = 0 > > time(NULL) = 1042174546 > > socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 5 > > fcntl64(5, F_SETFD, FD_CLOEXEC) = 0 > > setsockopt(5, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 > > setsockopt(5, SOL_TCP, TCP_NODELAY, [1], 4) = 0 > > connect(5, {sin_family=AF_INET, sin_port=htons(631), > > sin_addr=inet_addr("192.168.1.1")}}, 16 > > > > #####stalls here again... > > > > After timeout, printer starts printing... trace got scrolled too fast to > > capture; but it doesn't matter since the real question is WHY should CUPS > > go outside the box to print to a LOCAL printer?? > > > > Pierre (really tiring of all the problems I'm running into on 9.0 -- no, I > > don't complain about everything since it's been quicker to fix & continue) > > > > ______________________________________________________________________ > > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com