From: reader@newsguy.com
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: [OT] print to printer on winxp via cups samba smb
Date: Sun, 17 Sep 2006 06:44:16 -0500 [thread overview]
Message-ID: <87lkoiu38v.fsf@newsguy.com> (raw)
In-Reply-To: 7573e9640609162127y5ced05aq28933f209c84ed2a@mail.gmail.com
"Richard Fish" <bigfish@asmallpond.org> writes:
> On 9/16/06, reader@newsguy.com <reader@newsguy.com> 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.
Ok... and away we go... printing works now.
Richard what do you make of the fact that I cannot connect to cups
with the normal http://locahost:631?
I've seen a few posts here from others who have noticed it too.
http://localhost:631/admin
or
http://localhost:631/help
Will get a connection, but in the past a simple:
http://localhost:631 was enough.
That now gets a 404 Not Found
error_log has this:
D [17/Sep/2006:06:40:22 -0500] cupsdReadClient: 7 Browser asked for language "en-us.utf-8"...
D [17/Sep/2006:06:40:22 -0500] cupsdAuthorize: No authentication data provided.
D [17/Sep/2006:06:40:22 -0500] cupsdSendError: 7 code=404 (Not Found)
D [17/Sep/2006:06:40:23 -0500] cupsdCloseClient: 7
D [17/Sep/2006:06:40:23 -0500] cupsdAcceptClient: 7 from localhost:631 (IPv4)
D [17/Sep/2006:06:40:23 -0500] cupsdReadClient: 7 GET /cups.css HTTP/1.1
D [17/Sep/2006:06:40:23 -0500] cupsdReadClient: 7 Browser asked for language "en-us.utf-8"...
D [17/Sep/2006:06:40:23 -0500] cupsdAuthorize: No authentication data provided.
D [17/Sep/2006:06:40:23 -0500] cupsdSendError: 7 code=404 (Not Found)
D [17/Sep/2006:06:40:23 -0500] cupsdCloseClient: 7
D [17/Sep/2006:06:40:23 -0500] cupsdAcceptClient: 7 from localhost:631 (IPv4)
D [17/Sep/2006:06:40:23 -0500] cupsdReadClient: 7 GET /favicon.ico HTTP/1.1
D [17/Sep/2006:06:40:23 -0500] cupsdReadClient: 7 Browser asked for language "en-us.utf-8"...
D [17/Sep/2006:06:40:23 -0500] cupsdAuthorize: No authentication data provided.
D [17/Sep/2006:06:40:23 -0500] cupsdSendError: 7 code=404 (Not Found)
D [17/Sep/2006:06:40:23 -0500] cupsdCloseClient: 7
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2006-09-17 12:14 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-13 16:59 [gentoo-user] [OT] print to printer on winxp via cups samba smb reader
2006-09-13 20:04 ` Mick
2006-09-14 0:37 ` [gentoo-user] " reader
2006-09-13 20:18 ` [gentoo-user] " Richard Fish
2006-09-14 1:10 ` [gentoo-user] " reader
2006-09-14 1:55 ` Richard Fish
[not found] ` <87y7snqifr.fsf@newsguy.com>
2006-09-14 4:27 ` Richard Fish
[not found] ` <87ac52k3o1.fsf@newsguy.com>
2006-09-14 13:56 ` reader
2006-09-15 7:40 ` Richard Fish
2006-09-15 13:52 ` reader
2006-09-15 16:55 ` Richard Fish
2006-09-15 17:56 ` reader
2006-09-15 23:57 ` Richard Fish
2006-09-17 2:09 ` reader
2006-09-17 4:27 ` Richard Fish
2006-09-17 11:44 ` reader [this message]
2006-09-17 15:21 ` Richard Fish
2006-09-18 17:12 ` reader
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lkoiu38v.fsf@newsguy.com \
--to=reader@newsguy.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox