1 |
I haven't used cups for quite a while and haven't been paying |
2 |
attention to cups related posts here but a search on gmane indicates |
3 |
there isn't much going on. |
4 |
|
5 |
I'm setting up cups to print thru smb on a windows connected printer. |
6 |
Doing the usual http://localhost:631 (with cupsd running) fails |
7 |
completely with a 404. |
8 |
|
9 |
http://localhost:631/help gets a connection to the cups stuff but it |
10 |
looks very baren compared to how I remember it. No color at all bare |
11 |
black and while and all images are missing. |
12 |
|
13 |
The links are still there but in a very baren way. |
14 |
|
15 |
http://localhost:631/admin gets a root login and the tools appear to |
16 |
be there to setup a printer. |
17 |
|
18 |
So I do it to best of my memory including a device URI like: |
19 |
|
20 |
smb://user:passwd@host/share |
21 |
|
22 |
It isn't working and the log messages are'nt particularly helpfull. |
23 |
I've set loglevel to debug here is the tail of an attempt to print |
24 |
from user reader. The only thing in it that really appears to be an |
25 |
error is about authentication: `No authentication data provided.' |
26 |
|
27 |
But printers.conf contains this: |
28 |
DeviceURI smb://reader:xxxxxxxxx@chub/chub-print) |
29 |
|
30 |
Which contains authorization in the sense of a passwd. (x'ed out), |
31 |
|
32 |
After seeing how shabby the :631 pages look I'm wondering what is |
33 |
going on there. And if its effecting printing. But the last log line |
34 |
appears to be saying it was successful. |
35 |
|
36 |
No printing happens though, and yes the printer does work when used |
37 |
from the windows machine it is attached to. |
38 |
|
39 |
-rw-r--r-- 1 root nobody 5921 Sep 10 20:39 access_log |
40 |
-rw-r--r-- 1 root lp 74152 Sep 10 20:39 error_log |
41 |
D [10/Sep/2006:20:48:19 -0500] cupsdReadClient: 5 POST / HTTP/1.1 |
42 |
D [10/Sep/2006:20:48:19 -0500] cupsdAuthorize: No authentication data provided. |
43 |
D [10/Sep/2006:20:48:19 -0500] CUPS-Get-Default |
44 |
D [10/Sep/2006:20:48:19 -0500] cupsdProcessIPPRequest: 5 status_code=0 (successful-ok) |
45 |
D [10/Sep/2006:20:48:19 -0500] cupsdAcceptClient: 7 from localhost:631 (IPv4) |
46 |
D [10/Sep/2006:20:48:19 -0500] cupsdCloseClient: 5 |
47 |
D [10/Sep/2006:20:48:19 -0500] cupsdReadClient: 7 POST /printers/chub-print HTTP/1.1 |
48 |
D [10/Sep/2006:20:48:19 -0500] cupsdAuthorize: No authentication data provided. |
49 |
D [10/Sep/2006:20:48:19 -0500] Print-Job ipp://localhost/printers/chub-print |
50 |
D [10/Sep/2006:20:48:19 -0500] print_job: auto-typing file... |
51 |
D [10/Sep/2006:20:48:19 -0500] print_job: request file type is text/plain. |
52 |
D [10/Sep/2006:20:48:19 -0500] add_job: requesting-user-name="reader" |
53 |
I [10/Sep/2006:20:48:19 -0500] Adding start banner page "none" to job 8. |
54 |
D [10/Sep/2006:20:48:19 -0500] Discarding unused job-created event... |
55 |
I [10/Sep/2006:20:48:19 -0500] Adding end banner page "none" to job 8. |
56 |
I [10/Sep/2006:20:48:19 -0500] Job 8 queued on "chub-print" by "reader". |
57 |
D [10/Sep/2006:20:48:19 -0500] Job 8 hold_until = 0 |
58 |
D [10/Sep/2006:20:48:19 -0500] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok) |
59 |
D [10/Sep/2006:20:48:19 -0500] cupsdCloseClient: 7 |
60 |
|
61 |
|
62 |
-- |
63 |
gentoo-user@g.o mailing list |