On 9/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Richard, I'm sorry it seems I've really wasted lots of your time here. However I don't think this is the only problem. I really hope there is not some other moronic user miconfig...
np. I missed it too for several messages. :-)
I'm still unable to print (EVEN WITH THAT CURSED URL FIXED).
I think the problem here is that my script is screwing things up. I actually had no idea what $0 would be in this case (thus the note that "this is just a guess" ;-)). It looks like when cups is calling smbspool, $0 is the name of the program, and not the URI of the device (see man smbspool to understand why I was uncertain here!). And I am changing DEVICE_URI to be whatever $0 was...which is wrong. So the fixed script should be ------ #!/bin/bash tmpfile=/tmp/smbspool.$$ echo $0:$1:$2:$3:$4:$5:$6:$7 > $tmpfile env >>$tmpfile /usr/bin/smbspool.bin $1 $2 $3 $4 $5 $6 >>$tmpfile ------ But actually at this point I think you can just move smbspool.bin back to smbspool, and things should work ok. Cheers, -Richard -- gentoo-user@gentoo.org mailing list